Skip to content

pwm: lpss: Clean up and convert to a pure library

Andy Shevchenko linux-pwm lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 5 repliesIn review
  2. v38 patches 5 repliesSuperseded
  3. v29 patches 17 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches9 repliesSuperseded

Changes in v4 from the cover letter

- dropped the forward declaration use patch, seems too many questions to it

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7pwm: lpss: Deduplicate board info data structuresdrivers/pwm/pwm-lpss-pci.c drivers/pwm/pwm-lpss-platform.c drivers/pwm/pwm-lpss.c +1 more+39 -510 replies
2/7pwm: lpss: Move exported symbols to PWM_LPSS namespacedrivers/pwm/pwm-lpss-pci.c drivers/pwm/pwm-lpss-platform.c drivers/pwm/pwm-lpss.c+4 -00 replies
3/7pwm: lpss: Move resource mapping to the glue driversdrivers/pwm/pwm-lpss-pci.c drivers/pwm/pwm-lpss-platform.c drivers/pwm/pwm-lpss.c +1 more+14 -100 replies
4/7pwm: lpss: Use device_get_match_data to get device datadrivers/pwm/pwm-lpss-platform.c+4 -60 replies
5/7pwm: lpss: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macrosdrivers/pwm/pwm-lpss-pci.c+5 -70 replies
6/7pwm: lpss: Make use of bits.h macros for all masksdrivers/pwm/pwm-lpss.c+2 -13 replies
7/7pwm: lpss: Add a comment to the bypass fielddrivers/pwm/pwm-lpss.h+5 -00 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchHans de GoedeUwe Kleine-König
1/7R-b
2/7R-b A-b
3/7R-b A-b
4/7R-b A-b
5/7R-b A-b
6/7R-b A-b
7/7R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] 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 v4:
- dropped the forward declaration use patch, seems too many questions to it

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 (6):
pwm: lpss: Move exported symbols to PWM_LPSS namespace
pwm: lpss: Move resource mapping to the glue drivers
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          | 12 ++++++++-
 4 files changed, 72 insertions(+), 74 deletions(-)
Signature · 1 line
2.35.1