Pinctrl/gpio driver for Intel Baytrail platforms
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest1 patch 28 repliesIn review
- v21 patch 3 repliesSuperseded
- v11 patch 3 repliesSuperseded
Changes in v3 from the cover letter
- move driver from gpio/gpio-baytrail to drivers/pinctrl/pinctrl-baytrail
- use generic pinctrl_gpio_range structures from pinctrl instead of custom gpio_banks
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | pinctrl: add Intel BayTrail GPIO/pinctrl supportdrivers/ drivers/ drivers/ | +556 | 28 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/1] Pinctrl/gpio driver for Intel Baytrail platforms
This is the third version of the Intel baytrail GPIO driver, now moved to Pinctrl subsystem.
As Linus W. pointed out the Intel Baytrail gpio looks more like a pin controller with pad muxing and gpio-to-pad mappings than a pure gpio controller.
Even if firmware does its best to make sure we don't need to worry about the muxings and other pinctrl features, there's a possibility these features might be useful in the future and then pinctrl is easier to build on.
Pinctrl also provides some generic gpio structures that are useful for this driver.
This driver is built on top of linux-pinctrl tree and needs the "pinctrl: add pin list based GPIO ranges" patch by Christian Ruppert (commit 2ff3477efd7086544b9e298fc63afab0645921b4)
Changes since v2:
- move driver from gpio/gpio-baytrail to drivers/pinctrl/pinctrl-baytrail
- use generic pinctrl_gpio_range structures from pinctrl instead of custom gpio_banks
Changes since v1:
- generic cleanups suggested by Andy S.
- removed text about pin muxing
- added missing 44:th pin to SUS controller
- added level triggering option
- prevent "forever loop" in case pin is stuck in "interrupt triggered" status,
Mathias Nyman (1):
pinctrl: add Intel BayTrail GPIO/pinctrl support
drivers/pinctrl/Kconfig | 12 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-baytrail.c | 543 ++++++++++++++++++++++++++++++++++++ 3 files changed, 556 insertions(+), 0 deletions(-) create mode 100644 drivers/pinctrl/pinctrl-baytrail.c
Signature · 1 line
1.7.4.1