Skip to content

Commit 3b684d0

Browse files
tmlindrobherring
authored andcommitted
dt-bindings: timer: Add power-domains for TI timer-dm on K3
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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220919112357.64997-1-tony@atomide.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent b6acf80 commit 3b684d0

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Documentation/devicetree/bindings/timer/ti,timer-dm.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ properties:
5151
- const: timer_sys_ck
5252
minItems: 1
5353

54+
power-domains:
55+
description:
56+
Power domain if available
57+
maxItems: 1
58+
5459
interrupts:
5560
description:
5661
Interrupt if available. The timer PWM features may be usable
@@ -94,12 +99,14 @@ additionalProperties: false
9499

95100
allOf:
96101
- if:
97-
not:
98-
properties:
99-
compatible:
100-
contains:
101-
const: ti,am654-timer
102+
properties:
103+
compatible:
104+
contains:
105+
const: ti,am654-timer
102106
then:
107+
required:
108+
- power-domains
109+
else:
103110
required:
104111
- interrupts
105112

0 commit comments

Comments
 (0)