* [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs
@ 2024-06-03 11:29 Udit Kumar
2024-06-21 15:21 ` Vignesh Raghavendra
2024-06-22 6:17 ` Vignesh Raghavendra
0 siblings, 2 replies; 3+ messages in thread
From: Udit Kumar @ 2024-06-03 11:29 UTC (permalink / raw)
To: vigneshr, nm
Cc: kristo, robh, krzk+dt, conor+dt, linux-arm-kernel, devicetree,
linux-kernel, Dasnavis Sabiya, Udit Kumar
From: Dasnavis Sabiya <sabiya.d@ti.com>
Add dts nodes for 6 EHRPWM instances on SoC.
Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 66 ++++++++++++++++++++++
1 file changed, 66 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
index 6a4554c6c9c1..f6fc2ce55f9b 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
@@ -75,6 +75,72 @@ serdes_ln_ctrl: mux-controller@4080 {
<J784S4_SERDES4_LANE2_EDP_LANE2>,
<J784S4_SERDES4_LANE3_EDP_LANE3>;
};
+
+ ehrpwm_tbclk: clock-controller@4140 {
+ compatible = "ti,am654-ehrpwm-tbclk";
+ reg = <0x4140 0x18>;
+ #clock-cells = <1>;
+ };
+ };
+
+ main_ehrpwm0: pwm@3000000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3000000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 0>, <&k3_clks 219 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 219 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+ };
+
+ main_ehrpwm1: pwm@3010000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3010000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 1>, <&k3_clks 220 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 220 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+ };
+
+ main_ehrpwm2: pwm@3020000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3020000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 2>, <&k3_clks 221 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 221 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+ };
+
+ main_ehrpwm3: pwm@3030000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3030000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 3>, <&k3_clks 222 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 222 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+ };
+
+ main_ehrpwm4: pwm@3040000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3040000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 4>, <&k3_clks 223 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 223 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
+ };
+
+ main_ehrpwm5: pwm@3050000 {
+ compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
+ #pwm-cells = <3>;
+ reg = <0x00 0x3050000 0x00 0x100>;
+ clocks = <&ehrpwm_tbclk 5>, <&k3_clks 224 0>;
+ clock-names = "tbclk", "fck";
+ power-domains = <&k3_pds 224 TI_SCI_PD_EXCLUSIVE>;
+ status = "disabled";
};
gic500: interrupt-controller@1800000 {
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs
2024-06-03 11:29 [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs Udit Kumar
@ 2024-06-21 15:21 ` Vignesh Raghavendra
2024-06-22 6:17 ` Vignesh Raghavendra
1 sibling, 0 replies; 3+ messages in thread
From: Vignesh Raghavendra @ 2024-06-21 15:21 UTC (permalink / raw)
To: Udit Kumar, nm
Cc: kristo, robh, krzk+dt, conor+dt, linux-arm-kernel, devicetree,
linux-kernel, Dasnavis Sabiya
On 03/06/24 16:59, Udit Kumar wrote:
> From: Dasnavis Sabiya <sabiya.d@ti.com>
>
> Add dts nodes for 6 EHRPWM instances on SoC.
>
> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
> Signed-off-by: Udit Kumar <u-kumar1@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 66 ++++++++++++++++++++++
> 1 file changed, 66 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> index 6a4554c6c9c1..f6fc2ce55f9b 100644
> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
> @@ -75,6 +75,72 @@ serdes_ln_ctrl: mux-controller@4080 {
> <J784S4_SERDES4_LANE2_EDP_LANE2>,
> <J784S4_SERDES4_LANE3_EDP_LANE3>;
> };
> +
> + ehrpwm_tbclk: clock-controller@4140 {
> + compatible = "ti,am654-ehrpwm-tbclk";
> + reg = <0x4140 0x18>;
> + #clock-cells = <1>;
> + };
> + };
> +
> + main_ehrpwm0: pwm@3000000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
This needs to be ordered as per
https://www.kernel.org/doc/Documentation/devicetree/bindings/dts-coding-style.rst
(compatible is immediately followed by reg)
Will fix all the nodes locally before merging
> + reg = <0x00 0x3000000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 0>, <&k3_clks 219 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 219 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> + };
> +
> + main_ehrpwm1: pwm@3010000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x00 0x3010000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 1>, <&k3_clks 220 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 220 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> + };
> +
> + main_ehrpwm2: pwm@3020000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x00 0x3020000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 2>, <&k3_clks 221 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 221 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> + };
> +
> + main_ehrpwm3: pwm@3030000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x00 0x3030000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 3>, <&k3_clks 222 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 222 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> + };
> +
> + main_ehrpwm4: pwm@3040000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x00 0x3040000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 4>, <&k3_clks 223 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 223 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> + };
> +
> + main_ehrpwm5: pwm@3050000 {
> + compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
> + #pwm-cells = <3>;
> + reg = <0x00 0x3050000 0x00 0x100>;
> + clocks = <&ehrpwm_tbclk 5>, <&k3_clks 224 0>;
> + clock-names = "tbclk", "fck";
> + power-domains = <&k3_pds 224 TI_SCI_PD_EXCLUSIVE>;
> + status = "disabled";
> };
>
> gic500: interrupt-controller@1800000 {
--
Regards
Vignesh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs
2024-06-03 11:29 [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs Udit Kumar
2024-06-21 15:21 ` Vignesh Raghavendra
@ 2024-06-22 6:17 ` Vignesh Raghavendra
1 sibling, 0 replies; 3+ messages in thread
From: Vignesh Raghavendra @ 2024-06-22 6:17 UTC (permalink / raw)
To: nm, Udit Kumar
Cc: Vignesh Raghavendra, kristo, robh, krzk+dt, conor+dt,
linux-arm-kernel, devicetree, linux-kernel, Dasnavis Sabiya
Hi Udit Kumar,
On Mon, 03 Jun 2024 16:59:38 +0530, Udit Kumar wrote:
> Add dts nodes for 6 EHRPWM instances on SoC.
>
>
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/1] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs
commit: f53f477bfcb8aa7490b3bd3030e3bef1b95dbdce
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-22 6:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-03 11:29 [PATCH] arm64: dts: ti: k3-j784s4-main: Add node for EHRPWMs Udit Kumar
2024-06-21 15:21 ` Vignesh Raghavendra
2024-06-22 6:17 ` Vignesh Raghavendra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®