[PATCH 7/7] ARM: dts: samsung: exynosautov9: specify the SPI fifosize
Tudor Ambarus
tudor.ambarus at linaro.org
Thu Jan 25 07:16:30 PST 2024
Up to now the SPI alias was used as an index into an array defined in
the SPI driver to determine the SPI FIFO size. Drop the dependency on
the SPI alias and specify the SPI FIFO size directly into the SPI node.
There are no SPI aliases defined, thus the FIFO size was determined by
matching the FIFO size of the I2C node of the same USI parent.
Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
---
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index c871a2f49fda..3615da60dc9a 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -435,6 +435,7 @@ spi_0: spi at 10300000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -526,6 +527,7 @@ spi_1: spi at 10320000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -617,6 +619,7 @@ spi_2: spi at 10340000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -708,6 +711,7 @@ spi_3: spi at 10360000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -799,6 +803,7 @@ spi_4: spi at 10380000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -890,6 +895,7 @@ spi_5: spi at 103a0000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -981,6 +987,7 @@ spi_6: spi at 10900000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -1072,6 +1079,7 @@ spi_7: spi at 10920000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1163,6 +1171,7 @@ spi_8: spi at 10940000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1254,6 +1263,7 @@ spi_9: spi at 10960000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1345,6 +1355,7 @@ spi_10: spi at 10980000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1434,6 +1445,7 @@ spi_11: spi at 109a0000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
--
2.43.0.429.g432eaa2c6b-goog
More information about the linux-arm-kernel
mailing list