[PATCH V1 0/3] Add LV/MV subtypes support for QCOM PMIC GPIOs

From: fenglinw
Date: Tue Jun 13 2017 - 02:17:34 EST


From: Fenglin Wu <fenglinw@xxxxxxxxxxxxxx>

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) 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 do some feature extension and bug fixing.

Fenglin Wu (3):
pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype
pinctrl: qcom: spmi-gpio: Add dtest route for digital input
pinctrl: qcom: spmi-gpio: Correct power_source range check

.../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 43 ++-
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 316 ++++++++++++++++++---
include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 15 +
3 files changed, 331 insertions(+), 43 deletions(-)

--
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.