[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240125151630.753318-7-tudor.ambarus@linaro.org>
Date: Thu, 25 Jan 2024 15:16:29 +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 6/7] ARM: dts: samsung: exynos5433: 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.
The FIFO sizes were determined based on the SPI aliases that are defined
in exynos5433-tm2-common.dtsi.
Signed-off-by: Tudor Ambarus <tudor.ambarus@...aro.org>
---
arch/arm64/boot/dts/exynos/exynos5433.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
index 7fbbec04bff0..b5c898703e3b 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi
@@ -1468,6 +1468,7 @@ spi_0: spi@...20000 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_bus>;
num-cs = <1>;
+ samsung,spi-fifosize = <256>;
status = "disabled";
};
@@ -1487,6 +1488,7 @@ spi_1: spi@...30000 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_bus>;
num-cs = <1>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1506,6 +1508,7 @@ spi_2: spi@...40000 {
pinctrl-names = "default";
pinctrl-0 = <&spi2_bus>;
num-cs = <1>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1525,6 +1528,7 @@ spi_3: spi@...50000 {
pinctrl-names = "default";
pinctrl-0 = <&spi3_bus>;
num-cs = <1>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
@@ -1544,6 +1548,7 @@ spi_4: spi@...00000 {
pinctrl-names = "default";
pinctrl-0 = <&spi4_bus>;
num-cs = <1>;
+ samsung,spi-fifosize = <64>;
status = "disabled";
};
--
2.43.0.429.g432eaa2c6b-goog
Powered by blists - more mailing lists