Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Vladimir Zapolskiy and committed by
Uwe Kleine-König
b0dc6c6e 269febe7

+4
+4
Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
··· 27 27 required: 28 28 - compatible 29 29 - reg 30 + - clocks 30 31 - '#pwm-cells' 31 32 32 33 allOf: ··· 37 36 38 37 examples: 39 38 - | 39 + #include <dt-bindings/clock/lpc32xx-clock.h> 40 + 40 41 pwm@4005c000 { 41 42 compatible = "nxp,lpc3220-pwm"; 42 43 reg = <0x4005c000 0x4>; 44 + clocks = <&clk LPC32XX_CLK_PWM1>; 43 45 #pwm-cells = <3>; 44 46 }; 45 47