gpio: qcom_pmic: Add support for GPIO LV/MV subtype
authorSumit Garg <sumit.garg@linaro.org>
Thu, 4 Aug 2022 14:27:18 +0000 (19:57 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2022 14:55:46 +0000 (10:55 -0400)
commitcf515842b9367266c873a0e037dcc7ee856ea0ab
treeb020d4e462a6d974e608e561c1077a7ea4359bf1
parente555d4caacd008b5091a8d755bdfff1ce8cceb2f
gpio: qcom_pmic: Add support for GPIO LV/MV subtype

GPIO LV (low voltage)/MV (medium voltage) subtypes have different
features and register mappings than 4CH/8CH subtypes. Add support
for LV and MV subtypes.

With GPIO LV/MV subtype available, add "qcom,pms405-gpio" compatible
which requires support for GPIO MV subtype.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
drivers/gpio/qcom_pmic_gpio.c