diff options
author | Jerome Brunet | 2024-02-21 16:11:51 +0100 |
---|---|---|
committer | Uwe Kleine-König | 2024-04-30 18:57:08 +0200 |
commit | 1031c2b4befd725cb88e373d207bd147572d8fbc (patch) | |
tree | 2fcd72a4d36201013b1696016e45e4c3a547314f /arch | |
parent | 141a8502214df0b114a81d60d2cd613c52c02b0f (diff) |
pwm: meson: Add generic compatible for meson8 to sm1
Introduce a new compatible support in the Amlogic PWM driver.
The PWM HW is actually the same for all SoCs supported so far. A specific
compatible is needed only because the clock sources of the PWMs are
hard-coded in the driver.
It is better to have the clock source described in DT but this changes the
bindings so a new compatible must be introduced.
When all supported platform have migrated to the new compatible, support
for the legacy ones may be removed from the driver.
The addition of this new compatible makes the old ones obsolete, as
described in the DT documentation.
Adding a callback to setup the clock will also make it easier to add
support for the new PWM HW found in a1, s4, c3 and t7 SoC families.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20240221151154.26452-6-jbrunet@baylibre.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions