diff mbox series

arm64: tegra: Enable PWM3 for Jetson Orin

Message ID 20221025142538.33156-1-jonathanh@nvidia.com
State Accepted
Headers show
Series arm64: tegra: Enable PWM3 for Jetson Orin | expand

Commit Message

Jon Hunter Oct. 25, 2022, 2:25 p.m. UTC
Enable PMW3 for the Jetson AGX Orin platform which is used for
operating the PWM Fan.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 .../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts      | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Thierry Reding Nov. 3, 2022, 3:22 p.m. UTC | #1
On Tue, Oct 25, 2022 at 03:25:38PM +0100, Jon Hunter wrote:
> Enable PMW3 for the Jetson AGX Orin platform which is used for
> operating the PWM Fan.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  .../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts      | 6 ++++++
>  1 file changed, 6 insertions(+)

I've squashed this into the same patch that enables the fan.

Thanks,
Thierry
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
index f7a1265cee97..df703fb0cfff 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -2012,6 +2012,12 @@  serial@31d0000 {
 			status = "okay";
 		};
 
+		pwm@32a0000 {
+			assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
+			assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
+			status = "okay";
+		};
+
 		hda@3510000 {
 			nvidia,model = "NVIDIA Jetson AGX Orin HDA";
 			status = "okay";