]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: socfpga: n5x: Add 4-bit SPI bus width
authorFong, Yan Kei <yan.kei.fong@altera.com>
Thu, 11 Sep 2025 01:58:09 +0000 (09:58 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 15 Oct 2025 03:05:20 +0000 (22:05 -0500)
Add spi-tx-bus-width and spi-rx-bus-width properties with value 4 to the
n5x 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/intel/socfpga_n5x_socdk.dts

index 7952c7f47cc2f8177031c272b70d565b1c32b27d..0034a489722092032e065233c42e4d332c840668 100644 (file)
@@ -93,6 +93,8 @@
                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";