diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-10-30 19:36:56 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2020-12-17 14:18:55 +0100 |
commit | 061f8572a31c0da6621aacfc70ed16e1a6d1d33b (patch) | |
tree | 4f67d61aa95c3b73c68dc51a0d92b2133354f541 /drivers/pwm/Kconfig | |
parent | dt-bindings: microchip: atmel,at91rm9200-tcb: Add atmel,tcb-pwm (diff) | |
download | linux-061f8572a31c0da6621aacfc70ed16e1a6d1d33b.tar.xz linux-061f8572a31c0da6621aacfc70ed16e1a6d1d33b.zip |
pwm: atmel-tcb: Switch to new binding
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 <thierry.reding@gmail.com>
Cc: linux-pwm@vger.kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/Kconfig')
-rw-r--r-- | drivers/pwm/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 63be5362fd3a..ce02d7fe9513 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -75,7 +75,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. |