08 Apr, 2014

1 commit

  • Commit 8fc1b0f87d9f ("ARM: qcom: Split Qualcomm support into legacy and
    multiplatform") removed Kconfig symbol ARCH_MSM_DT. But that commit
    left one (optional) dependency on ARCH_MSM_DT untouched.

    Three Kconfig symbols used to depend on ARCH_MSM_DT: ARCH_MSM8X60,
    ARCH_MSM8960, and ARCH_MSM8974. These three symbols now depend on
    ARCH_QCOM. So it appears this driver needs to depend on ARCH_QCOM too.

    Signed-off-by: Paul Bolle
    Reviewed-by: Stephen Boyd
    Signed-off-by: Mark Brown

    Paul Bolle
     

30 Mar, 2014

7 commits


27 Mar, 2014

1 commit


22 Mar, 2014

1 commit


19 Mar, 2014

1 commit


13 Mar, 2014

1 commit

  • This simple SPI master controller is built into xtfpga bitstreams. It
    always transfers 16 bit words in SPI mode 0, automatically asserting CS
    on transfer start and deasserting on end.

    Signed-off-by: Max Filippov
    Signed-off-by: Mark Brown

    Max Filippov
     

27 Feb, 2014

1 commit

  • The only remaining feature of spi-bitbang used by this driver is the
    chipselect() callback, which just does conditional GPIO.
    This is handled fine by the SPI core's spi_set_cs(), hence switch the
    driver to use the core message handling through our own transfer_one()
    method.

    As the (optional) GPIO CS is no longer deasserted at spi_master.setup()
    time (through spi_bitbang_setup() and the spi_bitbang.chipselect()
    callback), we now have to take care of that ourselves.

    Remove the call to spi_master_put() in sh_msiof_spi_remove(), as our SPI
    master is now registered using devm_spi_register_master()
    (spi_bitbang_start() uses the non-managed version).

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Magnus Damm
    Signed-off-by: Mark Brown

    Geert Uytterhoeven
     

24 Feb, 2014

1 commit

  • This driver uses writel_relaxed() which does not exist in x86, ppc, etc.
    Make it depend on ARM && COMPILE_TEST to avoid below build error:

    CC [M] drivers/spi/spi-qup.o
    drivers/spi/spi-qup.c: In function 'spi_qup_set_state':
    drivers/spi/spi-qup.c:180:3: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [drivers/spi/spi-qup.o] Error 1
    make[1]: *** [drivers/spi] Error 2
    make: *** [drivers] Error 2

    Reported-by: Stephen Rothwell
    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

23 Feb, 2014

3 commits

  • This helps increasing build testing coverage.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     
  • The older Allwinner SoCs (A10, A13, A10s and A20) all have the same SPI
    controller.

    Unfortunately, this SPI controller, even though quite similar, is significantly
    different from the recently supported A31 SPI controller (different registers
    offset, split/merged registers, etc.). Supporting both controllers in a single
    driver would be unreasonable, hence the addition of a new driver.

    Like its more recent counterpart, it supports DMA, but the driver only does PIO
    until we have a dmaengine driver for this platform.

    Signed-off-by: Maxime Ripard
    Signed-off-by: Mark Brown

    Maxime Ripard
     
  • SPI_IMX is selected by imx_v6_v7_defconfig/imx_v4_v5_defconfig and we don't need
    to have a default setting which depends on the IMX_HAVE_PLATFORM_SPI_IMX symbol.

    Signed-off-by: Fabio Estevam
    Signed-off-by: Mark Brown

    Fabio Estevam
     

19 Feb, 2014

1 commit

  • Qualcomm Universal Peripheral (QUP) core is an AHB slave that
    provides a common data path (an output FIFO and an input FIFO)
    for serial peripheral interface (SPI) mini-core. SPI in master
    mode supports up to 50MHz, up to four chip selects, programmable
    data path from 4 bits to 32 bits and numerous protocol variants.

    Cc: Alok Chauhan
    Cc: Gilad Avidov
    Cc: Kiran Gunda
    Cc: Sagar Dharia
    Cc: dsneddon@codeaurora.org
    Signed-off-by: Ivan T. Ivanov
    Signed-off-by: Mark Brown

    Ivan T. Ivanov
     

16 Feb, 2014

1 commit

  • Freescale DSPI module will have two endianess in different platform,
    but ARM is little endian. So when DSPI in big endian, core in little endian,
    readl and writel can not adjust R/W register in this condition.
    This patch will remove general readl/writel, and import regmap mechanism.
    Data endian will be transfered in regmap APIs.

    Documents: dspi add bool "big-endian" in dts node if DSPI module
    work in big endian.

    Signed-off-by: Chao Fu
    Reviewed-by: Xiubo Li
    Signed-off-by: Mark Brown

    Chao Fu
     

10 Feb, 2014

1 commit

  • Commit 0079aae0f1e6 ("spi: omap2: Add build dependencies for
    writel_relaxed()") added an optional Kconfig dependency on SH. That
    Kconfig symbol doesn't exist. Apparently SUPERH was intended. Use that.

    Signed-off-by: Paul Bolle
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Mark Brown

    Paul Bolle
     

07 Feb, 2014

1 commit


05 Feb, 2014

2 commits


03 Feb, 2014

1 commit


26 Jan, 2014

1 commit

  • Pull spi updates from Mark Brown:
    "A respun version of the merges for the pull request previously sent
    with a few additional fixes. The last two merges were fixed up by
    hand since the branches have moved on and currently have the prior
    merge in them.

    Quite a busy release for the SPI subsystem, mostly in cleanups big and
    small scattered through the stack rather than anything else:

    - New driver for the Broadcom BC63xx HSSPI controller
    - Fix duplicate device registration for ACPI
    - Conversion of s3c64xx to DMAEngine (this pulls in platform and DMA
    changes upon which the transiton depends)
    - Some small optimisations to reduce the amount of time we hold locks
    in the datapath, eliminate some redundant checks and the size of a
    spi_transfer
    - Lots of fixes, cleanups and general enhancements to drivers,
    especially the rspi and Atmel drivers"

    * tag 'spi-v3.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (112 commits)
    spi: core: Fix transfer failure when master->transfer_one returns positive value
    spi: Correct set_cs() documentation
    spi: Clarify transfer_one() w.r.t. spi_finalize_current_transfer()
    spi: Spelling s/finised/finished/
    spi: sc18is602: Convert to use bits_per_word_mask
    spi: Remove duplicate code to set default bits_per_word setting
    spi/pxa2xx: fix compilation warning when !CONFIG_PM_SLEEP
    spi: clps711x: Add MODULE_ALIAS to support module auto-loading
    spi: rspi: Add missing clk_disable() calls in error and cleanup paths
    spi: rspi: Spelling s/transmition/transmission/
    spi: rspi: Add support for specifying CPHA/CPOL
    spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match
    spi: rspi: Add more QSPI register documentation
    spi: rspi: Add more RSPI register documentation
    spi: rspi: Remove dependency on DMAE for SHMOBILE
    spi/s3c64xx: Correct indentation
    spi: sh: Use spi_sh_clear_bit() instead of open-coded
    spi: bitbang: Grammar s/make to make/to make/
    spi: sh-hspi: Spelling s/recive/receive/
    spi: core: Improve tx/rx_nbits check comments
    ...

    Linus Torvalds
     

24 Jan, 2014

1 commit

  • Pull ARM SoC cleanups from Olof Johansson:
    "This is the branch where we usually queue up cleanup efforts, moving
    drivers out of the architecture directory, header file restructuring,
    etc. Sometimes they tangle with new development so it's hard to keep
    it strictly to cleanups.

    Some of the things included in this branch are:

    * Atmel SAMA5 conversion to common clock
    * Reset framework conversion for tegra platforms
    - Some of this depends on tegra clock driver reworks that are shared
    with Mike Turquette's clk tree.
    * Tegra DMA refactoring, which are shared branches with the DMA tree.
    * Removal of some header files on exynos to prepare for
    multiplatform"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (169 commits)
    ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h
    ARM: mvebu: remove prototypes of non-existing functions from common.h
    ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
    serial: sh-sci: Rework baud rate calculation
    serial: sh-sci: Compute overrun_bit without using baud rate algo
    serial: sh-sci: Remove unused GPIO request code
    serial: sh-sci: Move overrun_bit and error_mask fields out of pdata
    serial: sh-sci: Support resources passed through platform resources
    serial: sh-sci: Don't check IRQ in verify port operation
    serial: sh-sci: Set the UPF_FIXED_PORT flag
    serial: sh-sci: Remove duplicate interrupt check in verify port op
    serial: sh-sci: Simplify baud rate calculation algorithms
    serial: sh-sci: Remove baud rate calculation algorithm 5
    serial: sh-sci: Sort headers alphabetically
    ARM: EXYNOS: Kill exynos_pm_late_initcall()
    ARM: EXYNOS: Consolidate selection of PM_GENERIC_DOMAINS for Exynos4
    ARM: at91: switch Calao QIL-A9260 board to DT
    clk: at91: fix pmc_clk_ids data type attriubte
    PM / devfreq: use inclusion instead of
    ARM: EXYNOS: remove for exynos
    ...

    Linus Torvalds
     

23 Jan, 2014

3 commits


13 Jan, 2014

1 commit


09 Jan, 2014

1 commit

  • There is no need to force selection of TI EDMA DMA engine
    driver when DaVinci SPI driver is selected. The driver
    builds just fine even with CONFIG_TI_EDMA disabled.

    Forcing this selection causes warnings of the sort:

    warning: (ARCH_KEYSTONE && SPI_DAVINCI) selects TI_EDMA which has unmet direct dependencies (DMADEVICES && (ARCH_DAVINCI || ARCH_OMAP || ARCH_KEYSTONE))

    This reverts commit b5f14330590118e6a0659255476c0f24ab681e05.

    Reported-by: Russell King
    Signed-off-by: Sekhar Nori
    Signed-off-by: Mark Brown

    Sekhar Nori
     

12 Dec, 2013

1 commit

  • Tegra's clock driver now provides an implementation of the common
    reset API (include/linux/reset.h). Use this instead of the old Tegra-
    specific API; that will soon be removed.

    Signed-off-by: Stephen Warren
    Acked-by: Mark Brown
    Reviewed-by: Thierry Reding

    Stephen Warren
     

04 Dec, 2013

1 commit


28 Nov, 2013

1 commit


24 Nov, 2013

3 commits


25 Oct, 2013

2 commits


26 Sep, 2013

1 commit