Messages in this thread | | | Date | Tue, 14 Jul 2020 09:18:10 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH v4 2/2] Add PWM fan controller driver for LGM SoC |
| |
Hello Rahul,
On Tue, Jul 14, 2020 at 01:35:14PM +0800, Tanwar, Rahul wrote: > On 14/7/2020 3:10 am, Uwe Kleine-König wrote: > > On Tue, Jun 30, 2020 at 03:55:32PM +0800, Rahul Tanwar wrote: > Given the fact that this is a dedicated PWM fan controller with no other > PWM consumer, do you think that this driver belongs to drivers/hwmon > instead of drivers/pwm? Thanks.
If you implement the PWM API it belongs to drivers/pwm I'd say. (There are some "mixed" drivers that implement both GPIO and PWM that live in drivers/gpio, but if the support can be separated in a sane way, such mixing isn't welcome.)
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |