Skip to content

Add LV/MV subtypes support for QCOM PMIC GPIOs

[email protected] linux-arm-msm linux-devicetree linux-gpio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 4 repliesSuperseded
  3. v13 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtypeDocumentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt drivers/pinctrl/qcom/pinctrl-spmi-gpio.c include/dt-bindings/pinctrl/qcom,pmic-gpio.h+250 -501 reply
2/2pinctrl: qcom: spmi-gpio: Add dtest route for digital inputDocumentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt drivers/pinctrl/qcom/pinctrl-spmi-gpio.c+57 -01 reply

Reviews trailers per patch

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

PatchRob HerringBjorn Andersson
1/2A-b A-b
2/2A-b A-b

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

Read the v3 thread

Cover letter [PATCH V3 0/2] Add LV/MV subtypes support for QCOM PMIC GPIOs

From: Fenglin Wu <[email protected]>

LV (low voltage) and MV (medium voltage) subtype GPIO modules are support in QCOM PMICs like PMI8998, PM660. These modules support addtional features (func3, func4, analog-pass-through mode) and the register mappings are also different compared with legacy 4CH/8CH subtypes.

These patches add the support for the new functions in LV/MV subtypes, and add "dtest-buffer" setting for digital input configuration.

Fenglin Wu (2):
pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype
pinctrl: qcom: spmi-gpio: Add dtest route for digital input

 .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt |  24 +-
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c           | 321 ++++++++++++++++++---
 include/dt-bindings/pinctrl/qcom,pmic-gpio.h       |   2 +
 3 files changed, 302 insertions(+), 45 deletions(-)
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.