Skip to content

Commit

Permalink
pwm: atmel-tcb: Switch to new binding
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Thierry Reding committed Dec 17, 2020
1 parent cd6720b commit 061f857
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 107 deletions.
3 changes: 2 additions & 1 deletion drivers/pwm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading

0 comments on commit 061f857

Please sign in to comment.