Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1698774 > unrolled thread
| Started by | Vivek Gautam <vivek.gautam@codeaurora.org> |
|---|---|
| First post | 2017-07-28 15:20 +0200 |
| Last post | 2017-07-28 18:20 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support Vivek Gautam <vivek.gautam@codeaurora.org> - 2017-07-28 15:20 +0200
[PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios Vivek Gautam <vivek.gautam@codeaurora.org> - 2017-07-28 15:20 +0200
Re: [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios Stephen Boyd <sboyd@codeaurora.org> - 2017-07-28 18:20 +0200
Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support Stephen Boyd <sboyd@codeaurora.org> - 2017-07-28 18:20 +0200
| From | Vivek Gautam <vivek.gautam@codeaurora.org> |
|---|---|
| Date | 2017-07-28 15:20 +0200 |
| Subject | [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support |
| Message-ID | <u8dln-4dP-11@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Vivek Gautam <vivek.gautam@codeaurora.org> |
|---|---|
| Date | 2017-07-28 15:20 +0200 |
| Subject | [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios |
| Message-ID | <u8dlo-4dP-29@gated-at.bofh.it> |
| In reply to | #1698774 |
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
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2017-07-28 18:20 +0200 |
| Subject | Re: [PATCH v2 2/2] arm64: dts: pmi8994: Add device node for pmi8994 gpios |
| Message-ID | <u8g9A-627-3@gated-at.bofh.it> |
| In reply to | #1698778 |
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
[toc] | [prev] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2017-07-28 18:20 +0200 |
| Subject | Re: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support |
| Message-ID | <u8g9A-627-21@gated-at.bofh.it> |
| In reply to | #1698774 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web