[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241126134529.936451-2-va@nvidia.com>
Date: Tue, 26 Nov 2024 13:45:27 +0000
From: Vishwaroop A <va@...dia.com>
To: <robh@...nel.org>, <jonathanh@...dia.com>, <krzk+dt@...nel.org>,
<conor+dt@...nel.org>, <thierry.reding@...il.com>, <broonie@...nel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-tegra@...r.kernel.org>, <linux-spi@...r.kernel.org>
CC: Vishwaroop A <va@...dia.com>
Subject: [PATCH 1/3] arm64: tegra: Add spidev nodes for SPI controllers
Add spidev nodes to two existing SPI controllers on the
NVIDIA Tegra234 SoC. These additions enable user-space
SPI device support for testing and development purposes.
Specifies a maximum frequency of 81MHz for each spidev node.
The 81MHz maximum frequency is defined to ensure stable operation
while allowing for high-speed SPI communication. This frequency
can be adjusted based on specific hardware capabilities and
requirements.
Signed-off-by: Vishwaroop A <va@...dia.com>
---
.../dts/nvidia/tegra234-p3737-0000+p3701.dtsi | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701.dtsi
index f6cad29355e6..17de3d0feb45 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701.dtsi
@@ -84,6 +84,34 @@
};
};
+ spi@...0000 {
+ status = "okay";
+ spi@0 {
+ compatible = "nvidia,tegra-spidev";
+ reg = <0x0>;
+ spi-max-frequency = <81000000>;
+ };
+ spi@1 {
+ compatible = "nvidia,tegra-spidev";
+ reg = <0x1>;
+ spi-max-frequency = <81000000>;
+ };
+ };
+
+ spi@...0000 {
+ status = "okay";
+ spi@0 {
+ compatible = "nvidia,tegra-spidev";
+ reg = <0x0>;
+ spi-max-frequency = <81000000>;
+ };
+ spi@1 {
+ compatible = "nvidia,tegra-spidev";
+ reg = <0x1>;
+ spi-max-frequency = <81000000>;
+ };
+ };
+
pwm@...0000 {
status = "okay";
};
--
2.17.1
Powered by blists - more mailing lists