[GIT PULL] SPI updates for v5.20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 6ece49c56965544262523dae4a071ace3db63507:

  spi: amd: Limit max transfer and message size (2022-07-06 15:20:46 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v5.20

for you to fetch changes up to 69243df953e70c134c6735b31ba0e658c53d3cda:

  Add SPI Driver to HPE GXP Architecture (2022-07-29 20:22:22 +0100)

----------------------------------------------------------------
spi: Updates for v5.20

The big update this time around is some excellent work from David Jander
who went through the fast path and really eliminated overheads, meaning
that we are seeing a huge reduction in the time spent between transfers
for single threaded clients. Benchmarking has been coming out at about a
halving of overhead which is clearly visible in system level usage that
stresses SPI like some CAN and IIO applications, especially with small
transfers. Thanks to David for taking the time to drill down into this
and push the work upstream.

Otherwise there's been a bunch of new device support and the usual

 - Optimisation of the fast path, particularly around the number and
   types of locking operations, from David Jander.
 - Support for Arbel NPCM845, HP GXP, Intel Meteor Lake and Thunder Bay,
   MediaTek MT8188 and MT8365, Microchip FPGAs, nVidia Tegra 241 and
   Samsung Exynos Auto v9 and 4210.

----------------------------------------------------------------
Adithya K V (1):
      spi: s3c64xx: requests spi-dma channel only during data transfer

Allen-KH Cheng (1):
      spi: dt-bindings: mediatek,spi-mtk-nor: Update bindings for nor flash

Amit Kumar Mahapatra (1):
      spi: spi-zynqmp-gqspi: Add two chip select support

Andy Chiu (1):
      spi: sifive: add PM callbacks to support suspend/resume

Andy Shevchenko (3):
      spi: Return deferred probe error when controller isn't yet available
      spi: propagate error code to the caller of acpi_spi_device_alloc()
      spi: remove duplicate parameters check in acpi_spi_add_resource()

Atsushi Nemoto (1):
      spi: spi-ti-qspi: Support per-transfer and per-slave speed_hz settings

Biju Das (1):
      ASoC: dt-bindings: renesas,rz-ssi: Document RZ/G2UL SoC

Chanho Park (5):
      spi: s3c64xx: move dma_release_channel to unprepare
      spi: s3c64xx: support loopback mode
      spi: s3c64xx: support custom value of internal clock divider
      spi: s3c64xx: add spi port configuration for Exynos Auto v9 SoC
      spi: s3c64xx: define exynosautov9 compatible

Christophe JAILLET (2):
      spi: spi-altera-dfl: Fix an error handling path
      spi: intel: Use correct order for the parameters of devm_kcalloc()

Claudiu Beznea (4):
      spi: atmel-quadspi: add runtime pm support
      spi: atmel-quadspi: use pm_ptr()
      spi: atmel-quadspi: align condition to parenthesis
      spi: atmel: remove #ifdef CONFIG_{PM, SLEEP}

Colin Ian King (2):
      spi: s3c64xx: Fix spelling mistake "hannel" -> "channel"
      spi: s3c64xx: set pointers to null using NULL rather than 0

Conor Dooley (5):
      spi: add support for microchip fpga spi controllers
      MAINTAINERS: add spi to PolarFire SoC entry
      spi: microchip-core: fix potentially incorrect return from probe
      spi: microchip-core: fix passing zero to PTR_ERR warning
      spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width

Cristian Ciocaltea (4):
      spi: amd: Make use of devm_spi_alloc_master()
      spi: amd: Make use of dev_err_probe()
      spi: amd: Drop io_base_addr member from struct amd_spi
      spi: amd: Add struct and enum kernel-doc comments

Dan Carpenter (1):
      spi: core: Fix error code in spi_register_controller()

David Fries (1):
      spi: spidev_test: Warn when the mode is not the requested mode

David Jander (17):
      spi: spi.c: Convert statistics to per-cpu u64_stats_t
      spi: <linux/spi/spi.h>: Add missing documentation for struct members
      spi: Fix per-cpu stats access on 32 bit systems
      spi: Move ctlr->cur_msg_prepared to struct spi_message
      spi: Don't use the message queue if possible in spi_sync
      spi: Lock controller idling transition inside the io_mutex
      spi: __spi_pump_messages: Consolidate spin_unlocks to goto target
      spi: Remove check for controller idling in spi sync path
      spi: Remove check for idling in __spi_pump_messages()
      spi: Remove the now unused ctlr->idling flag
      spi: Remove unneeded READ_ONCE for ctlr->busy flag
      spi: Set ctlr->cur_msg also in the sync transfer case
      spi: Ensure the io_mutex is held until spi_finalize_current_message()
      spi: opportunistically skip ctlr->cur_msg_completion
      spi: spi.c: White-space fix in __spi_pump_messages()
      spi: spi.c: Fix comment style
      spi: spi.c: Remove redundant else block

Eddie James (1):
      spi: fsi: Increase timeout and ensure status is checked

Fabien Parent (1):
      spi: mt65xx: add MT8365 SoC bindings

Guo Mengqi (1):
      spi: synquacer: Add missing clk_disable_unprepare()

Jarkko Nikula (1):
      spi: pxa2xx: Add support for Intel Meteor Lake-P

Johnson Wang (1):
      spi: dt-bindings: Add compatible for MediaTek MT8188

Julia Lawall (1):
      spi: fix typo in comment

Krishna Yarlagadda (3):
      spi: tegra210-quad: Multi-cs support
      spi: dt-bindings: split peripheral prods
      spi: dt-bindings: Add compatible for Tegra241 QSPI

Krzysztof Kozlowski (7):
      spi: s3c64xx: constify fsd_spi_port_config
      spi: dt-bindings: samsung: Add Exynos4210 SPI
      spi: dt-bindings: cadence: add missing 'required'
      spi: dt-bindings: zynqmp-qspi: add missing 'required'
      spi: dt-bindings: qcom,spi-geni-qcom: allow three interconnects
      spi: dt-bindings: spi-controller: correct example indentation
      spi/panel: dt-bindings: drop CPHA and CPOL from common properties

Mark Brown (15):
      spi: stm32-qspi: Remove unused parameters
      Add support for PolarFire SoC's spi controllers
      spi: atmel-quadspi: add runtime pm support
      spi: tegra quad: Add Tegra Grace features
      spi: topcliff-pch: Use core message validation
      spi: sh: Switch to using core message queue
      spi: mpc52xx-psc: Switch to using core message queue
      Optimize spi_sync path
      spi support for Exynos Auto v9 SoC
      Fix some coding style issues
      spi: AMD SPI controller driver bug fix and cleanups
      spi: microchip-core: fix and cleanups
      Add support for Intel Thunder Bay SPI controller
      spi: npcm-fiu: add Arbel NPCM8XX support
      Add SPI Driver to HPE GXP Architecture

Martin Sperl (1):
      spi: bcm2835: enable shared interrupt support

Mika Westerberg (1):
      spi: intel: Add support for Intel Meteor Lake-P SPI serial flash

Nandhini Srikandan (4):
      spi: dw: Fix IP-core versions macro
      spi: Add bindings for Intel Thunder Bay SOC
      spi: dw: Add support for master mode selection for DWC SSI controller
      spi: dw: Add support for Intel Thunder Bay SPI controller

Nick Hawkins (3):
      spi: spi-gxp: Add support for HPE GXP SoCs
      spi: dt-bindings: add documentation for hpe,gxp-spifi
      MAINTAINERS: add spi support to GXP

Noam (1):
      spi: a3700: support BE for AC5 SPI driver

Patrice Chotard (3):
      spi: stm32-qspi: Remove stm32_qspi_get_mode() unused parameter
      spi: stm32-qspi: Remove stm32_qspi_wait_cmd() unused parameter
      spi: stm32-qspi: Remove stm32_qspi_wait_poll_status() unused parameter

Peng Wu (1):
      spi: micro: fix unreasonable clk_prepare_enable() on error in mchp_corespi_probe()

Rob Herring (1):
      spi: dt-bindings: Move 'rx-sample-delay-ns' to spi-peripheral-props.yaml

Serge Semin (1):
      spi: dw: Add deferred DMA-channels setup support

Sergiu Moga (1):
      spi: dt-bindings: atmel,at91rm9200-spi: convert to json-schema

Tomer Maimon (3):
      spi: npcm-fiu: Modify direct read dummy configuration
      dt-binding: spi: Add npcm845 compatible to npcm-fiu document
      spi: npcm-fiu: Add NPCM8XX support

Vaishnav Achath (1):
      spi: cadence-quadspi: Remove spi_master_put() in probe failure path

Yang Li (2):
      spi: fix platform_no_drv_owner.cocci warning
      spi: Return true/false (not 1/0) from bool function

Yang Yingliang (5):
      spi: microchip-core: fix UAF in mchp_corespi_remove()
      spi: microchip-core: switch to use devm_spi_alloc_master()
      spi: microchip-core: switch to use dev_err_probe()
      spi: Fix simplification of devm_spi_register_controller
      spi: tegra20-slink: fix UAF in tegra_slink_remove()

 .../bindings/display/panel/lgphilips,lb035q02.yaml |   3 +
 .../bindings/display/panel/samsung,ld9040.yaml     |   3 +
 .../bindings/display/panel/sitronix,st7789v.yaml   |   3 +
 .../devicetree/bindings/display/panel/tpo,td.yaml  |   3 +
 .../devicetree/bindings/sound/renesas,rz-ssi.yaml  |   3 +-
 .../bindings/spi/atmel,at91rm9200-spi.yaml         |  75 +++
 .../devicetree/bindings/spi/hpe,gxp-spifi.yaml     |  56 ++
 .../bindings/spi/mediatek,spi-mt65xx.yaml          |   2 +
 .../bindings/spi/mediatek,spi-mtk-nor.yaml         |  15 +-
 .../devicetree/bindings/spi/nuvoton,npcm-fiu.txt   |  13 +-
 .../spi/nvidia,tegra210-quad-peripheral-props.yaml |  33 ++
 .../bindings/spi/nvidia,tegra210-quad.yaml         |  22 +-
 .../bindings/spi/qcom,spi-geni-qcom.yaml           |   5 +-
 .../devicetree/bindings/spi/samsung,spi.yaml       |   6 +-
 .../devicetree/bindings/spi/snps,dw-apb-ssi.yaml   |  26 +-
 .../devicetree/bindings/spi/spi-cadence.yaml       |   7 +
 .../devicetree/bindings/spi/spi-controller.yaml    |  19 +-
 .../bindings/spi/spi-peripheral-props.yaml         |  16 +-
 .../devicetree/bindings/spi/spi-zynqmp-qspi.yaml   |   7 +
 .../devicetree/bindings/spi/spi_atmel.txt          |  36 --
 MAINTAINERS                                        |   3 +
 drivers/spi/Kconfig                                |  16 +
 drivers/spi/Makefile                               |   2 +
 drivers/spi/atmel-quadspi.c                        | 104 +++-
 drivers/spi/spi-altera-dfl.c                       |  14 +-
 drivers/spi/spi-amd.c                              |  45 +-
 drivers/spi/spi-armada-3700.c                      |   4 +-
 drivers/spi/spi-atmel.c                            |  15 +-
 drivers/spi/spi-bcm2835.c                          |   8 +-
 drivers/spi/spi-cadence-quadspi.c                  |  19 +-
 drivers/spi/spi-dw-core.c                          |  10 +-
 drivers/spi/spi-dw-dma.c                           |  25 +-
 drivers/spi/spi-dw-mmio.c                          |   8 +-
 drivers/spi/spi-dw.h                               |  13 +-
 drivers/spi/spi-fsi.c                              |  19 +-
 drivers/spi/spi-gxp.c                              | 325 +++++++++++
 drivers/spi/spi-intel-pci.c                        |   1 +
 drivers/spi/spi-intel.c                            |   4 +-
 drivers/spi/spi-microchip-core.c                   | 617 +++++++++++++++++++++
 drivers/spi/spi-mpc52xx-psc.c                      | 116 ++--
 drivers/spi/spi-npcm-fiu.c                         |  28 +-
 drivers/spi/spi-pxa2xx.c                           |   4 +
 drivers/spi/spi-s3c64xx.c                          | 123 ++--
 drivers/spi/spi-sh.c                               |  94 +---
 drivers/spi/spi-sifive.c                           |  39 ++
 drivers/spi/spi-stm32-qspi.c                       |  18 +-
 drivers/spi/spi-synquacer.c                        |   1 +
 drivers/spi/spi-tegra20-slink.c                    |   3 +-
 drivers/spi/spi-tegra210-quad.c                    |  33 +-
 drivers/spi/spi-ti-qspi.c                          |  75 +--
 drivers/spi/spi-topcliff-pch.c                     |  30 +-
 drivers/spi/spi-zynqmp-gqspi.c                     |  25 +-
 drivers/spi/spi.c                                  | 566 +++++++++++--------
 include/linux/spi/spi.h                            | 169 +++---
 tools/spi/spidev_test.c                            |  11 +
 55 files changed, 2183 insertions(+), 757 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
 create mode 100644 Documentation/devicetree/bindings/spi/hpe,gxp-spifi.yaml
 create mode 100644 Documentation/devicetree/bindings/spi/nvidia,tegra210-quad-peripheral-props.yaml
 delete mode 100644 Documentation/devicetree/bindings/spi/spi_atmel.txt
 create mode 100644 drivers/spi/spi-gxp.c
 create mode 100644 drivers/spi/spi-microchip-core.c



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux