Skip to contentSkip to conversation

Add pm8994 gpio and mpp support

PATCH In review Stephen Boyd 4 participants 9 messages Nov 18, 2015 – Dec 1, 2015

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

cover Add pm8994 gpio and mpp support

This adds the support for pm8994 gpio and mpp modules. Given that there's nothing besides a compatible string update, I'm going to send a separate patch to add generic compatible strings for these sorts of things.

Stephen Boyd (2):
pinctrl: qcom: spmi-gpio: Add pm8994 gpio support
pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

Cc "Ivan T. Ivanov" <[email protected]>
Cc Bjorn Andersson <[email protected]>
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt  | 1 +
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c                     | 1 +
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c                      | 1 +
 4 files changed, 5 insertions(+)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

PATCH 1/2 pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

Update the binding and driver for pm8994-gpio devices.

Cc "Ivan T. Ivanov" <[email protected]>
Cc Bjorn Andersson <[email protected]>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c                     | 1 +
 2 files changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +2 -0
index 1ae63c0acd40..a90c812ad642 100644
@@ -14,6 +14,7 @@ PMIC's from Qualcomm.
 		    "qcom,pm8917-gpio"
 		    "qcom,pm8921-gpio"
 		    "qcom,pm8941-gpio"
+		    "qcom,pm8994-gpio"
 		    "qcom,pma8084-gpio"
 
 - reg:
@@ -79,6 +80,7 @@ to specify in a pin configuration subnode:
 		    gpio1-gpio38 for pm8917
 		    gpio1-gpio44 for pm8921
 		    gpio1-gpio36 for pm8941
+		    gpio1-gpio22 for pm8994
 		    gpio1-gpio22 for pma8084
 
 - function:
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +1 -0
index 6c42ca14d2fd..df4413023e21 100644
@@ -804,6 +804,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
 static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8916-gpio" },	/* 4 GPIO's */
 	{ .compatible = "qcom,pm8941-gpio" },	/* 36 GPIO's */
+	{ .compatible = "qcom,pm8994-gpio" },	/* 22 GPIO's */
 	{ .compatible = "qcom,pma8084-gpio" },	/* 22 GPIO's */
 	{ },
 };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer Acked-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

Quoted 6 lines · Stephen Boyd

Update the binding and driver for pm8994-gpio devices.

Cc "Ivan T. Ivanov" <[email protected]>
Cc Bjorn Andersson <[email protected]>
Quoted 45 lines
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c                     | 1 +
 2 files changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +2 -0
index 1ae63c0acd40..a90c812ad642 100644
@@ -14,6 +14,7 @@ PMIC's from Qualcomm.
 		    "qcom,pm8917-gpio"
 		    "qcom,pm8921-gpio"
 		    "qcom,pm8941-gpio"
+		    "qcom,pm8994-gpio"
 		    "qcom,pma8084-gpio"
 
 - reg:
@@ -79,6 +80,7 @@ to specify in a pin configuration subnode:
 		    gpio1-gpio38 for pm8917
 		    gpio1-gpio44 for pm8921
 		    gpio1-gpio36 for pm8941
+		    gpio1-gpio22 for pm8994
 		    gpio1-gpio22 for pma8084
 
 - function:
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +1 -0
index 6c42ca14d2fd..df4413023e21 100644
@@ -804,6 +804,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
 static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8916-gpio" },	/* 4 GPIO's */
 	{ .compatible = "qcom,pm8941-gpio" },	/* 36 GPIO's */
+	{ .compatible = "qcom,pm8994-gpio" },	/* 22 GPIO's */
 	{ .compatible = "qcom,pma8084-gpio" },	/* 22 GPIO's */
 	{ },
 };
Signature · 7 lines
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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw

PATCH 2/2 pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

In reply to Stephen Boyd

Update the driver and binding for pm8994-mpp devices.

Cc "Ivan T. Ivanov" <[email protected]>
Cc Bjorn Andersson <[email protected]>
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 1 +
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c                     | 1 +
 2 files changed, 2 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt +1 -0
index d7803a2a94e9..d74e631e10da 100644
@@ -15,6 +15,7 @@ of PMIC's from Qualcomm.
 		    "qcom,pm8917-mpp",
 		    "qcom,pm8921-mpp",
 		    "qcom,pm8941-mpp",
+		    "qcom,pm8994-mpp",
 		    "qcom,pma8084-mpp",
 
 - reg:
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c +1 -0
index 9ce0e30e33e8..7b4136a22c5b 100644
@@ -907,6 +907,7 @@ static const struct of_device_id pmic_mpp_of_match[] = {
 	{ .compatible = "qcom,pm8841-mpp" },	/* 4 MPP's */
 	{ .compatible = "qcom,pm8916-mpp" },	/* 4 MPP's */
 	{ .compatible = "qcom,pm8941-mpp" },	/* 8 MPP's */
+	{ .compatible = "qcom,pm8994-mpp" },	/* 8 MPP's */
 	{ .compatible = "qcom,pma8084-mpp" },	/* 8 MPP's */
 	{ },
 };
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
maintainer Acked-by on v1 2/2
#6 lore raw

Re: [PATCH 2/2] pinctrl: qcom: spmi-mpp: Add pm8994 mpp support

Quoted 6 lines · Stephen Boyd

Update the driver and binding for pm8994-mpp devices.

Cc "Ivan T. Ivanov" <[email protected]>
Cc Bjorn Andersson <[email protected]>
Quoted 37 lines
---
 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 1 +
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c                     | 1 +
 2 files changed, 2 insertions(+)
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt +1 -0
index d7803a2a94e9..d74e631e10da 100644
@@ -15,6 +15,7 @@ of PMIC's from Qualcomm.
 		    "qcom,pm8917-mpp",
 		    "qcom,pm8921-mpp",
 		    "qcom,pm8941-mpp",
+		    "qcom,pm8994-mpp",
 		    "qcom,pma8084-mpp",
 
 - reg:
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c +1 -0
index 9ce0e30e33e8..7b4136a22c5b 100644
@@ -907,6 +907,7 @@ static const struct of_device_id pmic_mpp_of_match[] = {
 	{ .compatible = "qcom,pm8841-mpp" },	/* 4 MPP's */
 	{ .compatible = "qcom,pm8916-mpp" },	/* 4 MPP's */
 	{ .compatible = "qcom,pm8941-mpp" },	/* 8 MPP's */
+	{ .compatible = "qcom,pm8994-mpp" },	/* 8 MPP's */
 	{ .compatible = "qcom,pma8084-mpp" },	/* 8 MPP's */
 	{ },
 };
Signature · 7 lines
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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html