Skip to content

pinctrl: intel: High impedance impl. and cleanups

Andy Shevchenko linux-gpio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesIn review
  2. v15 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- fixed a bug in patch 1 when applying debounce value
- updated enum style (Mika)
- made intel_gpio_set_high_impedance return void (Mika)
- new patch to constify intel_get_community()
- resplit "absolutely grotesque" macro to four (Mika)
- ...and update more users, this shrinks binary a lot

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pinctrl: intel: Move debounce validation out of the lockdrivers/pinctrl/intel/pinctrl-intel.c+15 -120 replies
2/6pinctrl: intel: Refactor __intel_gpio_set_direction() to be more usefuldrivers/pinctrl/intel/pinctrl-intel.c+18 -130 replies
3/6pinctrl: intel: Add __intel_gpio_get_direction() helperdrivers/pinctrl/intel/pinctrl-intel.c+42 -60 replies
4/6pinctrl: intel: Implement high impedance supportdrivers/pinctrl/intel/pinctrl-intel.c+41 -00 replies
5/6pinctrl: intel: Constify intel_get_community() returned objectdrivers/pinctrl/intel/pinctrl-baytrail.c drivers/pinctrl/intel/pinctrl-intel.c drivers/pinctrl/intel/pinctrl-intel.h +1 more+8 -70 replies
6/6pinctrl: intel: Introduce for_each_intel_gpio_group() helper et al.drivers/pinctrl/intel/pinctrl-intel.c+46 -792 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMika Westerberg
SeriesA-b
1/6
2/6
3/6
4/6
5/6
6/6

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

Read the v2 thread

Cover letter [PATCH v2 0/6] pinctrl: intel: High impedance impl. and cleanups

We would need a high impedance implementation for a quirk, so here it is. While doing this series I also noticed a couple of opportunities to clean up, hence a few more patches (1st, 5th, and 6th).

Series has been tested on Intel Meteor Lake-P.

v2:
- fixed a bug in patch 1 when applying debounce value
- updated enum style (Mika)
- made intel_gpio_set_high_impedance return void (Mika)
- new patch to constify intel_get_community()
- resplit "absolutely grotesque" macro to four (Mika)
- ...and update more users, this shrinks binary a lot

Andy Shevchenko (6):
pinctrl: intel: Move debounce validation out of the lock
pinctrl: intel: Refactor __intel_gpio_set_direction() to be more
useful
pinctrl: intel: Add __intel_gpio_get_direction() helper
pinctrl: intel: Implement high impedance support
pinctrl: intel: Constify intel_get_community() returned object
pinctrl: intel: Introduce for_each_intel_gpio_group() helper et al.

 drivers/pinctrl/intel/pinctrl-baytrail.c  |   3 +-
 drivers/pinctrl/intel/pinctrl-intel.c     | 280 +++++++++++++---------
 drivers/pinctrl/intel/pinctrl-intel.h     |   2 +-
 drivers/pinctrl/intel/pinctrl-lynxpoint.c |   2 +-
 4 files changed, 170 insertions(+), 117 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac