]> Git Repo - J-linux.git/commitdiff
ARM: dts: samsung: s5pv210: specify the SPI FIFO depth
authorTudor Ambarus <[email protected]>
Fri, 16 Feb 2024 14:04:49 +0000 (14:04 +0000)
committerKrzysztof Kozlowski <[email protected]>
Mon, 25 Mar 2024 11:13:04 +0000 (12:13 +0100)
Up to now the SPI alias was used as an index into an array defined in
the SPI driver to determine the SPI FIFO depth. Drop the dependency on
the SPI alias and specify the SPI FIFO depth directly into the SPI node.

The SPI nodes defined in s5pv210.dtsi are not enabled in any board file.
No SPI aliases are defined, thus choose the FIFO depth using common
sense: index 0 of the array for spi0, and index 1 for spi1.
No functional change expected.

Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
arch/arm/boot/dts/samsung/s5pv210.dtsi

index 9720573d84dcbdd78f7d09b6e300e9b41fe29aae..34e8a3d5efa51f911e0a1f3e18035f516303043d 100644 (file)
                        pinctrl-0 = <&spi0_bus>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       fifo-depth = <256>;
                        status = "disabled";
                };
 
                        pinctrl-0 = <&spi1_bus>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       fifo-depth = <64>;
                        status = "disabled";
                };
 
This page took 0.072143 seconds and 4 git commands to generate.