[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240125151630.753318-8-tudor.ambarus@linaro.org>
Date: Thu, 25 Jan 2024 15:16:30 +0000
From: Tudor Ambarus <tudor.ambarus@...aro.org>
To: krzysztof.kozlowski+dt@...aro.org,
broonie@...nel.org
Cc: robh+dt@...nel.org,
conor+dt@...nel.org,
alim.akhtar@...sung.com,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-spi@...r.kernel.org,
andre.draszik@...aro.org,
peter.griffin@...aro.org,
semen.protsenko@...aro.org,
kernel-team@...roid.com,
willmcvicker@...gle.com,
Tudor Ambarus <tudor.ambarus@...aro.org>
Subject: [PATCH 7/7] ARM: dts: samsung: exynosautov9: specify the SPI fifosize
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@...aro.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@...00000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -526,6 +527,7 @@ spi_1: spi@...20000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -617,6 +619,7 @@ spi_2: spi@...40000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -708,6 +711,7 @@ spi_3: spi@...60000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -799,6 +803,7 @@ spi_4: spi@...80000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -890,6 +895,7 @@ spi_5: spi@...a0000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -981,6 +987,7 @@ spi_6: spi@...00000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -1072,6 +1079,7 @@ spi_7: spi@...20000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1163,6 +1171,7 @@ spi_8: spi@...40000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1254,6 +1263,7 @@ spi_9: spi@...60000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1345,6 +1355,7 @@ spi_10: spi@...80000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1434,6 +1445,7 @@ spi_11: spi@...a0000 {
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
--
2.43.0.429.g432eaa2c6b-goog
Powered by blists - more mailing lists