Re: [PATCH v4 2/3] pwm: meson: Add optional bus clock for S4 PWM
From: Martin Blumenstingl
Date: Sun Nov 15 2026 - 17:14:22 EST
On Thu, Oct 1, 2026 at 6:56 PM Ronald Claveau via B4 Relay
<devnull+linux-kernel-dev.aliel.fr@xxxxxxxxxx> wrote:
>
> From: Ronald Claveau <linux-kernel-dev@xxxxxxxx>
>
> On some SoCs (e.g. T7), the PWM controller has a system clock that must
> be enabled to access its registers, in addition to the per-channel
> input clocks.
>
> Get and enable it with devm_clk_get_optional_enabled() using the
> "bus" name. The clock is optional, so existing SoCs and device trees
> that do not provide it keep working unchanged.
>
> Signed-off-by: Ronald Claveau <linux-kernel-dev@xxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>