diff mbox series

[2/2] pinctrl: qcom: spmi-gpio: add compatible for pms405 GPIO

Message ID 20181120054522.18698-2-shawn.guo@linaro.org
State Accepted
Commit 45fd26d39026ac1c80320a934a04d1086ee9224b
Headers show
Series [1/2] dt-bindings: pinctrl: fix qcom-pmic-gpio for pms405 | expand

Commit Message

Shawn Guo Nov. 20, 2018, 5:45 a.m. UTC
Let's add "qcom,pms405-gpio" to match table, as commit ed80f6eb799a
("dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support") already
adds the compatible.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

---
 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.18.0

Comments

Linus Walleij Nov. 26, 2018, 8:13 a.m. UTC | #1
On Tue, Nov 20, 2018 at 6:45 AM Shawn Guo <shawn.guo@linaro.org> wrote:

> Let's add "qcom,pms405-gpio" to match table, as commit ed80f6eb799a

> ("dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support") already

> adds the compatible.

>

> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>


Patch applied (unless Björn has objections).

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index a29efbe08f48..21ccf94b22ea 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -1055,6 +1055,7 @@  static const struct of_device_id pmic_gpio_of_match[] = {
 	{ .compatible = "qcom,pm8994-gpio" },	/* 22 GPIO's */
 	{ .compatible = "qcom,pmi8994-gpio" },  /* 10 GPIO's */
 	{ .compatible = "qcom,pma8084-gpio" },	/* 22 GPIO's */
+	{ .compatible = "qcom,pms405-gpio" },	/* 12 GPIO's, holes on 1 9 10 */
 	{ .compatible = "qcom,spmi-gpio" }, /* Generic */
 	{ },
 };