29 Nov, 2011

1 commit


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
     

08 Nov, 2011

1 commit

  • * git://git.infradead.org/mtd-2.6: (226 commits)
    mtd: tests: annotate as DANGEROUS in Kconfig
    mtd: tests: don't use mtd0 as a default
    mtd: clean up usage of MTD_DOCPROBE_ADDRESS
    jffs2: add compr=lzo and compr=zlib options
    jffs2: implement mount option parsing and compression overriding
    mtd: nand: initialize ops.mode
    mtd: provide an alias for the redboot module name
    mtd: m25p80: don't probe device which has status of 'disabled'
    mtd: nand_h1900 never worked
    mtd: Add DiskOnChip G3 support
    mtd: m25p80: add EON flash EN25Q32B into spi flash id table
    mtd: mark block device queue as non-rotational
    mtd: r852: make r852_pm_ops static
    mtd: m25p80: add support for at25df321a spi data flash
    mtd: mxc_nand: preset_v1_v2: unlock all NAND flash blocks
    mtd: nand: switch `check_pattern()' to standard `memcmp()'
    mtd: nand: invalidate cache on unaligned reads
    mtd: nand: do not scan bad blocks with NAND_BBT_NO_OOB set
    mtd: nand: wait to set BBT version
    mtd: nand: scrub BBT on ECC errors
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-at91/board-usb-a9260.c
    Merged into board-usb-a926x.c
    - drivers/mtd/maps/lantiq-flash.c
    add_mtd_partitions -> mtd_device_register vs changed to use
    mtd_device_parse_register.

    Linus Torvalds
     

11 Sep, 2011

3 commits

  • Currently atmel_nand driver used by AT91 and AVR32 calls a special callback
    which return nand partition table and number of partitions. However in all
    boards this callback returns just static data. So drop this callback and
    make atmel_nand use partition table provided statically via platform_data.

    Nicolas Ferre: I am in favor for a mainline inclusion through linux-mtd tree.
    Hans-Christian Egtvedt: I'm fine by sending the changes for AVR32 through linux-mtd

    Signed-off-by: Dmitry Eremin-Solenikov
    Acked-by: Hans-Christian Egtvedt
    Acked-by: Nicolas Ferre
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD
    Signed-off-by: Artem Bityutskiy

    Dmitry Eremin-Solenikov
     
  • Several USB power switches (AIC1526 or MIC2026) have a digital output
    that is used to notify that an overcurrent situation is taking
    place. This digital outputs are typically connected to GPIO inputs of
    the processor and can be used to be notified of those overcurrent
    situations.

    Therefore, we add a new overcurrent_pin[] array in the at91_usbh_data
    structure so that boards can tell the AT91 OHCI driver which pins are
    used for the overcurrent notification, and an overcurrent_supported
    boolean to tell the driver whether overcurrent is supported or not.

    The code has been largely borrowed from ohci-da8xx.c and
    ohci-s3c2410.c.

    Signed-off-by: Thomas Petazzoni
    Signed-off-by: Nicolas Ferre

    Thomas Petazzoni
     
  • The existing OHCI AT91 driver made the assumption that the enable
    input of the USB power switch was active low. However, some USB power
    switches such as the Micrel MIC2026-1 [1] have an active high input to
    enable the power. A new vbus_pin_inverted attribute is added to the
    at91_usbh_data structure so that board files can tell the OHCI driver
    if the vbus pin logic is active low or active high.

    [1] http://www.micrel.com/page.do?page=product-info/products/mic2026.shtml

    Signed-off-by: Thomas Petazzoni
    Signed-off-by: Nicolas Ferre

    Thomas Petazzoni
     

25 May, 2011

2 commits


01 Dec, 2010

1 commit


19 Jul, 2010

1 commit

  • Allow the vbus signal to optionally use polling. This is required if
    the vbus signal is connected to an non-interrupting io expander for
    example. If vbus is in polling mode, then it is assumed that the vbus
    gpio may sleep. Also add an option to have vbus be an active low
    signal. Both options are set in the platform data for the device.

    Signed-off-by: Ryan Mallon
    Acked-by: Nicolas Ferre
    Signed-off-by: Russell King

    Ryan Mallon
     

04 May, 2010

