[PATCH] clk: imx6q: Add definition for IMX6QDL_CLK_PWM1

Fabio Estevam festevam at gmail.com
Mon Jul 22 23:05:19 CEST 2024


On Fri, Jul 12, 2024 at 8:10 PM Emil Kronborg
<emil.kronborg at protonmail.com> wrote:
>
> Enabling CONFIG_CMD_PWM, and consequently CONFIG_DM_PWM, causes the pwm
> command to fail due to a missing clock.
>
>     => pwm enable 0 0
>     Enable clock-controller at 20c4000 failed
>     Failed to enable per_clk
>     pwm: '0' not found
>     Command 'pwm' failed: Error -2
>
> Note that it is trivial to also add the clocks for PWM2, PWM3, and PWM4.
> However, I only tested PWM1 and thus only added the clock for that
> signal.
>
> Signed-off-by: Emil Kronborg <emil.kronborg at protonmail.com>

Applied, thanks.


More information about the U-Boot mailing list