[PATCH 1/2] dt-bindings: pwm: nxp,lpc32xx-pwm: Specify clocks property as mandatory
Vladimir Zapolskiy
vz at mleia.com
Sun Dec 28 14:49:06 PST 2025
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 at mleia.com>
---
Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml b/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
index d8ebb0735c96..cdd83ac29caf 100644
--- a/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
@@ -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 at 4005c000 {
compatible = "nxp,lpc3220-pwm";
reg = <0x4005c000 0x4>;
+ clocks = <&clk LPC32XX_CLK_PWM1>;
#pwm-cells = <3>;
};
--
2.43.0
More information about the linux-arm-kernel
mailing list