Skip to content

Commit 496bc10

Browse files
alexandrebelloniclaudiubeznea
authored andcommitted
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>
1 parent 0747c71 commit 496bc10

2 files changed

Lines changed: 137 additions & 107 deletions

File tree

drivers/pwm/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ config PWM_ATMEL_HLCDC_PWM
7575

7676
config PWM_ATMEL_TCB
7777
tristate "Atmel TC Block PWM support"
78-
depends on ATMEL_TCLIB && OF
78+
depends on OF
79+
select REGMAP_MMIO
7980
help
8081
Generic PWM framework driver for Atmel Timer Counter Block.
8182

0 commit comments

Comments
 (0)