[PATCH v2 4/8] pwm: mediatek: Initialize clks when the hardware is enabled at probe time

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Aug 4 01:49:33 PDT 2025


Il 25/07/25 17:45, Uwe Kleine-König ha scritto:
> When a PWM is already configured by the bootloader (e.g. to power a
> backlight), the clk enable count must be increased to keep clock usage
> balanced. So check which PWMs are enabled during probe and enable the
> respective clocks.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list