16 Dec, 2011
1 commit
01 Dec, 2011
1 commit
-
Since 193ab2a6070039e7ee2b9b9bebea754a7c52fd1b, various AT91 boards don't
register at91_udc anymore due to depending on a now non-existing symbol.
Fix the symbol name.Signed-off-by: Anders Darander
Signed-off-by: Nicolas Ferre
Cc: stable
29 Nov, 2011
2 commits
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
28 Nov, 2011
4 commits
-
we will select now the DBGU used by the soc at Kconfig level
For the DEBUG_LL and early_printk this will allow to select which DBGU to use
this will also allow to select them when multiple SOC are enabledSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre -
switch the watchdog drivers to resource and pass it via platform_device
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre
Signed-off-by: Wim Van Sebroeck -
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre -
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre
22 Nov, 2011
1 commit
-
Both at91 and avr32 defines its own platform data structure for
the macb driver and both share common structures though at91
includes a currently unused phy_irq_pin. Create a common
macb_platform_data for macb that both at91 and avr32 can use. In
future we can use this to support other architectures that use the
same IP block with the macb driver.v2: rename eth_platform_data to macb_platform_data and allow at91_ether
to share the platform data with macb.Signed-off-by: Jamie Iles
Acked-by: Nicolas Ferre
Tested-by: Jean-Christophe PLAGNIOL-VILLARD
09 Nov, 2011
1 commit
-
In commit fb149f9e28354 we introduce ioremap support for static map_io, we do
not need this register entry anymore.Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Nicolas Ferre
02 Nov, 2011
1 commit
-
* 'next/devel' of git://git.linaro.org/people/arnd/arm-soc: (50 commits)
ARM: tegra: update defconfig
arm/tegra: Harmony: Configure PMC for low-level interrupts
arm/tegra: device tree support for ventana board
arm/tegra: add support for ventana pinmuxing
arm/tegra: prepare Seaboard pinmux code for derived boards
arm/tegra: pinmux: ioremap registers
gpio/tegra: Convert to a platform device
arm/tegra: Convert pinmux driver to a platform device
arm/dt: Tegra: Add pinmux node to tegra20.dtsi
arm/tegra: Prep boards for gpio/pinmux conversion to pdevs
ARM: mx5: fix clock usage for suspend
ARM i.MX entry-macro.S: remove now unused code
ARM i.MX boards: use CONFIG_MULTI_IRQ_HANDLER
ARM i.MX tzic: add handle_irq function
ARM i.MX avic: add handle_irq function
ARM: mx25: Add the missing IIM base definition
ARM i.MX avic: convert to use generic irq chip
mx31moboard: Add poweroff support
ARM: mach-qong: Add watchdog support
ARM: davinci: AM18x: Add wl1271/wlan support
...Fix up conflicts in:
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-mx5/devices-imx53.h
arch/arm/plat-mxc/include/mach/memory.h
01 Nov, 2011
1 commit
-
Conflicts:
arch/arm/mach-mxs/include/mach/gpio.h
arch/arm/plat-mxc/include/mach/gpio.hSigned-off-by: Arnd Bergmann
29 Oct, 2011
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (83 commits)
mmc: fix compile error when CONFIG_BLOCK is not enabled
mmc: core: Cleanup eMMC4.5 conditionals
mmc: omap_hsmmc: if multiblock reads are broken, disable them
mmc: core: add workaround for controllers with broken multiblock reads
mmc: core: Prevent too long response times for suspend
mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00
mmc: sd: Handle SD3.0 cards not supporting UHS-I bus speed mode
mmc: core: support HPI send command
mmc: core: Add cache control for eMMC4.5 device
mmc: core: Modify the timeout value for writing power class
mmc: core: new discard feature support at eMMC v4.5
mmc: core: mmc sanitize feature support for v4.5
mmc: dw_mmc: modify DATA register offset
mmc: sdhci-pci: add flag for devices that can support runtime PM
mmc: omap_hsmmc: ensure pbias configuration is always done
mmc: core: Add Power Off Notify Feature eMMC 4.5
mmc: sdhci-s3c: fix potential NULL dereference
mmc: replace printk with appropriate display macro
mmc: core: Add default timeout value for CMD6
mmc: sdhci-pci: add runtime pm support
...
27 Oct, 2011
1 commit
-
Homogenize namespace to atmci.
Signed-off-by: Ludovic Desroches
Signed-off-by: Nicolas Ferre
Signed-off-by: Chris Ball
11 Sep, 2011
1 commit
-
As a new overcurrent_pin[] array has been added to the at91_usbh_data
structure, those pins must be muxed to work properly. This commit
implements this muxing for all AT91 SoCs that support the AT91 OHCI.Signed-off-by: Thomas Petazzoni
[nicolas.ferre@atmel.com: added i variable declaration for the loop]
Signed-off-by: Nicolas Ferre
08 Aug, 2011
1 commit
-
Convert arch/arm includes of mach/gpio.h and asm/gpio.h to linux/gpio.h
before we start consolidating the individual platform implementations
of the gpio header files.Signed-off-by: Russell King
25 Jun, 2011
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
25 May, 2011
2 commits
-
we do not change the clock naming convention so does not need to switch
the AVR32 yetSigned-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Nicolas Ferre
Cc: Patrice Vilchez -
specify the port num via platform_data this will allow to match the clock
with the plaform_dev staticalySigned-off-by: Jean-Christophe PLAGNIOL-VILLARD
Acked-by: Alan Cox
Cc: Nicolas Ferre
Cc: Patrice Vilchez
Cc: Hans-Christian Egtvedt
Cc: Greg Kroah-Hartman
23 Sep, 2009
1 commit
-
Created a modified version of the at91sam9g20 evaluation kit platform
(board-sam9g20ek-2slot-mmc.c) and device support to make use of the
updated atmel-mci driver.As the use of two slots modify GPIO pin allocation, we create another
board file.This requires getting the most updated arch/arm/tools/mach-types from
http://www.arm.linux.org.uk/developer/machines/download.php to have the machine
type for the at91sam9g20ek-2slot-mmc board.[nicolas.ferre@atmel.com: printk, slot_count modification in at91sam9260_devices.c file]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Rob Emanuele
Signed-off-by: Nicolas Ferre
Cc: Haavard Skinnemoen
Cc: Andrew Victor
Cc: Russell King
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Aug, 2009
1 commit
-
This patch adds platform data for CF/IDE support
and SMC init code for AT91SAM9260 SoC.Tested-by: Sergey Matyukevich
Signed-off-by: Sergey Matyukevich
Acked-by: Andrew Victor
Signed-off-by: Russell King
15 Feb, 2009
1 commit
-
The recently merged AT91SAM9 watchdog driver uses the
AT91SAM9X_WATCHDOG config variable, whereas the original version of
the driver (and the platform support code) used AT91SAM9_WATCHDOG.
This causes the watchdog platform_device to never be registered, and
therefore the driver not to be initialized.This patch:
- updates the platform support code to use AT91SAM9X_WATCHDOG.
- includes to fix compile error (same fix as was applied
to at91rm9200_wdt.c)
- fixes comment regarding watchdog clock-rates in at91rm9200.Signed-off-by: Andrew Victor
Signed-off-by: Russell King
02 Dec, 2008
1 commit
-
In at91_add_device_nand(), do not configure the Static Memory
controller with specific timing values.
The *_devices.c files are board independent, and the SMC timing values
are specific to the NAND devices that are installed on the board.
The board-specific files are now responsible for configuring the
Static Memory controller (if the don't want to leave it up to a
bootloader).Signed-off-by: Andrew Victor
Signed-off-by: Russell King
07 Aug, 2008
1 commit
-
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King
01 Aug, 2008
1 commit
-
Structs called at91_nand_data where renamed to atmel_nand_data
and configs called *MTD_NAND_AT91* where renamed to
*MTD_NAND_ATMEL*. This was unfortunately not done consistently,
causing NAND chips not being initialised on several ARM boards.I am aware that the author of the original change did not rename
MTD_NAND_AT91_BUSWIDTH to MTD_NAND_ATMEL_BUSWIDTH, for example.
All *MTD_NAND_AT91* where renamed to *MTD_NAND_ATMEL* in order
to keep naming consistency.This patch was only tested on a MACH_SAM9_L9260, as this is the
only ARM board I have to my disposal.Before this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
105
$ git-ls-files |xargs grep at91_nand |wc -l
4
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
8
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
47After this patch:
$ git-ls-files |xargs grep atmel_nand |wc -l
109
$ git-ls-files |xargs grep at91_nand |wc -l
0
$ git-ls-files |xargs grep MTD_NAND_ATMEL |wc -l
55
$ git-ls-files |xargs grep MTD_NAND_AT91 |wc -l
0Signed-off-by: Pieter du Preez
Signed-off-by: David Woodhouse
25 Jul, 2008
1 commit
10 Jul, 2008
2 commits
-
Support for the at91sam9g20 : Atmel 400Mhz ARM 926ej-s SOC.
AT91sam9g20 is an evolution of the at91sam9260 with a faster clock
speed.
We created a new board for this device but based the chip support
directly on 9260 files with little updates.
Here is the chip page on Atmel wabsite:
http://atmel.com/dyn/products/product_card.asp?part_id=4337Signed-off-by: Sedji Gaouaou
Signed-off-by: Justin Waters
Acked-by: Andrew Victor
Signed-off-by: Russell King -
New timings are based on application note
"NAND Flash Support on AT91SAM9 Microcontrollers" available at
http://atmel.com/dyn/resources/prod_documents/doc6255.pdf).Signed-off-by: Patrice Vilchez
Acked-by: Andrew Victor
Signed-off-by: Andrew Morton
Signed-off-by: Russell King
07 Jun, 2008
1 commit
-
This is basically s/at91_nand/atmel_nand/g with some manual inspection.
Signed-off-by: Håvard Skinnemoen
Signed-off-by: David Woodhouse
17 Apr, 2008
1 commit
-
All the SAM9 boards supported by mainline and the AT91 patches have
been converted to the new-style UART initialization. Therefore drop
support for the old at91_init_serial() interface for SAM9.at91_uarts[] array can also be marked as __initdata.
The warning that no serial-console is defined moved from
at91_set_serial_console() to at91_add_device_serial() since the whole
point is the board-specific file is not calling
at91_set_serial_console().Signed-off-by: Andrew Victor
Signed-off-by: Russell King
04 Apr, 2008
4 commits
-
Register platform_devices for the Timer/Counter Block peripherals
found on the AT91RM9200, SAM9 & CAP9 processors.Original patch from David Brownell.
Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
The RTT-as-RTC driver will search for the user-specified RTT
peripheral via ID number (0 .. 1).
Therefore if the processor only contains a single RTT peripheral, we
need to set its platform_device.id to "0" instead of "-1".
Also add the missing platform_device resource for the CAP9 processor.Bug reported by Sedji Gaouaou.
Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
On AT91 processors that include an ECC controller, pass its base
address to the NAND driver via platform_device resources.Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
The AT91CAP9 processor includes the same Static Memory Controller
(SMC) peripheral as the SAM9 processors, but replaces the SDRAM
Controller with a DDR/SDR Controller (DDRSDRC).This patch splits the existing
include/asm-arm/arch-at91/at91sam926x_mc.h into at91sam9_sdramc.h and
at91sam9_smc.h.
It also adds an at91cap9_ddrsdr.h for the DDRSDRC controller.Signed-off-by: Andrew Victor
Signed-off-by: Russell King
26 Jan, 2008
6 commits
-
Move the LED initialization code out of the various *_devices.c files,
and into leds.c.
Also add support for NEW_LEDs.Patch from David Brownell.
Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
Modify the UART initialization to allow the board-initialization code
to specify which pins are connected, and which pins should therefore
be initialized.The current at91_init_serial() will continue to work as-is, but is
marked as "deprecated" and will be removed once the board-specific
files has been updated to use the new interface.As in the AVR32 code, we assume that the TX and RX pins will always be
initialized.Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
Map the complete memory region (SZ_256M) as is done on the other AT91
processors.The SMC_SMARTMEDIA bit should be set in the EBI controller to enable
the hardware NAND logic.
(Patch from Sascha Erlacher)Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
Core support of the Atmel SSC library for all Atmel AT91 processors.
Based on David Brownell's initial patch for the AT91RM9200.
Signed-off-by: Andrew Victor
Acked-by: David Brownell
Signed-off-by: Russell King -
Replace hard-coded DMA mask (0xffffffff) with DMA_BIT_MASK(32) as
defined in dma-mapping.h.
Set "dma_mask" field for the UART platform_devices.Signed-off-by: Andrew Victor
Signed-off-by: Russell King -
Add platform_device and initialization for the RTT (Real Time Timer)
and WDT (Watchdog) integrated in the Atmel AT91SAM9 processors.For SAM9263, register both RTT peripherals.
[From: David Brownell ]Provide platform_resources for RTT peripherals
[From: David Brownell ]Add support for RTC peripheral on AT91SAM9RL (same RTC peripherals as
AT91RM9200)
[From: David Brownell ]Signed-off-by: Andrew Victor
Signed-off-by: Russell King