diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-09-16 13:41:20 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-10-24 16:48:21 -0400 |
commit | 636959fc12321ea916c5acb5fa45f91bad4cf1a1 (patch) | |
tree | 8c207f1a5c9de4ae56ff02bc4077980f8f36254f | |
parent | daa6e41ce2b594e7d622b4cd3978defca1139666 (diff) |
pinctrl: pm8994: add pad voltage regulator defines
This patch adds defines for internal voltage regulators used
to switch voltage levels on gpio/mpp pads.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
-rw-r--r-- | include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 4 | ||||
-rw-r--r-- | include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h index aafa76cb569d..d33f17c8a515 100644 --- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h +++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h | |||
@@ -89,6 +89,10 @@ | |||
89 | #define PMA8084_GPIO_S4 2 | 89 | #define PMA8084_GPIO_S4 2 |
90 | #define PMA8084_GPIO_L6 3 | 90 | #define PMA8084_GPIO_L6 3 |
91 | 91 | ||
92 | #define PM8994_GPIO_VPH 0 | ||
93 | #define PM8994_GPIO_S4 2 | ||
94 | #define PM8994_GPIO_L12 3 | ||
95 | |||
92 | /* To be used with "function" */ | 96 | /* To be used with "function" */ |
93 | #define PMIC_GPIO_FUNC_NORMAL "normal" | 97 | #define PMIC_GPIO_FUNC_NORMAL "normal" |
94 | #define PMIC_GPIO_FUNC_PAIRED "paired" | 98 | #define PMIC_GPIO_FUNC_PAIRED "paired" |
diff --git a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h index a15c1704d0ec..2e360d8f7801 100644 --- a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h +++ b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h | |||
@@ -65,6 +65,12 @@ | |||
65 | #define PMA8084_MPP_S4 2 | 65 | #define PMA8084_MPP_S4 2 |
66 | #define PMA8084_MPP_L6 3 | 66 | #define PMA8084_MPP_L6 3 |
67 | 67 | ||
68 | #define PM8994_MPP_VPH 0 | ||
69 | /* Only supported for MPP_05-MPP_08 */ | ||
70 | #define PM8994_MPP_L19 1 | ||
71 | #define PM8994_MPP_S4 2 | ||
72 | #define PM8994_MPP_L12 3 | ||
73 | |||
68 | /* | 74 | /* |
69 | * Analog Input - Set the source for analog input. | 75 | * Analog Input - Set the source for analog input. |
70 | * To be used with "qcom,amux-route" property | 76 | * To be used with "qcom,amux-route" property |