[v2,0/5] DesignWare PWM improvements

Message ID 20240208070529.28562-1-raag.jadav@intel.com
Headers
Series DesignWare PWM improvements |

Message

Raag Jadav Feb. 8, 2024, 7:05 a.m. UTC
  This series implements 16 channel PWM support for Intel Elkhart Lake
along with minor cleanups for DesignWare PWM driver.

Changes since v1:
- Drop redundant error check
- Provide dwc_pwm_init_one() to initialize one PWM instance
- Use dev_get_drvdata() instead of pci_get_drvdata()
- Use pm_sleep_ptr() instead of use pm_ptr()

Raag Jadav (5):
  pwm: dwc: drop redundant error check
  pwm: dwc: Add 16 channel support for Intel Elkhart Lake
  pwm: dwc: simplify error handling
  pwm: dwc: access driver_data using dev_get_drvdata()
  pwm: dwc: use pm_sleep_ptr() macro

 drivers/pwm/pwm-dwc.c | 59 ++++++++++++++++++++++++-------------------
 drivers/pwm/pwm-dwc.h |  5 ++++
 2 files changed, 38 insertions(+), 26 deletions(-)


base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
  

Comments

Andy Shevchenko Feb. 8, 2024, 5:23 p.m. UTC | #1
On Thu, Feb 08, 2024 at 12:35:24PM +0530, Raag Jadav wrote:
> This series implements 16 channel PWM support for Intel Elkhart Lake
> along with minor cleanups for DesignWare PWM driver.

> Raag Jadav (5):
>   pwm: dwc: drop redundant error check
>   pwm: dwc: Add 16 channel support for Intel Elkhart Lake
>   pwm: dwc: simplify error handling
>   pwm: dwc: access driver_data using dev_get_drvdata()
>   pwm: dwc: use pm_sleep_ptr() macro

For patches except #3
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>