Skip to content

Commit b0dc6c6

Browse files
vzapolskiyUwe Kleine-König
authored andcommitted
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: Vladimir Zapolskiy <vz@mleia.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20251228224907.1729627-2-vz@mleia.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
1 parent 269febe commit b0dc6c6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ properties:
2727
required:
2828
- compatible
2929
- reg
30+
- clocks
3031
- '#pwm-cells'
3132

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

3738
examples:
3839
- |
40+
#include <dt-bindings/clock/lpc32xx-clock.h>
41+
3942
pwm@4005c000 {
4043
compatible = "nxp,lpc3220-pwm";
4144
reg = <0x4005c000 0x4>;
45+
clocks = <&clk LPC32XX_CLK_PWM1>;
4246
#pwm-cells = <3>;
4347
};
4448

0 commit comments

Comments
 (0)