[PATCH v2 4/9] arm: imx: imx8mm: add enable_pwm_clk function
Marek Vasut
marex at denx.de
Wed Mar 16 21:54:34 CET 2022
On 3/16/22 16:27, Tommaso Merciai wrote:
> Add function enable_pwm_clk into in clock_imx8mm.c. This
> function first configure, then enable pwm clock from clock control
> register. The following configuration is used:
>
> source(0) -> 24 MHz ref clock
> div(0) -> no division for this clock
>
> References:
> - iMX8MMRM.pdf p 303
>
> Signed-off-by: Tommaso Merciai <tommaso.merciai at amarulasolutions.com>
> ---
> Changes since v1:
> - Fix enable_pwm_clk function implementation. Now is generic for all pwm clks
>
> arch/arm/mach-imx/imx8m/clock_imx8mm.c | 53 ++++++++++++++++++++++++++
> 1 file changed, 53 insertions(+)
Why is this not in drivers/clk/imx/ DM driver ?
More information about the U-Boot
mailing list