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>
This commit is contained in:
Vladimir Zapolskiy
2025-12-29 00:49:06 +02:00
committed by Uwe Kleine-König
parent 269febe774
commit b0dc6c6e97

View File

@@ -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>;
};