dt-bindings: pwm: amlogic: Add a new binding for meson8 pwm types
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 21 Feb 2024 15:11:48 +0000 (16:11 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 2 Mar 2024 10:00:45 +0000 (11:00 +0100)
commit5fd61cc28171e0c0fa2809be04f242c917445e6d
treefa6c6cf12660c509f2798181d27c0cd62457d705
parentc2dd6b93f6df0a115ae449cfb5ec58a938e3e385
dt-bindings: pwm: amlogic: Add a new binding for meson8 pwm types

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@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240221151154.26452-3-jbrunet@baylibre.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml