Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-10-21 Thread Andy Gross
On Sun, Sep 18, 2016 at 01:38:30PM +0200, Linus Walleij wrote:
> On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla
>  wrote:
> 
> > This patch adds defines for internal voltage regulators used
> > to switch voltage levels on gpio/mpp pads.
> >
> > Signed-off-by: Srinivas Kandagatla 
> 
> Acked-by: Linus Walleij 
> 
> Andy can merge this with the rest of the stuff to the Qualcomm SoC tree.

Yup.  Picked it up.  Thanks!


Andy


Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-10-21 Thread Andy Gross
On Sun, Sep 18, 2016 at 01:38:30PM +0200, Linus Walleij wrote:
> On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla
>  wrote:
> 
> > This patch adds defines for internal voltage regulators used
> > to switch voltage levels on gpio/mpp pads.
> >
> > Signed-off-by: Srinivas Kandagatla 
> 
> Acked-by: Linus Walleij 
> 
> Andy can merge this with the rest of the stuff to the Qualcomm SoC tree.

Yup.  Picked it up.  Thanks!


Andy


Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-09-18 Thread Linus Walleij
On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla
 wrote:

> This patch adds defines for internal voltage regulators used
> to switch voltage levels on gpio/mpp pads.
>
> Signed-off-by: Srinivas Kandagatla 

Acked-by: Linus Walleij 

Andy can merge this with the rest of the stuff to the Qualcomm SoC tree.

Yours,
Linus Walleij


Re: [PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-09-18 Thread Linus Walleij
On Fri, Sep 16, 2016 at 7:41 PM, Srinivas Kandagatla
 wrote:

> This patch adds defines for internal voltage regulators used
> to switch voltage levels on gpio/mpp pads.
>
> Signed-off-by: Srinivas Kandagatla 

Acked-by: Linus Walleij 

Andy can merge this with the rest of the stuff to the Qualcomm SoC tree.

Yours,
Linus Walleij


[PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-09-16 Thread Srinivas Kandagatla
This patch adds defines for internal voltage regulators used
to switch voltage levels on gpio/mpp pads.

Signed-off-by: Srinivas Kandagatla 
---
 include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 4 
 include/dt-bindings/pinctrl/qcom,pmic-mpp.h  | 6 ++
 2 files changed, 10 insertions(+)

diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h 
b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
index aafa76c..d33f17c 100644
--- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
+++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
@@ -89,6 +89,10 @@
 #define PMA8084_GPIO_S42
 #define PMA8084_GPIO_L63
 
+#define PM8994_GPIO_VPH0
+#define PM8994_GPIO_S4 2
+#define PM8994_GPIO_L123
+
 /* To be used with "function" */
 #define PMIC_GPIO_FUNC_NORMAL  "normal"
 #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 a15c170..2e360d8f 100644
--- a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h
+++ b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h
@@ -65,6 +65,12 @@
 #define PMA8084_MPP_S4 2
 #define PMA8084_MPP_L6 3
 
+#define PM8994_MPP_VPH 0
+/* Only supported for MPP_05-MPP_08 */
+#define PM8994_MPP_L19 1
+#define PM8994_MPP_S4  2
+#define PM8994_MPP_L12 3
+
 /*
  * Analog Input - Set the source for analog input.
  * To be used with "qcom,amux-route" property
-- 
2.7.4



[PATCH 1/2] pinctrl: pm8994: add pad voltage regulator defines

2016-09-16 Thread Srinivas Kandagatla
This patch adds defines for internal voltage regulators used
to switch voltage levels on gpio/mpp pads.

Signed-off-by: Srinivas Kandagatla 
---
 include/dt-bindings/pinctrl/qcom,pmic-gpio.h | 4 
 include/dt-bindings/pinctrl/qcom,pmic-mpp.h  | 6 ++
 2 files changed, 10 insertions(+)

diff --git a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h 
b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
index aafa76c..d33f17c 100644
--- a/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
+++ b/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
@@ -89,6 +89,10 @@
 #define PMA8084_GPIO_S42
 #define PMA8084_GPIO_L63
 
+#define PM8994_GPIO_VPH0
+#define PM8994_GPIO_S4 2
+#define PM8994_GPIO_L123
+
 /* To be used with "function" */
 #define PMIC_GPIO_FUNC_NORMAL  "normal"
 #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 a15c170..2e360d8f 100644
--- a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h
+++ b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h
@@ -65,6 +65,12 @@
 #define PMA8084_MPP_S4 2
 #define PMA8084_MPP_L6 3
 
+#define PM8994_MPP_VPH 0
+/* Only supported for MPP_05-MPP_08 */
+#define PM8994_MPP_L19 1
+#define PM8994_MPP_S4  2
+#define PM8994_MPP_L12 3
+
 /*
  * Analog Input - Set the source for analog input.
  * To be used with "qcom,amux-route" property
-- 
2.7.4