Commit b0dc6c6e authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Uwe Kleine-König
Browse files

dt-bindings: pwm: nxp,lpc32xx-pwm: Specify clocks property as mandatory



Both described in the binding PWM controllers depend on supply clocks,
thus it's necessary to specify 'clocks' property in the correspondent
device tree nodes.

Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251228224907.1729627-2-vz@mleia.com


Signed-off-by: default avatarUwe Kleine-König <ukleinek@kernel.org>
parent 269febe7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ properties:
required:
  - compatible
  - reg
  - clocks
  - '#pwm-cells'

allOf:
@@ -36,9 +37,12 @@ unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/lpc32xx-clock.h>

    pwm@4005c000 {
        compatible = "nxp,lpc3220-pwm";
        reg = <0x4005c000 0x4>;
        clocks = <&clk LPC32XX_CLK_PWM1>;
        #pwm-cells = <3>;
    };