[PATCH V2 0/2] Add LV/MV subtypes support for QCOM PMIC GPIOs

From: fenglinw
Date: Wed Jul 19 2017 - 02:32:17 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 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(-)

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