Messages in this thread | | | From | Andy Shevchenko <> | Subject | [PATCH v2 0/9] pwm: lpss: Clean up and convert to a pure library | Date | Thu, 8 Sep 2022 16:56:49 +0300 |
| |
First of all, a set of cleanups and code deduplications (for better maintenance) to the PWM LPSS driver.
Second, we may (re-)use the core part as a library in the future in the devices that combine the same PWM IP in their address space. So convert the core file to be a pure library which doesn't require any special resource handling or alike.
Changelog v2: - replace patch 1 by Uwe's version (Uwe) - update NS patch to have a default namespace defined (Uwe) - describe all changes done in patch 4 (Uwe)
Andy Shevchenko (8): pwm: lpss: Move exported symbols to PWM_LPSS namespace pwm: lpss: Move resource mapping to the glue drivers pwm: lpss: Include headers we are direct user of pwm: lpss: Use device_get_match_data to get device data pwm: lpss: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros pwm: lpss: Make use of bits.h macros for all masks pwm: lpss: Add a comment to the bypass field pwm: lpss: Allow other drivers to enable PWM LPSS
Uwe Kleine-König (1): pwm: lpss: Deduplicate board info data structures
drivers/pwm/pwm-lpss-pci.c | 48 +++++----------------- drivers/pwm/pwm-lpss-platform.c | 40 +++++------------- drivers/pwm/pwm-lpss.c | 46 ++++++++++++++++++--- drivers/pwm/pwm-lpss.h | 22 ++++------ include/linux/platform_data/x86/pwm-lpss.h | 33 +++++++++++++++ 5 files changed, 101 insertions(+), 88 deletions(-) create mode 100644 include/linux/platform_data/x86/pwm-lpss.h
-- 2.35.1
| |