Skip to content

pinctrl: Fixes and updates to Intel drivers

Mika Westerberg 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 8 repliesIn review
  2. v16 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* Added Reviewed-by from Andy
* Use goto exit_unlock in intel_config_set_debounce()
* Features are now prefixed with PINCTRL_FEATURE_*

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pinctrl: broxton: Use correct PADCFGLOCK offsetdrivers/pinctrl/intel/pinctrl-broxton.c+1 -11 reply
2/6pinctrl: intel: Convert to use devm_gpiochip_add_data()drivers/pinctrl/intel/pinctrl-broxton.c drivers/pinctrl/intel/pinctrl-intel.c drivers/pinctrl/intel/pinctrl-intel.h +1 more+4 -231 reply
3/6pinctrl: Add a possibility to configure pins from a gpiolib based driversdrivers/pinctrl/core.c drivers/pinctrl/pinconf.c drivers/pinctrl/pinconf.h +1 more+58 -06 replies
4/6pinctrl: intel: Add support for hardware debouncerdrivers/pinctrl/intel/pinctrl-intel.c drivers/pinctrl/intel/pinctrl-intel.h+143 -10 replies
5/6pinctrl: intel: Add support for 1k additional pull-downdrivers/pinctrl/intel/pinctrl-intel.c drivers/pinctrl/intel/pinctrl-intel.h+18 -10 replies
6/6pinctrl: intel: Add Intel Gemini Lake pin controller supportdrivers/pinctrl/intel/Kconfig drivers/pinctrl/intel/Makefile drivers/pinctrl/intel/pinctrl-geminilake.c+521 -00 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/6R-b
2/6R-b
3/6
4/6R-b
5/6R-b
6/6R-b

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: Fixes and updates to Intel drivers

This series fixes one issue found on Broxton, updates the core driver to use devm_gpiochip_add_data() and finally add support for the next generation Intel GPIO hardware available starting from Intel Gemini Lake SoC.

The Gemini Lake SoC brings hardware debouncer per-pad and 1k additional pull-down. In order to configure the hardware debouncer, this series adds a new function to pinctrl core; pinctrl_gpio_set_config(). This function can be used by gpiolib-based GPIO drivers to ask the backing pinctrl driver to apply certain configuration, like setting debounce time.

Changes from v1:
* Added Reviewed-by from Andy
* Use goto exit_unlock in intel_config_set_debounce()
* Features are now prefixed with PINCTRL_FEATURE_*

Mika Westerberg (6):
pinctrl: broxton: Use correct PADCFGLOCK offset
pinctrl: intel: Convert to use devm_gpiochip_add_data()
pinctrl: Add a possibility to configure pins from a gpiolib based drivers
pinctrl: intel: Add support for hardware debouncer
pinctrl: intel: Add support for 1k additional pull-down
pinctrl: intel: Add Intel Gemini Lake pin controller support

 drivers/pinctrl/core.c                       |  28 ++
 drivers/pinctrl/intel/Kconfig                |   8 +
 drivers/pinctrl/intel/Makefile               |   1 +
 drivers/pinctrl/intel/pinctrl-broxton.c      |   3 +-
 drivers/pinctrl/intel/pinctrl-geminilake.c   | 512 +++++++++++++++++++++++++++
 drivers/pinctrl/intel/pinctrl-intel.c        | 178 ++++++++--
 drivers/pinctrl/intel/pinctrl-intel.h        |   8 +-
 drivers/pinctrl/intel/pinctrl-sunrisepoint.c |   1 -
 drivers/pinctrl/pinconf.c                    |  12 +
 drivers/pinctrl/pinconf.h                    |  10 +
 include/linux/pinctrl/consumer.h             |   8 +
 11 files changed, 744 insertions(+), 25 deletions(-)
 create mode 100644 drivers/pinctrl/intel/pinctrl-geminilake.c
Signature · 1 line
2.11.0