pwm: atmel-tcb: Switch to new binding
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 30 Oct 2020 18:36:56 +0000 (19:36 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 17 Dec 2020 13:18:55 +0000 (14:18 +0100)
commit061f8572a31c0da6621aacfc70ed16e1a6d1d33b
tree4f67d61aa95c3b73c68dc51a0d92b2133354f541
parentcd6720ba022bae39e0b37ec12a3fc810643a779c
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>
drivers/pwm/Kconfig
drivers/pwm/pwm-atmel-tcb.c