mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP
@ 2026-10-21 15:03 Krzysztof Kaszubski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kaszubski @ 2026-10-21 15:03 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Fabio Estevam, Pengutronix Kernel Team, Alice Guo, Peng Fan, imx,
	devicetree, linux-arm-kernel, linux-kernel, Krzysztof Kaszubski

Add the Low Power Timer/Pulse Width Modulation Module 6 (TPM6)
node to the i.MX 7ULP device tree.

TPM6 is located in the Application Domain (Cortex-A7) at base
address 0x40a10000. This enables PWM and timer support for
peripherals connected to this domain, such as display backlight
controllers.

Signed-off-by: Krzysztof Kaszubski <sympthicode@gmail.com>
---
v2:
 - sort TPM6 node by unit address

 arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
index 39e37ae9b2b1..6240750b84dc 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
@@ -366,6 +366,16 @@ ahbbridge1: bus@40800000 {
 		reg = <0x40800000 0x800000>;
 		ranges;
 
+		tpm6: pwm@40a10000 {
+			compatible = "fsl,imx7ulp-pwm";
+			reg = <0x40a10000 0x1000>;
+			assigned-clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>;
+			clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		lpi2c6: i2c@40a40000 {
 			compatible = "fsl,imx7ulp-lpi2c";
 			reg = <0x40a40000 0x10000>;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP
  2026-10-21 12:35 ` [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM " Krzysztof Kaszubski
@ 2026-10-21 14:42   ` Frank Li
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Li @ 2026-10-21 14:42 UTC (permalink / raw)
  To: Krzysztof Kaszubski
  Cc: Frank Li, Sascha Hauer, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Fabio Estevam, Pengutronix Kernel Team, Alice Guo,
	Peng Fan, imx, devicetree, linux-arm-kernel, linux-kernel

On Wed, Oct 21, 2026 at 02:35:19PM +0200, Krzysztof Kaszubski wrote:
> [You don't often get email from sympthicode@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Add the Low Power Timer/Pulse Width Modulation Module 6 (TPM6)
> node to the i.MX 7ULP device tree.
>
> TPM6 is located in the Application Domain (Cortex-A7) at base
> address 0x40a10000. This enables PWM and timer support for
> peripherals connected to this domain, such as display backlight
> controllers.
>
> Signed-off-by: Krzysztof Kaszubski <sympthicode@gmail.com>
> ---
> v2:

Please slow down and avoid post new patch in old thread, which will confuse
patchwork or other tools.

Frank

>  - Move tpm6 node under ahbbridge1 (bus@40800000), before lpi2c6@40a40000
>    (reported by DT bot)
>  - Fix author/Signed-off-by email typo (simpthicode -> sympthicode)
>
>  arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> index 39e37ae9b2b1..6240750b84dc 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
> @@ -366,6 +366,16 @@ ahbbridge1: bus@40800000 {
>                 reg = <0x40800000 0x800000>;
>                 ranges;
>
> +               tpm6: pwm@40a10000 {
> +                       compatible = "fsl,imx7ulp-pwm";
> +                       reg = <0x40a10000 0x1000>;
> +                       assigned-clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
> +                       assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>;
> +                       clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
> +                       #pwm-cells = <3>;
> +                       status = "disabled";
> +               };
> +
>                 lpi2c6: i2c@40a40000 {
>                         compatible = "fsl,imx7ulp-lpi2c";
>                         reg = <0x40a40000 0x10000>;
> --
> 2.43.0
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP
  2026-10-21  8:45 [PATCH] ARM: dts: imx7ulp: add "tpm6" pwm " Krzysztof Kaszubski
@ 2026-10-21 12:35 ` Krzysztof Kaszubski
  2026-10-21 14:42   ` Frank Li
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kaszubski @ 2026-10-21 12:35 UTC (permalink / raw)
  To: Frank Li, Sascha Hauer, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Fabio Estevam, Pengutronix Kernel Team, Alice Guo, Peng Fan, imx,
	devicetree, linux-arm-kernel, linux-kernel

Add the Low Power Timer/Pulse Width Modulation Module 6 (TPM6)
node to the i.MX 7ULP device tree.

TPM6 is located in the Application Domain (Cortex-A7) at base
address 0x40a10000. This enables PWM and timer support for
peripherals connected to this domain, such as display backlight
controllers.

Signed-off-by: Krzysztof Kaszubski <sympthicode@gmail.com>
---
v2:
 - Move tpm6 node under ahbbridge1 (bus@40800000), before lpi2c6@40a40000
   (reported by DT bot)
 - Fix author/Signed-off-by email typo (simpthicode -> sympthicode)

 arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
index 39e37ae9b2b1..6240750b84dc 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7ulp.dtsi
@@ -366,6 +366,16 @@ ahbbridge1: bus@40800000 {
 		reg = <0x40800000 0x800000>;
 		ranges;
 
+		tpm6: pwm@40a10000 {
+			compatible = "fsl,imx7ulp-pwm";
+			reg = <0x40a10000 0x1000>;
+			assigned-clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			assigned-clock-parents = <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>;
+			clocks = <&pcc3 IMX7ULP_CLK_LPTPM6>;
+			#pwm-cells = <3>;
+			status = "disabled";
+		};
+
 		lpi2c6: i2c@40a40000 {
 			compatible = "fsl,imx7ulp-lpi2c";
 			reg = <0x40a40000 0x10000>;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-21 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-21 15:03 [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM node to i.MX7ULP Krzysztof Kaszubski
  -- strict thread matches above, loose matches on Subject: below --
2026-10-21  8:45 [PATCH] ARM: dts: imx7ulp: add "tpm6" pwm " Krzysztof Kaszubski
2026-10-21 12:35 ` [PATCH v2] ARM: dts: imx7ulp: Add TMP6 PWM " Krzysztof Kaszubski
2026-10-21 14:42   ` Frank Li

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®