[PATCH v5 2/5] dt-bindings: pwm: amlogic: Add a new binding for meson8 pwm types
Rob Herring
robh at kernel.org
Fri Feb 23 06:19:48 PST 2024
On Wed, 21 Feb 2024 16:11:48 +0100, Jerome Brunet wrote:
> The binding that is used up to now describe which input the PWM
> channel multiplexer should pick among its possible parents,
> which are hardcoded in the driver. This isn't a good binding in
> the sense that it should describe hardware but not usage.
>
> Add a new binding deprecating the old one that uses clocks in a
> better way and how clocks are usually used today: The list of
> clocks describe the inputs of the PWM block as they are realised
> in hardware.
>
> So deprecate the old bindings and introduce a compatible per SoC
> family to replace these.
>
> Signed-off-by: Jerome Brunet <jbrunet at baylibre.com>
> ---
> .../devicetree/bindings/pwm/pwm-amlogic.yaml | 50 +++++++++++++++++--
> 1 file changed, 47 insertions(+), 3 deletions(-)
>
Reviewed-by: Rob Herring <robh at kernel.org>
More information about the linux-amlogic
mailing list