Skip to content

Commit

Permalink
dt-bindings: timer: Add power-domains for TI timer-dm on K3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren authored and Rob Herring committed Sep 29, 2022
1 parent b6acf80 commit 3b684d0
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 3b684d0

Please sign in to comment.