29 Nov, 2011

1 commit


28 Nov, 2011

5 commits


09 Nov, 2011

2 commits


08 Aug, 2011

1 commit


25 Jun, 2011

1 commit


25 May, 2011

2 commits


10 Apr, 2011

1 commit


20 Nov, 2009

1 commit


21 Sep, 2009

2 commits


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

2 commits


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


11 Jul, 2008

1 commit


10 Jul, 2008

1 commit


07 Jun, 2008

1 commit


02 Jun, 2008

1 commit


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

    Nicolas Ferre
     

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

    Haavard Skinnemoen
     

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

4 commits


26 Jan, 2008

5 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
     
  • 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
     

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

    Andrew Victor