* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-07-28 13:18 ` Vivek Gautam
0 siblings, 0 replies; 14+ messages in thread
From: Vivek Gautam @ 2017-07-28 13:18 UTC (permalink / raw)
To: bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A,
linus.walleij-QSEj5FYQhm4dnm+yROfE0A,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
andy.gross-QSEj5FYQhm4dnm+yROfE0A,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
Cc: sboyd-sgV2jX0FEOL9JmXXK+q4OQ, rnayak-sgV2jX0FEOL9JmXXK+q4OQ,
linux-gpio-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Vivek Gautam
Update the binding doc for qcom pmi8994-gpio devices.
Signed-off-by: Vivek Gautam <vivek.gautam-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
---
- Have been testing this patch-set on db820c for extcon with
usb controller. The usb controller uses one of these gpios
for usb-id/vbus detection.
Changes since v1:
- Dropped "qcom,pmi8994-gpio" compatible addition to the driver
since we can use the generic "qcom,spmi-gpio" compatible.
- Sorted to add pmi8994-gpio in alphabatical order.
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 8d893a874634..d6f8adbf25c6 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -16,6 +16,7 @@ PMIC's from Qualcomm.
"qcom,pm8941-gpio"
"qcom,pm8994-gpio"
"qcom,pma8084-gpio"
+ "qcom,pmi8994-gpio"
And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
if the device is on an spmi bus or an ssbi bus respectively
@@ -85,6 +86,7 @@ to specify in a pin configuration subnode:
gpio1-gpio36 for pm8941
gpio1-gpio22 for pm8994
gpio1-gpio22 for pma8084
+ gpio1-gpio10 for pmi8994
- function:
Usage: required
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-07-28 13:18 ` Vivek Gautam
0 siblings, 0 replies; 14+ messages in thread
From: Vivek Gautam @ 2017-07-28 13:18 UTC (permalink / raw)
To: bjorn.andersson, linus.walleij, robh+dt, andy.gross, linux-arm-msm
Cc: sboyd, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel, Vivek Gautam
Update the binding doc for qcom pmi8994-gpio devices.
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
- Have been testing this patch-set on db820c for extcon with
usb controller. The usb controller uses one of these gpios
for usb-id/vbus detection.
Changes since v1:
- Dropped "qcom,pmi8994-gpio" compatible addition to the driver
since we can use the generic "qcom,spmi-gpio" compatible.
- Sorted to add pmi8994-gpio in alphabatical order.
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 8d893a874634..d6f8adbf25c6 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -16,6 +16,7 @@ PMIC's from Qualcomm.
"qcom,pm8941-gpio"
"qcom,pm8994-gpio"
"qcom,pma8084-gpio"
+ "qcom,pmi8994-gpio"
And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
if the device is on an spmi bus or an ssbi bus respectively
@@ -85,6 +86,7 @@ to specify in a pin configuration subnode:
gpio1-gpio36 for pm8941
gpio1-gpio22 for pm8994
gpio1-gpio22 for pma8084
+ gpio1-gpio10 for pmi8994
- function:
Usage: required
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-07-28 13:18 ` Vivek Gautam
0 siblings, 0 replies; 14+ messages in thread
From: Vivek Gautam @ 2017-07-28 13:18 UTC (permalink / raw)
To: linux-arm-kernel
Update the binding doc for qcom pmi8994-gpio devices.
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
- Have been testing this patch-set on db820c for extcon with
usb controller. The usb controller uses one of these gpios
for usb-id/vbus detection.
Changes since v1:
- Dropped "qcom,pmi8994-gpio" compatible addition to the driver
since we can use the generic "qcom,spmi-gpio" compatible.
- Sorted to add pmi8994-gpio in alphabatical order.
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 8d893a874634..d6f8adbf25c6 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -16,6 +16,7 @@ PMIC's from Qualcomm.
"qcom,pm8941-gpio"
"qcom,pm8994-gpio"
"qcom,pma8084-gpio"
+ "qcom,pmi8994-gpio"
And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio"
if the device is on an spmi bus or an ssbi bus respectively
@@ -85,6 +86,7 @@ to specify in a pin configuration subnode:
gpio1-gpio36 for pm8941
gpio1-gpio22 for pm8994
gpio1-gpio22 for pma8084
+ gpio1-gpio10 for pmi8994
- function:
Usage: required
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios
2017-07-28 13:18 ` Vivek Gautam
@ 2017-07-28 13:18 ` Vivek Gautam
-1 siblings, 0 replies; 14+ messages in thread
From: Vivek Gautam @ 2017-07-28 13:18 UTC (permalink / raw)
To: bjorn.andersson, linus.walleij, robh+dt, andy.gross, linux-arm-msm
Cc: sboyd, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel, Vivek Gautam
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
Changes since v1:
- Added "qcom,spmi-gpio" to the compatible.
arch/arm64/boot/dts/qcom/pmi8994.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi
index d3879a4e8076..57673f92805d 100644
--- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi
@@ -8,6 +8,23 @@
reg = <0x2 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
+
+ pmi8994_gpios: gpios@c000 {
+ compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
+ <2 0xc1 0 IRQ_TYPE_NONE>,
+ <2 0xc2 0 IRQ_TYPE_NONE>,
+ <2 0xc3 0 IRQ_TYPE_NONE>,
+ <2 0xc4 0 IRQ_TYPE_NONE>,
+ <2 0xc5 0 IRQ_TYPE_NONE>,
+ <2 0xc6 0 IRQ_TYPE_NONE>,
+ <2 0xc7 0 IRQ_TYPE_NONE>,
+ <2 0xc8 0 IRQ_TYPE_NONE>,
+ <2 0xc9 0 IRQ_TYPE_NONE>;
+ };
};
pmic@3 {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios
@ 2017-07-28 13:18 ` Vivek Gautam
0 siblings, 0 replies; 14+ messages in thread
From: Vivek Gautam @ 2017-07-28 13:18 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
---
Changes since v1:
- Added "qcom,spmi-gpio" to the compatible.
arch/arm64/boot/dts/qcom/pmi8994.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi
index d3879a4e8076..57673f92805d 100644
--- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi
@@ -8,6 +8,23 @@
reg = <0x2 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
+
+ pmi8994_gpios: gpios at c000 {
+ compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
+ reg = <0xc000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
+ <2 0xc1 0 IRQ_TYPE_NONE>,
+ <2 0xc2 0 IRQ_TYPE_NONE>,
+ <2 0xc3 0 IRQ_TYPE_NONE>,
+ <2 0xc4 0 IRQ_TYPE_NONE>,
+ <2 0xc5 0 IRQ_TYPE_NONE>,
+ <2 0xc6 0 IRQ_TYPE_NONE>,
+ <2 0xc7 0 IRQ_TYPE_NONE>,
+ <2 0xc8 0 IRQ_TYPE_NONE>,
+ <2 0xc9 0 IRQ_TYPE_NONE>;
+ };
};
pmic at 3 {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
2017-07-28 13:18 ` Vivek Gautam
@ 2017-07-28 16:14 ` Stephen Boyd
-1 siblings, 0 replies; 14+ messages in thread
From: Stephen Boyd @ 2017-07-28 16:14 UTC (permalink / raw)
To: Vivek Gautam
Cc: bjorn.andersson, linus.walleij, robh+dt, andy.gross,
linux-arm-msm, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel
On 07/28, Vivek Gautam wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-07-28 16:14 ` Stephen Boyd
0 siblings, 0 replies; 14+ messages in thread
From: Stephen Boyd @ 2017-07-28 16:14 UTC (permalink / raw)
To: linux-arm-kernel
On 07/28, Vivek Gautam wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios
2017-07-28 13:18 ` Vivek Gautam
@ 2017-07-28 16:14 ` Stephen Boyd
-1 siblings, 0 replies; 14+ messages in thread
From: Stephen Boyd @ 2017-07-28 16:14 UTC (permalink / raw)
To: Vivek Gautam
Cc: bjorn.andersson, linus.walleij, robh+dt, andy.gross,
linux-arm-msm, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel
On 07/28, Vivek Gautam wrote:
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios
@ 2017-07-28 16:14 ` Stephen Boyd
0 siblings, 0 replies; 14+ messages in thread
From: Stephen Boyd @ 2017-07-28 16:14 UTC (permalink / raw)
To: linux-arm-kernel
On 07/28, Vivek Gautam wrote:
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
2017-07-28 13:18 ` Vivek Gautam
(?)
@ 2017-08-03 13:31 ` Linus Walleij
-1 siblings, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2017-08-03 13:31 UTC (permalink / raw)
To: Vivek Gautam
Cc: Bjorn Andersson, Rob Herring, Andy Gross, linux-arm-msm,
Stephen Boyd, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel
On Fri, Jul 28, 2017 at 3:18 PM, Vivek Gautam
<vivek.gautam@codeaurora.org> wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Patch applied with Stephen's review tag.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-08-03 13:31 ` Linus Walleij
0 siblings, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2017-08-03 13:31 UTC (permalink / raw)
To: Vivek Gautam
Cc: Bjorn Andersson, Rob Herring, Andy Gross, linux-arm-msm,
Stephen Boyd, rnayak, linux-gpio, devicetree, linux-kernel,
linux-arm-kernel
On Fri, Jul 28, 2017 at 3:18 PM, Vivek Gautam
<vivek.gautam@codeaurora.org> wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Patch applied with Stephen's review tag.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-08-03 13:31 ` Linus Walleij
0 siblings, 0 replies; 14+ messages in thread
From: Linus Walleij @ 2017-08-03 13:31 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jul 28, 2017 at 3:18 PM, Vivek Gautam
<vivek.gautam@codeaurora.org> wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Patch applied with Stephen's review tag.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
2017-07-28 13:18 ` Vivek Gautam
@ 2017-08-03 23:06 ` Rob Herring
-1 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2017-08-03 23:06 UTC (permalink / raw)
To: Vivek Gautam
Cc: bjorn.andersson, linus.walleij, andy.gross, linux-arm-msm, sboyd,
rnayak, linux-gpio, devicetree, linux-kernel, linux-arm-kernel
On Fri, Jul 28, 2017 at 06:48:12PM +0530, Vivek Gautam wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
>
> - Have been testing this patch-set on db820c for extcon with
> usb controller. The usb controller uses one of these gpios
> for usb-id/vbus detection.
>
> Changes since v1:
> - Dropped "qcom,pmi8994-gpio" compatible addition to the driver
> since we can use the generic "qcom,spmi-gpio" compatible.
> - Sorted to add pmi8994-gpio in alphabatical order.
>
> Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support
@ 2017-08-03 23:06 ` Rob Herring
0 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2017-08-03 23:06 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jul 28, 2017 at 06:48:12PM +0530, Vivek Gautam wrote:
> Update the binding doc for qcom pmi8994-gpio devices.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
> ---
>
> - Have been testing this patch-set on db820c for extcon with
> usb controller. The usb controller uses one of these gpios
> for usb-id/vbus detection.
>
> Changes since v1:
> - Dropped "qcom,pmi8994-gpio" compatible addition to the driver
> since we can use the generic "qcom,spmi-gpio" compatible.
> - Sorted to add pmi8994-gpio in alphabatical order.
>
> Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2017-08-03 23:07 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-28 13:18 [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support Vivek Gautam
2017-07-28 13:18 ` Vivek Gautam
2017-07-28 13:18 ` Vivek Gautam
2017-07-28 13:18 ` [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios Vivek Gautam
2017-07-28 13:18 ` Vivek Gautam
2017-07-28 16:14 ` Stephen Boyd
2017-07-28 16:14 ` Stephen Boyd
2017-07-28 16:14 ` [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support Stephen Boyd
2017-07-28 16:14 ` Stephen Boyd
2017-08-03 13:31 ` Linus Walleij
2017-08-03 13:31 ` Linus Walleij
2017-08-03 13:31 ` Linus Walleij
2017-08-03 23:06 ` Rob Herring
2017-08-03 23:06 ` Rob Herring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.