25 May, 2010

3 commits


21 May, 2010

1 commit

  • Change dependency to ARCH_OMAP2PLUS to allow systems based on
    omap24xx, omap34xx or omap44xx

    Cc: spi-devel-general@lists.sourceforge.net
    Signed-off-by: Syed Rafiuddin
    Signed-off-by: Abraham Arce
    Signed-off-by: Tony Lindgren

    Syed Rafiuddin
     

02 Mar, 2010

1 commit


16 Feb, 2010

2 commits


23 Jan, 2010

1 commit


22 Jan, 2010

1 commit


21 Jan, 2010

3 commits

  • Adds a memory-mapped I/O dw_spi platform device.

    Signed-off-by: Jean-Hugues Deschenes
    Signed-off-by: Grant Likely

    Jean-Hugues Deschenes
     
  • Add support for the QSPI controller found some on Freescale/Motorola
    Coldfire MCUs.

    Full duplex, active high cs, spi modes 0-3 and word sizes 8-16 bits are
    supported. The hardware drives the MISO, MOSI and SCLK lines, but the chip
    selects are managed via GPIO and must be configured by the board code.

    The QSPI controller has an 80 byte buffer which allows us to transfer up to 16
    words at a time. For transfers longer than 16 words, we split the buffer in
    half so we can update in one half while the controller is operating on the
    other half. Interrupt latencies then ultimately limits our sustained thru-put
    to something less than half the maximum speed supported by the part.

    Signed-off-by: Steven King
    Signed-off-by: Grant Likely

    Steven King
     
  • This patch adds support for a SPI master driver for the
    DaVinci series of SOCs

    Signed-off-by: Sandeep Paulraj
    Signed-off-by: Mark A. Greer
    Signed-off-by: Philby John
    Signed-off-by: Sudhakar Rajashekhara
    Signed-off-by: Kevin Hilman
    Signed-off-by: Grant Likely

    Sandeep Paulraj
     

18 Dec, 2009

1 commit

  • * 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
    spi: spi_txx9.c: use resource_size()
    spi: spi_sh_sci.c: use resource_size()
    spi: spi_mpc8xxx.c: use resource_size()
    spi: spi_bfin5xx.c: use resource_size()
    spi: atmel_spi.c: use resource_size()
    spi: Add s3c64xx SPI Controller driver
    atmel_spi: fix dma addr calculation for len > BUFFER_SIZE
    spi_s3c24xx: add FIQ pseudo-DMA support
    spi: controller driver for Designware SPI core
    spidev: add proper section markers
    spidev: use DECLARE_BITMAP instead of declaring the array

    Linus Torvalds
     

17 Dec, 2009

3 commits

  • Each SPI controller has exactly one CS line and as such doesn't
    provide for multi-cs. We implement a workaround to support
    multi-cs by _not_ configuring the mux'ed CS pin for each SPI
    controller. The CS mechanism is assumed to be fully machine
    specific - the driver doesn't even assume some GPIO pin is used
    to control the CS.

    The driver selects between DMA and POLLING mode depending upon
    the xfer size - DMA mode for xfers bigger than FIFO size, POLLING
    mode otherwise.

    The driver has been designed to be capable of running SoCs since
    s3c64xx and till date, for that reason some of the register fields
    have been passed via, SoC specific, platform data.

    Signed-off-by: Jassi Brar
    Signed-off-by: Grant Likely

    Jassi Brar
     
  • Add pseudo-DMA by FIQ to the S3C24XX SPI driver. This allows the driver
    to get DMA-like performance where there are either no free DMA channels or
    when doing transfers that required both TX and RX data paths.

    Since this patch requires the addition of an assembly file to hold the FIQ
    code, we rename the module (instead of adding a rename of the .c file to
    this patch). We expect most users are loading this via udev and thus
    there should be no change to the userland configuration.

    Signed-off-by: Ben Dooks
    Signed-off-by: Simtec Linux Team
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Grant Likely

    Ben Dooks
     
  • Driver for the Designware SPI core, it supports multipul interfaces like
    PCI/APB etc. User can use "dw_apb_ssi_db.pdf" from Synopsys as HW
    datasheet.

    [randy.dunlap@oracle.com: fix build]
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Feng Tang
    Cc: David Brownell
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Grant Likely

    Feng Tang
     

15 Dec, 2009

