pinctrl: qcom: add support for sparse GPIOs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 posting 4/41 of 3 patches 0 repliesNew
- v11 Latest0 of 3 patches 0 repliesNew
- v8 posting 3/41 of 3 patches 0 repliesSuperseded
Earlier versions · 27
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v10 | 0 of 3 patches | 0 replies | Superseded | |
| v8 posting 2/4 | 1 of 3 patches | 0 replies | Superseded | |
| v9 | 0 of 3 patches | 0 replies | Superseded | |
| v7 posting 5/5 | 1 of 4 patches | 0 replies | Superseded | |
| v8 posting 1/4 | 0 of 4 patches | 0 replies | Superseded | |
| v7 posting 4/5 | 0 of 4 patches | 0 replies | Superseded | |
| v7 posting 3/5 | 0 of 4 patches | 0 replies | Superseded | |
| v7 posting 2/5 | 0 of 4 patches | 0 replies | Superseded | |
| v6 posting 2/2 | 4 patches | 0 replies | Superseded | |
| v7 posting 1/5 | 3 of 4 patches | 0 replies | Superseded | |
| v6 posting 1/2 | 4 patches | 0 replies | Superseded | |
| v5 posting 12/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 11/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 10/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 9/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 8/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 7/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 6/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 5/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 4/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 3/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 2/12 | 0 of 2 patches | 0 replies | Superseded | |
| v5 posting 1/12 | 2 patches | 0 replies | Superseded | |
| v4 | 1 of 2 patches | 0 replies | Superseded | |
| v3 | 3 patches | 0 replies | Superseded | |
| v2 | 3 patches | 0 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Changes in v11 from the cover letter
Drop support for QCOM8001
Patches in v11 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Stephen Boyd |
|---|---|
| Series | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] [v11] pinctrl: qcom: add support for sparse GPIOs
A series of patches that add support for GPIO maps that have holes in them. That is, even though a client driver has N consecutive GPIOs, some are just unavailable for whatever reason, and the hardware should not be accessed for those GPIOs.
Patch 1 reverts an old patch that triggers a get_direction of every pin upon init, without attempting to request the pins first. The direction is already being queried when the pin is requested.
Patch 2 adds support to pinctrl-msm for "unavailable" GPIOs.
Patch 3 extends that support to pinctrl-qdf2xxx. A recent ACPI change on QDF2400 platforms blocks access to most pins, so the driver can only register a subset.
This version drops the availability check in gpiolib, because it's no necessary. Instead, just having pinctrl-msm return -EACCES is enough to block all unavailable GPIOs. Patch 1 removes the only instance where an unrequested GPIO is being accessed.
v11:
Drop support for QCOM8001
Timur Tabi (3):
[v2] Revert "gpio: set up initial state from .get_direction()" [v8] pinctrl: qcom: disable GPIO groups with no pins [v7] pinctrl: qcom: qdf2xxx: add support for new ACPI HID QCOM8002
drivers/gpio/gpiolib.c | 31 +++-------- drivers/pinctrl/qcom/pinctrl-msm.c | 28 ++++++++-- drivers/pinctrl/qcom/pinctrl-qdf2xxx.c | 96 ++++++++++++++++++++++------------ 3 files changed, 94 insertions(+), 61 deletions(-)
Signature · 3 lines
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.