pwm: dwc: Add 16 channel support for Intel Elkhart Lake
authorRaag Jadav <raag.jadav@intel.com>
Mon, 19 Feb 2024 03:38:34 +0000 (09:08 +0530)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 26 Feb 2024 10:14:46 +0000 (11:14 +0100)
commitebf2c89eb95ec9598da19184632b765de72a7db4
tree5706f7b59036e55ad211697fab16c90afe121f4b
parent144a0008b30bc133cbaa9da7cf56d7cf2bacc4f9
pwm: dwc: Add 16 channel support for Intel Elkhart Lake

Intel Elkhart Lake PSE includes two instances of PWM as a single PCI
function with 8 channels each. Add support for the remaining channels.

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
Link: https://lore.kernel.org/r/20240219033835.11369-4-raag.jadav@intel.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/pwm/pwm-dwc.c
drivers/pwm/pwm-dwc.h