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
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
28 Nov, 2011
3 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
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
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
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
11 Jul, 2011
1 commit
-
Sync with Linus' tree to be able to apply pending patches that
are based on newer code already present upstream.
25 Jun, 2011
1 commit
-
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
10 Jun, 2011
1 commit
-
Several fixes as well where the +1 was missing.
Done via coccinelle scripts like:
@@
struct resource *ptr;
@@- ptr->end - ptr->start + 1
+ resource_size(ptr)and some grep and typing.
Mostly uncompiled, no cross-compilers.
Signed-off-by: Joe Perches
Signed-off-by: Jiri Kosina
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
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
11 Jul, 2008
1 commit
10 Jul, 2008
1 commit
-
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
15 May, 2008
1 commit
-
Fix initialization of framebuffer not calling ioremap_writecombine() function
and not using internal SRAM for at91sam9rl.This is a little rework of the "Don't initialize a pre-allocated framebuffer"
patch that corrects the call to ioremap_writecombine() function.It also cuts the use of internal SRAM for at91sam9rl : it is a bit small
for a framebuffer.Signed-off-by: Nicolas Ferre
Cc: Andrew Victor
Cc: Haavard Skinnemoen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Apr, 2008
1 commit
-
If the user specified a fixed framebuffer address on the command line, it may
have been initialized already with a splash image or something, so we
shouldn't clear it.Therefore, we should only initialize the framebuffer if we allocated it
ourselves. This patch also updates the AVR32 setup code to clear the
framebuffer if it allocated it itself, i.e. the user didn't provide a fixed
address or the reservation failed.I've updated the at91 platform code as well so that it initializes the
framebuffer if it is located in SRAM, but I haven't tested that it actually
works.Signed-off-by: Haavard Skinnemoen
Cc: "Antonino A. Daplas"
Cc: Nicolas FERRE
Cc: Andrew Victor
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
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
3 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 -
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
8 commits
-
Currently the udc pullup is enabled by default on boot. If the device
is connected to a host at this time, the host starts the negotiation
before the udc/gadget driver is ready to handle it.Signed-off-by: Christian Glindkamp
Acked-by: David Brownell
Acked-by: Andrew Victor
Signed-off-by: Russell King -
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 -
Add support for STN LCD displays on Atmel AT91SAM9261-based boards.
Patch from Nicolas Ferre.
Signed-off-by: Andrew Victor
Signed-off-by: Russell King
27 Nov, 2007
1 commit
-
The AT91 I2C driver is currently marked as "broken" due to hardware
issues. This patch enables AT91-based platforms to also use the
bitbanged GPIO for I2C.This updates platform setup logic (setting up an i2c-gpio device
using the same pins as the i2c-at91 device, unless only the BROKEN
driver is enabled).Also make use of the new-style initialization of I2C devices using
i2c_register_board_info().Signed-off-by: David Brownell
Signed-off-by: Andrew Victor
Signed-off-by: Russell King
05 Aug, 2007
1 commit
-
- Include atmel_lcdc.h in at91sam926{1,3}_devices.c
Signed-off-by: Jan Altenberg
Signed-off-by: Russell King
12 May, 2007
1 commit
-
Define SZ_512, SZ_256 and SZ_16 in asm-arm/sizes.h.
Remove the definitions from the at91*_devices.c files.(Dependent on ARM patch #4370/2)
Signed-off-by: Andrew Victor
Signed-off-by: Russell King