From: Vladimir Zapolskiy Date: Sun, 28 Dec 2025 22:49:06 +0000 (+0200) Subject: dt-bindings: pwm: nxp,lpc32xx-pwm: Specify clocks property as mandatory X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0dc6c6e97101a5d17d18be62c39817f38590da3;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Rob Herring (Arm) Link: https://patch.msgid.link/20251228224907.1729627-2-vz@mleia.com Signed-off-by: Uwe Kleine-König --- diff --git a/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml b/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml index d8ebb0735c96e..cdd83ac29caf9 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 + pwm@4005c000 { compatible = "nxp,lpc3220-pwm"; reg = <0x4005c000 0x4>; + clocks = <&clk LPC32XX_CLK_PWM1>; #pwm-cells = <3>; };