summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-10-30 19:36:56 +0100
committerThierry Reding <thierry.reding@gmail.com>2020-12-17 14:18:55 +0100
commit061f8572a31c0da6621aacfc70ed16e1a6d1d33b (patch)
tree4f67d61aa95c3b73c68dc51a0d92b2133354f541 /drivers/pwm/Kconfig
parentcd6720ba022bae39e0b37ec12a3fc810643a779c (diff)
downloadlinux-061f8572a31c0da6621aacfc70ed16e1a6d1d33b.tar.bz2
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/Kconfig3
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.