]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit966c29848d1c9771624db34084235dc5c32395cb
tree4f67d61aa95c3b73c68dc51a0d92b2133354f541
parent5203851baf29e7166af0b0724bb083f16e67c6fd
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