
16 Mar
2022
16 Mar
'22
9:54 p.m.
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@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 ?