1 commit

  • Final version of the patch that adds support for RS485 communications to the atmel_serial driver.

    The patch has been already sent and discussed on both linux-kernel and linux-arm-kernel mailing lists several times.

    Many people collaborated to improve and test the code:

    Tested-by: Sebastian Heutling
    Tested-by: Bernhard Roth
    Reviewed-by: Ryan Mallon
    Signed-off-by: Claudio Scordino
    Signed-off-by: Michael Trimarchi
    Signed-off-by: Rick Bronson
    Signed-off-by: Sebastian Heutling
    Signed-off-by: Russell King

    Claudio Scordino
     

20 Jan, 2010

1 commit

  • Add support for the Atmel AT572D940HF processor (DIOPSIS range).
    This processor integrates an ARM926 core, a DSP and the SoC
    peripherals usually found on an AT91 processor (USART, SSC, SPI, TWI,
    CAN, etc)

    Signed-off-by: Antonio R. Costa
    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     

10 Dec, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (51 commits)
    Input: appletouch - give up maintainership
    Input: dm355evm_kbd - switch to using sparse keymap library
    Input: wistron_btns - switch to using sparse keymap library
    Input: add generic support for sparse keymaps
    Input: fix memory leak in force feedback core
    Input: wistron - remove identification strings from DMI table
    Input: psmouse - remove identification strings from DMI tables
    Input: atkbd - remove identification strings from DMI table
    Input: i8042 - remove identification strings from DMI tables
    DMI: allow omitting ident strings in DMI tables
    Input: psmouse - do not carry DMI data around
    Input: matrix-keypad - switch to using dev_pm_ops
    Input: keyboard - fix lack of locking when traversing handler->h_list
    Input: gpio_keys - scan gpio state at probe and resume time
    Input: keyboard - add locking around event handling
    Input: usbtouchscreen - add support for ET&T TC5UH touchscreen controller
    Input: xpad - add two new Xbox 360 devices
    Input: polled device - do not start polling if interval is zero
    Input: polled device - schedule first poll immediately
    Input: add S3C24XX touchscreen driver
    ...

    Linus Torvalds
     

20 Nov, 2009

1 commit


26 Oct, 2009

1 commit


25 Sep, 2009

1 commit


23 Sep, 2009

2 commits

  • 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

    Rob Emanuele
     
  • This patch adds the device definition for the at91_can device to
    the generic device definiton file for the at91sam9263.

    Signed-off-by: Hans J. Koch
    Signed-off-by: Marc Kleine-Budde
    Acked-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Marc Kleine-Budde
     

07 Sep, 2009

1 commit


27 Jun, 2009

1 commit

  • Here are the at91 specific files dedicated to the at91sam9g45 series. They
    mimic the traditional at91 way of managing chips & boards.

    The first board that embeds at91sam9g45 chip is the AT91SAM9G45-EKES. In
    the future, the main board for this 9g45 series will be the
    AT91SAM9M10G45-EK (I choose this last name for the board file).

    Simple drivers are enabled in _devices and board- files. Newer peripheral
    support will be added in future patches.

    Incuded peripherals support (for now):
    - USART
    - SPI
    - Ethernet
    - NAND flash
    - LCD
    - gpio/joystick/buttons
    - leds and pwm

    Signed-off-by: Nicolas Ferre
    Acked-by: Andrew Victor
    Signed-off-by: Russell King

    Nicolas Ferre
     

09 Apr, 2009

1 commit

  • The flexible array in the USBH platform data is not safe to copy. The
    compiler will not allocate any extra memory for the non-init platform
    data structure (in the *_devices.c files) since it isn't given any
    defaults at compile time. When the probe function attempts to address
    that array, it will actually attempt to access data in an adjacent
    structure.

    Since there are currently no (known) implementations of the at91 USBH
    IP with more than 2 vbus pins, I am capping the value at 2. If somebody
    tries to assign more, then the compiler will produce a warning.

    Signed-off-by: Justin Waters
    Acked-by: David Brownell
    Acked-by: Andrew Victor
    Signed-off-by: Russell King

    Justin Waters
     

05 Mar, 2009

1 commit

  • This is IDE host driver for AT91 (SAM9, CAP9, AT572D940HF) Static Memory
    Controller with Compact Flash True IDE Mode logic.

    Driver have to switch 8/16 bit bus width when accessing Task Tile or Data
    Register. Moreover some extra things need to be done when setting PIO mode.
    Only PIO mode is used, hardware have no DMA support. If interrupt line is
    connected through GPIO extra quirk is needed to cope with fake interrupts.

    Signed-off-by: Stanislaw Gruszka
    Cc: Andrew Victor
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Stanislaw Gruszka
     

17 Feb, 2009

1 commit


22 Sep, 2008

3 commits


07 Aug, 2008

1 commit