pwm: atmel-tcb: switch to new binding
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/11 pwm: atmel-tcb: switch to new binding
From: Alexandre Belloni <[email protected]>
The PWM is now a subnode of the used TCB. This is cleaner and it mainly allows to stop wasting TCB channels when only 2 or 4 PWMs are used.
This also removes the atmel_tclib dependency
Cc Thierry Reding <[email protected]>
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/pwm/Kconfig | 3 +- drivers/pwm/pwm-atmel-tcb.c | 241 ++++++++++++++++++++---------------- 2 files changed, 137 insertions(+), 107 deletions(-)
drivers/pwm/Kconfig +2 -1
@@ -65,7 +65,8 @@ config PWM_ATMEL_HLCDC_PWM config PWM_ATMEL_TCB tristate "Atmel TC Block PWM support" - depends on ATMEL_TCLIB && OF + depends on OF + select REGMAP_MMIO help Generic PWM framework driver for Atmel Timer Counter Block.
drivers/pwm/pwm-atmel-tcb.c +135 -106
462 lines not on this page · raw message
Signature · 1 line
2.25.0