16 Dec, 2011

1 commit


01 Dec, 2011

1 commit


29 Nov, 2011

2 commits


28 Nov, 2011

4 commits


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

    Jamie Iles
     

09 Nov, 2011

1 commit


01 Nov, 2011

1 commit


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

    Thomas Petazzoni
     

08 Aug, 2011

1 commit


25 Jun, 2011

1 commit


25 May, 2011

2 commits


25 Sep, 2009

1 commit


23 Sep, 2009

1 commit


07 Sep, 2009

1 commit


05 Mar, 2009

1 commit


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

    Andrew Victor
     

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

    Andrew Victor
     

22 Sep, 2008

1 commit


07 Aug, 2008

1 commit


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
    47

    After 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
    0

    Signed-off-by: Pieter du Preez
    Signed-off-by: David Woodhouse

    Pieter du Preez
     

25 Jul, 2008

1 commit


10 Jul, 2008

1 commit


07 Jun, 2008

1 commit


29 Apr, 2008

1 commit


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

    Andrew Victor
     

04 Apr, 2008

3 commits


26 Jan, 2008

7 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

    Andrew Victor
     
  • 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

    Andrew Victor
     
  • 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

    Andrew Victor
     
  • 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

    Andrew Victor
     
  • 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

    Andrew Victor
     
  • 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

    Andrew Victor
     
  • Add support for the Image Sensor Interface (ISI) peripheral integrated
    in the Atmel AT91SAM9263 processor.

    Patch from MaLiK

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor