[PATCH v3] driver: pwm: pwm-imx: fix probing on imx6

Tom Rini trini at konsulko.com
Wed Aug 14 16:17:36 CEST 2024


On Wed, Aug 14, 2024 at 02:10:27PM +0200, Heiko Schocher wrote:

> U-Boot 2024.07 drops on aristainetos2 board the following
> warning:
> 
> 	Failed to enable per_clk
> 
> and bootlogo is not seen on LVDS display.
> 
> This patch uses old behaviour for systems without clock framework
> if CONFIG_CLK is not enabled.
> 
> Fixes: bfc778cb93a3 ("driver: pwm: pwm-imx: get and enable per/ipg clock using dm")
> Fixes: 4eea76574062 ("pwm: imx: Remove unused references to CONFIG_IMX6_PWM_PER_CLK")
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

I really do not like this and would like to see the clock migration also
enabled / completed on these platforms. Then we can also go and rip out
the non-DM_PWM code here.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240814/dc789864/attachment.sig>


More information about the U-Boot mailing list