]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm: dts: lpc32xx: add clocks property to Motor Control PWM device tree node
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 28 Dec 2025 22:49:07 +0000 (00:49 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Sat, 10 Jan 2026 01:47:36 +0000 (03:47 +0200)
Motor Control PWM depends on its own supply clock, the clock gate control
is present in TIMCLK_CTRL1 register.

Fixes: b7d41c937ed7 ("ARM: LPC32xx: Add the motor PWM to base dts file")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi

index e89ef62f9fbb0aebd43d1f5a7e4d528c146270ae..7fa91d1ac9eaa98cc676208a606e0d06f8cadf49 100644 (file)
                        mpwm: pwm@400e8000 {
                                compatible = "nxp,lpc3220-motor-pwm";
                                reg = <0x400e8000 0x78>;
+                               clocks = <&clk LPC32XX_CLK_MCPWM>;
                                #pwm-cells = <3>;
                                status = "disabled";
                        };