lkml.org 
[lkml]   [2024]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 0/5] DesignWare PWM improvements
From
On 2/12/24 15:02, Raag Jadav wrote:
> This series implements 16 channel PWM support for Intel Elkhart Lake
> along with minor cleanups for DesignWare PWM driver.
>
> Changes since v2:
> - Remove error code duplication from dev_err_probe()
> - Update tags
>
> 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: use pm_sleep_ptr() macro
> 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()
>
> drivers/pwm/pwm-dwc.c | 59 ++++++++++++++++++++++++-------------------
> drivers/pwm/pwm-dwc.h | 5 ++++
> 2 files changed, 38 insertions(+), 26 deletions(-)
>
I tested on Elkhart lake this patchset and it adds another 8 channel PWM
instance and the PCI device continue switching between D0 and D3 power
states depending is some channel enabled or all idle.

Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>


\
 
 \ /
  Last update: 2024-05-27 15:02    [W:0.057 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site