Date: Mon, 01 Aug 2022 13:38:22 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI updates for v5.20 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: : 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 . Date: Tue, 16 Aug 2022 12:23:07 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI fixes for v6.0-rc1 The following changes since commit 69243df953e70c134c6735b31ba0e658c53d3cda: Add SPI Driver to HPE GXP Architecture (2022-07-29 20:22:22 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v6.0-rc1 for you to fetch changes up to 2fd92c7b8fe2cfc634613dc093d0f507c7389ea8: spi: dt-bindings: Drop Pratyush Yadav (2022-08-11 18:41:45 +0100) ---------------------------------------------------------------- spi: Fixes for v6.0 A few fixes that came in since my pull request, the Meson fix is a little large since it's fixing all possible cases of the problem that was observed with the driver and clock API trying to share configuration by integrating the device clocking fully with the clock API rather than spot fixing the one instance that was observed. ---------------------------------------------------------------- David Jander (1): spi: spi.c: Add missing __percpu annotations in users of spi_statistics Krzysztof Kozlowski (1): spi: dt-bindings: Drop Pratyush Yadav Lukas Bulwahn (1): MAINTAINERS: rectify entry for ARM/HPE GXP ARCHITECTURE Neil Armstrong (1): spi: meson-spicc: add local pow2 clock ops to preserve rate between messages .../spi/cdns,qspi-nor-peripheral-props.yaml | 2 +- .../devicetree/bindings/spi/cdns,qspi-nor.yaml | 2 +- .../bindings/spi/spi-peripheral-props.yaml | 2 +- MAINTAINERS | 2 +- drivers/spi/spi-meson-spicc.c | 129 ++++++++++++++++----- drivers/spi/spi.c | 14 +-- 6 files changed, 112 insertions(+), 39 deletions(-) . Date: Thu, 08 Sep 2022 13:21:23 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI fixes for v6.0-rc4 The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868: Linux 6.0-rc1 (2022-08-14 15:50:18 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v6.0-rc4 for you to fetch changes up to 9c9c9da7aa108e6bf952c18289527a5234e4fc59: spi: spi: Fix queue hang if previous transfer failed (2022-09-02 13:27:48 +0100) ---------------------------------------------------------------- spi: Fixes for v6.0 Several fixes that came in since the merge window, the major one being a fix for the spi-mux driver which was broken by the performance optimisations due to it peering inside the core's data structures more than it should. ---------------------------------------------------------------- David Jander (1): spi: spi: Fix queue hang if previous transfer failed Mark Brown (1): spi: mux: Fix mux interaction with fast path optimisations Niravkumar L Rabara (1): spi: cadence-quadspi: Disable irqs during indirect reads Robin Murphy (1): spi: bitbang: Fix lsb-first Rx drivers/spi/spi-bitbang-txrx.h | 6 ++++-- drivers/spi/spi-cadence-quadspi.c | 38 ++++++++++++++++++++++++++++++++++---- drivers/spi/spi-mux.c | 1 + drivers/spi/spi.c | 5 ++--- include/linux/spi/spi.h | 2 ++ 5 files changed, 43 insertions(+), 9 deletions(-) . Date: Mon, 03 Oct 2022 13:47:03 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI updates for v6.1 The following changes since commit 7e18e42e4b280c85b76967a9106a13ca61c16179: Linux 6.0-rc4 (2022-09-04 13:10:01 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v6.1 for you to fetch changes up to 8e9204cddcc3fea9affcfa411715ba4f66e97587: spi: Ensure that sg_table won't be used after being freed (2022-09-30 12:56:29 +0100) ---------------------------------------------------------------- spi: Updates for v6.1 With the exception of some refactoring to fix long standing issues where we weren't handling cache syncs properly for messages which had PIO and DMA transfers going to the same page correctly there has been o work on the core this time around, and it's also been quite a quiet release for the drivers too: - Fix cache syncs for cases where we have DMA and PIO transfers in the same message going to the same page. - Update the fsl_spi driver to use transfer_one() rather than a custom transfer function. - Support for configuring transfer speeds with the AMD SPI controller. - Support for a second chip select and 64K erase on Intel SPI. - Support for Microchip coreQSPI, Nuvoton NPCM845, NXP i.MX93, and Rockchip RK3128 and RK3588. ---------------------------------------------------------------- Andy Shevchenko (5): spi: stm32-qspi: Replace of_gpio_named_count() by gpiod_count() spi: stm32-qspi: Refactor dual flash mode enable check in ->setup() spi: nxp-fspi: Do not dereference fwnode in struct device spi: Group cs_change and cs_off flags together in struct spi_transfer spi: mpc52xx: Replace of_gpio_count() by gpiod_count() Chanho Park (1): spi: s3c64xx: correct dma_chan pointer initialization Christophe JAILLET (6): spi: microchip-core: Simplify some error message spi: lpspi: Simplify some error message spi: mt7621: Fix an error message in mt7621_spi_probe() spi: mt7621: Use the devm_clk_get_enabled() helper to simplify error handling spi: mt7621: Use devm_spi_register_controller() spi: mt7621: Remove 'clk' from 'struct mt7621_spi' Christophe Leroy (2): spi: Add capability to perform some transfer with chipselect off spi: fsl_spi: Convert to transfer_one Cristian Ciocaltea (1): spi: amd: Setup all xfers before opcode execution Dan Carpenter (1): spi: omap2-mcspi: Fix probe so driver works again Dmitry Torokhov (1): spi: spi-mpc52xx: switch to using gpiod API Geert Uytterhoeven (1): spi: renesas,sh-msiof: Add r8a779g0 support Johan Jonker (2): rockchip: add rockchip,rk3128-spi spi: rockchip: add power-domains property Krzysztof Kozlowski (3): spi: dt-bindings: nvidia,tegra210-quad-peripheral-props: correct additional properties spi/panel: dt-bindings: drop 3-wire from common properties spi: dt-bindings: snps,dw-apb-ssi: drop ref from reg-io-width Lad Prabhakar (1): spi: renesas,sh-msiof: Fix 'unevaluatedProperties' warnings Lucas Tanure (1): spi: amd: Configure device speed Marek Szyprowski (1): spi: Ensure that sg_table won't be used after being freed Mark Brown (8): Merge remote-tracking branch 'spi/for-5.20' into spi-6.0 Add support for Microchip QSPI controller spi: npcm-pspi: add Arbel NPCM8XX support spi: stm32_qspi: use QSPI bus as 8 lines communication channel spi: add generic R-Car Gen4 and specific r8a779f0 support spi: mt7621: Fix an erroneous message + clean-ups spi: Merge tag 'v6.0-rc4' into spi-6.1 Fix PM disable depth imbalance in probe Mika Westerberg (2): spi: intel: Add support for second flash chip spi: intel: 64k erase is supported from Canon Lake and beyond Naga Sureshkumar Relli (4): spi: dt-binding: document microchip coreQSPI spi: dt-binding: add coreqspi as a fallback for mpfs-qspi spi: microchip-core-qspi: Add support for microchip fpga qspi controllers MAINTAINERS: add qspi to Polarfire SoC entry Neil Armstrong (1): spi: meson-spicc: do not rely on busy flag in pow2 clk ops Patrice Chotard (3): spi: stm32_qspi: Add transfer_one_message() spi callback spi: stm32-qspi: Fix stm32_qspi_transfer_one_message() error path spi: stm32-qspi: Fix pm_runtime management in stm32_qspi_transfer_one_message() Peng Fan (2): spi: dt-bindings: lpspi: add i.MX93 compatible spi: lpspi: add dmas property Sebastian Reichel (1): spi: spi-rockchip: Add rk3588-spi compatible Serge Semin (1): spi: dw: Quite logging on deferred controller registration Sergio Paracuellos (1): spi: migrate mt7621 text bindings to YAML Shang XiaoJing (2): spi: cadence: Remove redundant dev_err call spi: aspeed: Remove redundant dev_err call Shreeya Patel (1): spi: amd: Fix speed selection Tomer Maimon (2): dt-binding: spi: npcm-pspi: Add npcm845 compatible spi: npcm-pspi: Add NPCM845 peripheral SPI support Vincent Whitchurch (5): spi: spi-loopback-test: Add test to trigger DMA/PIO mixing spi: Save current RX and TX DMA devices spi: Fix cache corruption due to DMA/PIO overlap spi: Split transfers larger than max size spi: s3c64xx: Fix large transfers with DMA Wei Yongjun (1): spi: meson-spicc: make symbol 'meson_spicc_pow2_clk_ops' static Wolfram Sang (4): spi: move from strlcpy with unused retval to strscpy spi: renesas,sh-msiof: Add generic Gen4 and r8a779f0 support spi: sh-msiof: add generic Gen4 binding spi: renesas,sh-msiof: R-Car V3U is R-Car Gen4 Xu Qiang (2): spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume() spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime() Yang Yingliang (8): spi: omap2-mcspi: Switch to use dev_err_probe() helper spi: xtensa-xtfpga: Switch to use devm_spi_alloc_master() spi: xilinx: Switch to use devm_spi_alloc_master() spi: s3c24xx: Switch to use devm_spi_alloc_master() spi: spi-fsl-dspi: Use devm_platform_get_and_ioremap_resource() spi: spi-fsl-lpspi: Use devm_platform_get_and_ioremap_resource() spi: spi-fsl-qspi: Use devm_platform_ioremap_resource_byname() spi: spi-gxp: Use devm_platform_ioremap_resource() Zhang Qilong (4): spi: img-spfi: using pm_runtime_resume_and_get instead of pm_runtime_get_sync spi: cadence-quadspi: Fix PM disable depth imbalance in cqspi_probe spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe ye xingchen (2): spi: pxa2xx: Remove the unneeded result variable spi: lpspi: Remove the unneeded result variable zhichao.liu (1): spi: mt65xx: Add dma max segment size declaration .../display/panel/kingdisplay,kd035g6-54nt.yaml | 2 + .../display/panel/leadtek,ltk035c5444t.yaml | 2 + .../bindings/display/panel/samsung,s6e63m0.yaml | 4 + .../bindings/spi/microchip,mpfs-spi.yaml | 15 +- .../devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 3 +- .../spi/nvidia,tegra210-quad-peripheral-props.yaml | 3 +- .../devicetree/bindings/spi/ralink,mt7621-spi.yaml | 61 +++ .../devicetree/bindings/spi/renesas,sh-msiof.yaml | 14 +- .../devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 1 - .../devicetree/bindings/spi/spi-controller.yaml | 5 + .../devicetree/bindings/spi/spi-fsl-lpspi.yaml | 14 +- .../devicetree/bindings/spi/spi-mt7621.txt | 26 - .../bindings/spi/spi-peripheral-props.yaml | 5 - .../devicetree/bindings/spi/spi-rockchip.yaml | 5 + MAINTAINERS | 1 + drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/spi-amd.c | 183 +++++-- drivers/spi/spi-aspeed-smc.c | 4 +- drivers/spi/spi-cadence-quadspi.c | 3 +- drivers/spi/spi-cadence-xspi.c | 4 +- drivers/spi/spi-dw-bt1.c | 4 +- drivers/spi/spi-dw-core.c | 2 +- drivers/spi/spi-fsl-dspi.c | 3 +- drivers/spi/spi-fsl-lpspi.c | 10 +- drivers/spi/spi-fsl-qspi.c | 3 +- drivers/spi/spi-fsl-spi.c | 157 ++---- drivers/spi/spi-gxp.c | 10 +- drivers/spi/spi-img-spfi.c | 6 +- drivers/spi/spi-intel.c | 164 +++++- drivers/spi/spi-loopback-test.c | 27 + drivers/spi/spi-meson-spicc.c | 8 +- drivers/spi/spi-microchip-core-qspi.c | 600 +++++++++++++++++++++ drivers/spi/spi-microchip-core.c | 4 +- drivers/spi/spi-mpc52xx.c | 35 +- drivers/spi/spi-mt65xx.c | 5 + drivers/spi/spi-mt7621.c | 42 +- drivers/spi/spi-npcm-pspi.c | 1 + drivers/spi/spi-nxp-fspi.c | 8 +- drivers/spi/spi-omap-100k.c | 1 + drivers/spi/spi-omap2-mcspi.c | 4 +- drivers/spi/spi-pxa2xx.c | 4 +- drivers/spi/spi-qup.c | 21 +- drivers/spi/spi-s3c24xx.c | 24 +- drivers/spi/spi-s3c64xx.c | 13 +- drivers/spi/spi-sh-msiof.c | 1 + drivers/spi/spi-stm32-qspi.c | 125 ++++- drivers/spi/spi-xilinx.c | 20 +- drivers/spi/spi-xtensa-xtfpga.c | 16 +- drivers/spi/spi.c | 157 ++++-- include/linux/spi/spi.h | 6 + 51 files changed, 1430 insertions(+), 416 deletions(-) create mode 100644 Documentation/devicetree/bindings/spi/ralink,mt7621-spi.yaml delete mode 100644 Documentation/devicetree/bindings/spi/spi-mt7621.txt create mode 100644 drivers/spi/spi-microchip-core-qspi.c . Date: Fri, 26 Jul 2024 19:38:48 +0100 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI fixes for v6.11-merge-window The following changes since commit 3048dc8ba46b7ba11581f2a7e06849af0df13136: spi: dt-bindings: at91: Add sama7d65 compatible string (2024-07-12 00:18:43 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v6.11-merge-window for you to fetch changes up to fc28d1c1fe3b3e2fbc50834c8f73dda72f6af9fc: spi: spidev: add correct compatible for Rohm BH2228FV (2024-07-18 11:17:09 +0100) ---------------------------------------------------------------- spi: Fixes for v6.11 The bulk of this is a series of fixes for the microchip-core driver mostly originating from one of their customers, I also applied an additional patch adding support for controlling the word size which came along with it since it's still the merge window and clearly had a bunch of fairly thorough testing. We also have a fix for the compatible used to bind spidev to the BH2228FV. ---------------------------------------------------------------- Conor Dooley (2): dt-bindings: trivial-devices: fix Rohm BH2228FV compatible string spi: spidev: add correct compatible for Rohm BH2228FV Naga Sureshkumar Relli (1): spi: microchip-core: fix the issues in the isr Steve Wilkins (5): spi: microchip-core: defer asserting chip select until just before write to TX FIFO spi: microchip-core: only disable SPI controller when register value change requires it spi: microchip-core: fix init function not setting the master and motorola modes spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer spi: microchip-core: add support for word sizes of 1 to 32 bits .../devicetree/bindings/trivial-devices.yaml | 4 +- drivers/spi/spi-microchip-core.c | 190 ++++++++++++--------- drivers/spi/spidev.c | 1 + 3 files changed, 114 insertions(+), 81 deletions(-) .