[PATCH 2/7] dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
Conor Dooley
conor at kernel.org
Tue Apr 8 09:07:52 PDT 2025
On Tue, Apr 08, 2025 at 02:32:14PM +0200, Nicolas Frattaroli wrote:
> The Rockchip RK3576 SoC has a newer PWM controller IP revision than
> previous Rockchip SoCs. This IP, called "PWMv4" by Rockchip, introduces
> several new features, and consequently differs in its bindings.
>
> Instead of expanding the ever-growing rockchip-pwm binding that already
> has an if-condition, add an entirely new binding to handle this.
>
> The "osc" clock is an optional clock available on some instances of the
> PWM controller. If present, it allows the controller to switch between
> either the "pwm" clock or the "osc" clock for deriving its PWM signal
> on a per-channel basis, through a hardware register write.
>
> However, not all instances have this feature, and the hardware copes
> just fine without this additional clock, so it's optional.
>
> The PWM controller also comes with an interrupt now. This interrupt is
> used to signal various conditions.
>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
Reviewed-by: Conor Dooley <conor.dooley at microchip.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250408/f224d58e/attachment.sig>
More information about the linux-arm-kernel
mailing list