Commit 3b684d04 authored by Tony Lindgren's avatar Tony Lindgren Committed by Rob Herring
Browse files

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: default avatarTony Lindgren <tony@atomide.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220919112357.64997-1-tony@atomide.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent b6acf807
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -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
    then:
      required:
        - power-domains
    else:
      required:
        - interrupts