pwm: sifive: Add a driver for SiFive SoC PWM
authorYash Shah <yash.shah@sifive.com>
Tue, 11 Jun 2019 05:44:44 +0000 (11:14 +0530)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 25 Jun 2019 12:48:12 +0000 (14:48 +0200)
commit9e37a53eb05114b663ded9f1f2f69c7fec6c5913
treed3989f9db69bb62688bf8e50113d6739696c18db
parentdaa78cc3408e7145d99462d51c5f4c6b0cb2af9c
pwm: sifive: Add a driver for SiFive SoC PWM

Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC.

Signed-off-by: Wesley W. Terpstra <wesley@sifive.com>
[Atish: Various fixes and code cleanup]
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Yash Shah <yash.shah@sifive.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/Kconfig
drivers/pwm/Makefile
drivers/pwm/pwm-sifive.c [new file with mode: 0644]