[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220927144723.9655-1-andriy.shevchenko@linux.intel.com>
Date: Tue, 27 Sep 2022 17:47:15 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Hans de Goede <hdegoede@...hat.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Thierry Reding <thierry.reding@...il.com>
Subject: [PATCH v3 0/8] pwm: lpss: Clean up and convert to a pure library
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 v3:
- postponed last patch until we have a new user
- added tags (Uwe, Hans)
- expanded commit message on why forward declarations are preferred over
full header inclusions
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 (7):
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
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 | 18 +++++++++++--
4 files changed, 77 insertions(+), 75 deletions(-)
--
2.35.1
Powered by blists - more mailing lists