1 commit

  • * 'next-spi' of git://git.secretlab.ca/git/linux-2.6: (23 commits)
    spi: fix probe/remove section markings
    Add OMAP spi100k driver
    spi-imx: don't access struct device directly but use dev_get_platdata
    spi-imx: Add mx25 support
    spi-imx: use positive logic to distinguish cpu variants
    spi-imx: correct check for platform_get_irq failing
    ARM: NUC900: Add spi driver support for nuc900
    spi: SuperH MSIOF SPI Master driver V2
    spi: fix spidev compilation failure when VERBOSE is defined
    spi/au1550_spi: fix setupxfer not to override cfg with zeros
    spi/mpc8xxx: don't use __exit_p to wrap plat_mpc8xxx_spi_remove
    spi/i.MX: fix broken error handling for gpio_request
    spi/i.mx: drain MXC SPI transfer buffer when probing device
    MAINTAINERS: add SPI co-maintainer.
    spi/xilinx_spi: fix incorrect casting
    spi/mpc52xx-spi: minor cleanups
    xilinx_spi: add a platform driver using the xilinx_spi common module.
    xilinx_spi: add support for the DS570 IP.
    xilinx_spi: Switch to iomem functions and support little endian.
    xilinx_spi: Split into of driver and generic part.
    ...

    Linus Torvalds
     

13 Dec, 2009

3 commits

  • This change adds the OMAP SPI 100k driver created by
    Fabrice Crohas . This SPI bus is found on
    OMAP7xx-series smartphones, and for many, the touchscreen is
    attached to this bus.

    The lion's share of the work was done by Fabrice on this driver --
    I am merely porting it from the Linwizard project on his behalf.

    Signed-off-by: Cory Maccarrone
    Signed-off-by: Grant Likely

    Cory Maccarrone
     
  • Signed-off-by: Wan ZongShun
    Signed-off-by: Grant Likely

    Wan ZongShun
     
  • This patch is V2 of SPI Master support for the SuperH MSIOF.
    Full duplex, spi mode 0-3, active high cs, 3-wire and lsb
    first should all be supported, but the driver has so far
    only been tested with "mmc_spi".

    The MSIOF hardware comes with 32-bit FIFOs for receive and
    transmit, and this driver simply breaks the SPI messages
    into FIFO-sized chunks. The MSIOF hardware manages the pins
    for clock, receive and transmit (sck/miso/mosi), but the chip
    select pin is managed by software and must be configured as
    a regular GPIO pin by the board code.

    Performance wise there is still room for improvement, but
    on a Ecovec board with the built-in sh7724 MSIOF0 this driver
    gets Mini-sd read speeds of about half a megabyte per second.

    Future work include better clock setup and merging of 8-bit
    transfers into 32-bit words to reduce interrupt load and
    improve throughput.

    Signed-off-by: Magnus Damm
    Signed-off-by: Grant Likely

    Magnus Damm
     

09 Dec, 2009

5 commits


12 Nov, 2009

1 commit

  • This patch adds QE buffer descriptors mode support for the
    spi_mpc8xxx driver, and as a side effect we now support CPM1
    and CPM2 SPI controllers.

    That means that today we support almost all MPC SPI controllers:

    - MPC834x-style controllers (support PIO mode only);
    - CPM1 and CPM2 controllers (support DMA mode only);
    - QE SPI controllers in CPU mode (PIO mode with shift quirks);
    - QE SPI controllers in buffer descriptors (DMA) mode;

    The only controller we don't currently support is a newer eSPI
    (with a dedicated chip selects and a bit different registers map).

    Signed-off-by: Anton Vorontsov
    Acked-by: David Brownell
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     

05 Nov, 2009

1 commit


23 Sep, 2009

5 commits

  • Add SPI driver for Freescale STMP 3xxx-based boards

    [dbrownell@users.sourceforge.net: cleanup sequence, spi_unregister_master]
    Signed-off-by: dmitry pervushin
    Signed-off-by: David Brownell
    Cc: Kumar Gala
    Cc: Timur Tabi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    dmitry pervushin
     
  • This driver has been tested on i.MX1/i.MX27/i.MX35 with an AT25 type
    EEPROM and on i.MX27/i.MX31 with a Freescale MC13783 PMIC.

    Signed-off-by: Sascha Hauer
    Tested-by: Guennadi Liakhovetski
    Acked-by: David Brownell
    Cc: Andrea Paterniani
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sascha Hauer
     
  • This makes the PL022 driver a default choice for any RealView and
    Versatile boards plus the integrator IMPD1 which all contain the PL022
    PrimeCell. This will make it a default choice if and only if a user
    selects SPI support for their board.

    Signed-off-by: Linus Walleij
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    linus.walleij@stericsson.com
     
  • This adds a SPI driver for the SPI controller found in the IBM/AMCC
    4xx PowerPC's.

    Signed-off-by: Stefan Roese
    Signed-off-by: Wolfgang Ocker
    Acked-by: Josh Boyer
    Signed-off-by: Steven A. Falco
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven A. Falco
     
  • This driver is in a non working state at the moment and will be replaced
    by a bitbang driver which can also handle the newer i.MX variants

    Signed-off-by: Sascha Hauer
    Cc: Guennadi Liakhovetski
    Acked-by: David Brownell
    Acked-by: Andrea Paterniani
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sascha Hauer
     

