Re: [PATCH v13 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-06-11 Thread Uwe Kleine-König
Hello, On Tue, Jun 11, 2019 at 11:14:44AM +0530, Yash Shah wrote: > [...] > +static int pwm_sifive_remove(struct platform_device *dev) > +{ > + struct pwm_sifive_ddata *ddata = platform_get_drvdata(dev); > + bool is_enabled = false; > + struct pwm_device *pwm; > + int ret, ch; > +

[PATCH v13 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-06-10 Thread Yash Shah
Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. Signed-off-by: Wesley W. Terpstra [Atish: Various fixes and code cleanup] Signed-off-by: Atish Patra Signed-off-by: Yash Shah --- drivers/pwm/Kconfig | 11 ++ drivers/pwm/Makefile | 1 +