[PATCH v2 5/9] imx8m: clock: add enable_pwm_clk function

Tommaso Merciai tommaso.merciai at amarulasolutions.com
Wed Mar 16 16:27:41 CET 2022


Add enable_pwm_clk function in clock.h

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/include/asm/arch-imx8m/clock.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/arch-imx8m/clock.h b/arch/arm/include/asm/arch-imx8m/clock.h
index 50359d8e46..e320025990 100644
--- a/arch/arm/include/asm/arch-imx8m/clock.h
+++ b/arch/arm/include/asm/arch-imx8m/clock.h
@@ -278,3 +278,4 @@ int set_clk_enet(enum enet_freq type);
 int set_clk_eqos(enum enet_freq type);
 void hab_caam_clock_enable(unsigned char enable);
 void enable_usboh3_clk(unsigned int enable);
+void enable_pwm_clk(u32 index, unsigned char enable);
-- 
2.25.1



More information about the U-Boot mailing list