2022-09-19 14:35:58

by Sandipan Patra

[permalink] [raw]
Subject: [PATCH v5 3/3] arm64: tegra: Add user PWM support on Jetson Orin

Enable in device tree and use it to drive the PWM controllers on
40 pin header of Orin dev-kit.

Signed-off-by: Sandipan Patra <[email protected]>
---
V1->V2: Overriding by node label instead of node path.

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
index a85993c85e45..5108013a18c6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
@@ -3,3 +3,15 @@
/ {
compatible = "nvidia,p3737-0000";
};
+
+&pwm1 {
+ status = "okay";
+};
+
+&pwm5 {
+ status = "okay";
+};
+
+&pwm8 {
+ status = "okay";
+};
--
2.17.1


2022-11-03 13:02:28

by Thierry Reding

[permalink] [raw]
Subject: Re: [PATCH v5 3/3] arm64: tegra: Add user PWM support on Jetson Orin

On Mon, Sep 19, 2022 at 07:44:55PM +0530, Sandipan Patra wrote:
> Enable in device tree and use it to drive the PWM controllers on
> 40 pin header of Orin dev-kit.
>
> Signed-off-by: Sandipan Patra <[email protected]>
> ---
> V1->V2: Overriding by node label instead of node path.
>
> arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)

Applied, thanks.

Thierry


Attachments:
(No filename) (435.00 B)
signature.asc (849.00 B)
Download all attachments