[PATCH v4 2/3] pwm: meson: Add optional bus clock for S4 PWM

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Nov 15 14:14:06 PST 2026


On Thu, Oct 1, 2026 at 6:56 PM Ronald Claveau via B4 Relay
<devnull+linux-kernel-dev.aliel.fr at kernel.org> wrote:
>
> From: Ronald Claveau <linux-kernel-dev at aliel.fr>
>
> 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 at aliel.fr>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-arm-kernel mailing list