]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: dt-bindings: sun6i: Allow Dual SPI and Quad SPI for newer SoCs
authorChen-Yu Tsai <wens@kernel.org>
Mon, 2 Mar 2026 15:35:56 +0000 (23:35 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2026 11:34:10 +0000 (11:34 +0000)
commit743956bb9990214ff1dac66ef59e27221dc3c2d8
tree1ed8fab93c00311af2f47927502c16aa2bf0e1b5
parent85b731ad4bbf6eb3fedf267ab00be3596f148432
spi: dt-bindings: sun6i: Allow Dual SPI and Quad SPI for newer SoCs

Support for Dual SPI and Quad SPI was added to the Linux driver in
commit 0605d9fb411f ("spi: sun6i: add quirk for dual and quad SPI modes
support") and commit 25453d797d7a ("spi: sun6i: add dual and quad SPI
modes support for R329/D1/R528/T113s").

However the binding was never updated to allow these modes. Allow them
by adding 2 and 4 to the allowed bus widths for the newer variants.

While at it, also add 0 to the allowed bus widths. This signals that
RX or TX is not available, i.e. the MISO or MOSI pin is disconnected.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Link: https://patch.msgid.link/20260302153559.3199783-2-wens@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml