Skip to content
/ linux Public

Commit db70c9c

Browse files
vzapolskiySasha Levin
authored andcommitted
arm: dts: lpc32xx: add clocks property to Motor Control PWM device tree node
[ Upstream commit 71630e5 ] Motor Control PWM depends on its own supply clock, the clock gate control is present in TIMCLK_CTRL1 register. Fixes: b7d41c9 ("ARM: LPC32xx: Add the motor PWM to base dts file") Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 36eb4f5 commit db70c9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/boot/dts/lpc32xx.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@
301301
mpwm: mpwm@400e8000 {
302302
compatible = "nxp,lpc3220-motor-pwm";
303303
reg = <0x400e8000 0x78>;
304+
clocks = <&clk LPC32XX_CLK_MCPWM>;
304305
#pwm-cells = <3>;
305306
status = "disabled";
306307
};

0 commit comments

Comments
 (0)