linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3
@ 2022-09-19 11:23 Tony Lindgren
  2022-09-19 11:35 ` Krzysztof Kozlowski
  2022-09-29 19:00 ` Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Tony Lindgren @ 2022-09-19 11:23 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-kernel, linux-omap, Daniel Lezcano,
	Grygorii Strashko, Keerthy, Nishanth Menon, Vignesh Raghavendra

On K3 SoCs, the power-domains property is needed. On the earlier SoCs,
the power-domains property is handled by the interconnect target module
parent device.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Nishanth Menon <nm@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 .../devicetree/bindings/timer/ti,timer-dm.yaml  | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/ti,timer-dm.yaml b/Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
--- a/Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
+++ b/Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
@@ -51,6 +51,11 @@ properties:
       - const: timer_sys_ck
     minItems: 1
 
+  power-domains:
+    description:
+      Power domain if available
+    maxItems: 1
+
   interrupts:
     description:
       Interrupt if available. The timer PWM features may be usable
@@ -94,12 +99,14 @@ additionalProperties: false
 
 allOf:
   - if:
-      not:
-        properties:
-          compatible:
-            contains:
-              const: ti,am654-timer
+      properties:
+        compatible:
+          contains:
+            const: ti,am654-timer
     then:
+      required:
+        - power-domains
+    else:
       required:
         - interrupts
 
-- 
2.37.1

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

* Re: [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3
  2022-09-19 11:23 [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3 Tony Lindgren
@ 2022-09-19 11:35 ` Krzysztof Kozlowski
  2022-09-19 11:48   ` Tony Lindgren
  2022-09-29 19:00 ` Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-19 11:35 UTC (permalink / raw)
  To: Tony Lindgren, Rob Herring, Krzysztof Kozlowski
  Cc: devicetree, linux-arm-kernel, linux-omap, Daniel Lezcano,
	Grygorii Strashko, Keerthy, Nishanth Menon, Vignesh Raghavendra

On 19/09/2022 13:23, Tony Lindgren wrote:
> On K3 SoCs, the power-domains property is needed. On the earlier SoCs,
> the power-domains property is handled by the interconnect target module
> parent device.

Rebase your patch on recent Linux kernel and use get_maintainers.pl.

> 
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Grygorii Strashko <grygorii.strashko@ti.com>
> Cc: Keerthy <j-keerthy@ti.com>
> Cc: Nishanth Menon <nm@ti.com>
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof

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

* Re: [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3
  2022-09-19 11:35 ` Krzysztof Kozlowski
@ 2022-09-19 11:48   ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2022-09-19 11:48 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, devicetree, linux-arm-kernel,
	linux-omap, Daniel Lezcano, Grygorii Strashko, Keerthy,
	Nishanth Menon, Vignesh Raghavendra

* Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> [220919 11:27]:
> On 19/09/2022 13:23, Tony Lindgren wrote:
> > On K3 SoCs, the power-domains property is needed. On the earlier SoCs,
> > the power-domains property is handled by the interconnect target module
> > parent device.
> 
> Rebase your patch on recent Linux kernel and use get_maintainers.pl.

OK sorry about your old email address, noted :)

> > Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> > Cc: Grygorii Strashko <grygorii.strashko@ti.com>
> > Cc: Keerthy <j-keerthy@ti.com>
> > Cc: Nishanth Menon <nm@ti.com>
> > Cc: Vignesh Raghavendra <vigneshr@ti.com>
> > Signed-off-by: Tony Lindgren <tony@atomide.com>
> 
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Thanks,

Tony

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

* Re: [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3
  2022-09-19 11:23 [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3 Tony Lindgren
  2022-09-19 11:35 ` Krzysztof Kozlowski
@ 2022-09-29 19:00 ` Rob Herring
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-09-29 19:00 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-arm-kernel, Rob Herring, Keerthy, Krzysztof Kozlowski,
	Nishanth Menon, Daniel Lezcano, Vignesh Raghavendra, devicetree,
	linux-omap, Grygorii Strashko

On Mon, 19 Sep 2022 14:23:57 +0300, Tony Lindgren wrote:
> On K3 SoCs, the power-domains property is needed. On the earlier SoCs,
> the power-domains property is handled by the interconnect target module
> parent device.
> 
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Grygorii Strashko <grygorii.strashko@ti.com>
> Cc: Keerthy <j-keerthy@ti.com>
> Cc: Nishanth Menon <nm@ti.com>
> Cc: Vignesh Raghavendra <vigneshr@ti.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
>  .../devicetree/bindings/timer/ti,timer-dm.yaml  | 17 ++++++++++++-----
>  1 file changed, 12 insertions(+), 5 deletions(-)
> 

Applied, thanks!

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

end of thread, other threads:[~2022-09-29 19:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-19 11:23 [PATCH] dt-bindings: timer: Add power-domains for TI timer-dm on K3 Tony Lindgren
2022-09-19 11:35 ` Krzysztof Kozlowski
2022-09-19 11:48   ` Tony Lindgren
2022-09-29 19:00 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).