pinctrl: qcom: spmi-gpio: add support for LV_VIN2 and MV_VIN3 subtypes
authorDavid Collins <quic_collinsd@quicinc.com>
Mon, 12 Sep 2022 21:06:23 +0000 (14:06 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 19 Sep 2022 11:52:13 +0000 (13:52 +0200)
commit4af95d0937144d6df1b4f262d311cf2e0ace569a
treecfa5da23379d886117d9455d8a11a9208a5bc091
parent1c2eb18ef6739c89d13a9b36d19c68b84ab37625
pinctrl: qcom: spmi-gpio: add support for LV_VIN2 and MV_VIN3 subtypes

Add support for SPMI PMIC GPIO subtypes GPIO_LV_VIN2 and
GPIO_MV_VIN3.

GPIO_LV_VIN2 GPIOs support two input reference voltages: VIN0 and
VIN1.  These are typically connected to 1.8 V and 1.2 V supplies
respectively.

GPIO_MV_VIN3 GPIOs support three input reference voltages: VIN0,
VIN1, and VIN2.  These are typically connected to Vph, 1.8 V, and
1.2 V supplies respectively.

Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Link: https://lore.kernel.org/r/20220912210624.4527-2-quic_amelende@quicinc.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c