* [PATCH] pinctrl: qcom: spmi-gpio: Add pmi8994 gpio support
@ 2017-11-02 9:29 Rajendra Nayak
2017-11-02 14:03 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Rajendra Nayak @ 2017-11-02 9:29 UTC (permalink / raw)
To: linus.walleij
Cc: linux-arm-msm, linux-kernel, bjorn.andersson, Rajendra Nayak
Update the binding and driver for pmi8994-gpios
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
---
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
index 5b12c57..5c25fcb 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt
@@ -15,6 +15,7 @@ PMIC's from Qualcomm.
"qcom,pm8921-gpio"
"qcom,pm8941-gpio"
"qcom,pm8994-gpio"
+ "qcom,pmi8994-gpio"
"qcom,pma8084-gpio"
"qcom,pmi8994-gpio"
@@ -85,6 +86,7 @@ to specify in a pin configuration subnode:
gpio1-gpio44 for pm8921
gpio1-gpio36 for pm8941
gpio1-gpio22 for pm8994
+ gpio1-gpio10 for pmi8994
gpio1-gpio22 for pma8084
gpio1-gpio10 for pmi8994
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index c2c0bab..56a7c56 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1032,6 +1032,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
{ .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */
{ .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */
{ .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */
+ { .compatible = "qcom,pmi8994-gpio" }, /* 10 GPIO's */
{ .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
{ .compatible = "qcom,spmi-gpio" }, /* Generic */
{ },
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pmi8994 gpio support
2017-11-02 9:29 [PATCH] pinctrl: qcom: spmi-gpio: Add pmi8994 gpio support Rajendra Nayak
@ 2017-11-02 14:03 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2017-11-02 14:03 UTC (permalink / raw)
To: Rajendra Nayak; +Cc: linux-arm-msm, linux-kernel, Bjorn Andersson
On Thu, Nov 2, 2017 at 10:29 AM, Rajendra Nayak <rnayak@codeaurora.org> wrote:
> Update the binding and driver for pmi8994-gpios
>
> Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Patch applied. It's so small and obvious that it just can't hurt.
Thanks!
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-02 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 9:29 [PATCH] pinctrl: qcom: spmi-gpio: Add pmi8994 gpio support Rajendra Nayak
2017-11-02 14:03 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).