]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: socfpga: stratix10: Add 4-bit SPI bus width
authorFong, Yan Kei <yan.kei.fong@altera.com>
Thu, 11 Sep 2025 01:58:10 +0000 (09:58 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 15 Oct 2025 03:06:22 +0000 (22:06 -0500)
Add spi-tx-bus-width and spi-rx-bus-width properties with value 4 to the
stratix10 device tree. This update configures the SPI controller to use a
4-bit bus width for both transmission and reception, potentially improving
SPI throughput and matching the hardware capabilities more closely.

Signed-off-by: Fong, Yan Kei <yan.kei.fong@altera.com>
Reviewed-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts

index 4eee777ef1a149f00b26bfc70d31cd7c6c4caa27..6ff6ea0c6b2df64a0c9938bd2047b8ae7a566ca8 100644 (file)
                cdns,tsd2d-ns = <50>;
                cdns,tchsh-ns = <4>;
                cdns,tslch-ns = <4>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
 
                partitions {
                        compatible = "fixed-partitions";