Re: [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks
From: Xianwei Zhao
Date: Tue Dec 01 2026 - 05:03:29 EST
Hi Uwe,
On 2026/11/30 16:53, Uwe Kleine-König wrote:
Hello,
On Thu, Aug 27, 2026 at 08:40:12AM +0000, Xianwei Zhao via B4 Relay wrote:
From: Xianwei Zhao<xianwei.zhao@xxxxxxxxxxx>I applied this patch (after some trivial conflict resulution due to not
The S4 PWM driver currently gets each channel clock individually with
of_clk_get() and uses a custom cleanup action to release the clocks.
Use devm_clk_bulk_get_all() instead to retrieve all per-channel clocks
at once. Verify that the number of clocks matches the number of PWM
channels and assign each clock to its corresponding channel.
This also allows the per-channel clock initialization code to be shared
by Meson PWM variants using one clock per channel.
Signed-off-by: Xianwei Zhao<xianwei.zhao@xxxxxxxxxxx>
having the 2nd patch yet) with the indention fix that Alex pointed out
and his Review-by: tag to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
When you respin the series, please make sure your base contains that
commit already.
This patch depends on [2/4], otherwise the build will fail.