20 Jun, 2009

2 commits

  • Since we renamed the file, we might want to rename the file internals too.

    Though we don't bother with changing platform driver name and platform
    module alias. The stuff is legacy and hopefully we'll remove it soon.

    Suggested-by: Kumar Gala
    Signed-off-by: Anton Vorontsov
    Cc: David Brownell
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     
  • With this patch we'll able to select spi_mpc83xx driver on the MPC86xx
    platforms. Let the driver depend on FSL_SOC, so we don't have to worry
    about Kconfig anymore.

    Also remove the "experimental" dependency, the driver has been tested to
    work on a various hardware, and surely not experimental anymore.

    Signed-off-by: Anton Vorontsov
    Cc: Kumar Gala
    Cc: David Brownell
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     

15 Jun, 2009

1 commit

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (417 commits)
    MAINTAINERS: EB110ATX is not ebsa110
    MAINTAINERS: update Eric Miao's email address and status
    fb: add support of LCD display controller on pxa168/910 (base layer)
    [ARM] 5552/1: ep93xx get_uart_rate(): use EP93XX_SYSCON_PWRCNT and EP93XX_SYSCON_PWRCN
    [ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines
    [ARM] 5544/1: Trust PrimeCell resource sizes
    [ARM] pxa/sharpsl_pm: cleanup of gpio-related code.
    [ARM] pxa/sharpsl_pm: drop set_irq_type calls
    [ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one
    [ARM] pxa/sharpsl_pm: merge the two sharpsl_pm.c since it's now pxa specific
    [ARM] sa1100: remove unused collie_pm.c
    [ARM] pxa: fix the conflicting non-static declarations of global_gpios[]
    [ARM] 5550/1: Add default configure file for w90p910 platform
    [ARM] 5549/1: Add clock api for w90p910 platform.
    [ARM] 5548/1: Add gpio api for w90p910 platform
    [ARM] 5551/1: Add multi-function pin api for w90p910 platform.
    [ARM] Make ARM_VIC_NR depend on ARM_VIC
    [ARM] 5546/1: ARM PL022 SSP/SPI driver v3
    ARM: OMAP4: SMP: Update defconfig for OMAP4430
    ARM: OMAP4: SMP: Enable SMP support for OMAP4430
    ...

    Linus Torvalds
     

11 Jun, 2009

1 commit

  • This adds a driver for the ARM PL022 PrimeCell SSP/SPI
    driver found in the U300 platforms as well as in some
    ARM reference hardware, and in a modified version on the
    Nomadik board.

    Reviewed-by: Alessandro Rubini
    Reviewed-by: Russell King
    Reviewed-by: Baruch Siach

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

21 May, 2009

1 commit


07 May, 2009

1 commit


27 Jan, 2009

1 commit


07 Jan, 2009

1 commit

  • Generalize the old at91rm9200 "bootstrap" bitbanging SPI master driver as
    "spi_gpio", so it works with arbitrary GPIOs and can be configured through
    platform_data. Such SPI masters support:

    - any number of bus instances (bus_num is the platform_device.id)
    - any number of chipselects (one GPIO per spi_device)
    - all four SPI_MODE values, and SPI_CS_HIGH
    - i/o word sizes from 1 to 32 bits;
    - devices configured as with any other spi_master controller

    When configured using platform_data, this provides relatively low clock
    rates. On platforms that support inlined GPIO calls, significantly
    improved transfer speeds are also possible with a semi-custom driver.
    (It's still painful when accessing flash memory, but less so.)

    Sanity checked by using this version to replace both native controllers on
    a board with six different SPI slaves, relying on three different
    SPI_MODE_* values and both SPI_CS_HIGH settings for correct operation.

    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: David Brownell
    Acked-by: Magnus Damm
    Tested-by: Magnus Damm
    Cc: Torgil Svensson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell