Commit 016c2f4d authored by Stephen Boyd's avatar Stephen Boyd Committed by Linus Walleij

pinctrl: qcom: spmi-gpio: Add pm8994 gpio support

Update the binding and driver for pm8994-gpio devices.

Cc: <devicetree@vger.kernel.org>
Cc: "Ivan T. Ivanov" <iivanov@mm-sol.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarBjörn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent d1b49b68
...@@ -14,6 +14,7 @@ PMIC's from Qualcomm. ...@@ -14,6 +14,7 @@ PMIC's from Qualcomm.
"qcom,pm8917-gpio" "qcom,pm8917-gpio"
"qcom,pm8921-gpio" "qcom,pm8921-gpio"
"qcom,pm8941-gpio" "qcom,pm8941-gpio"
"qcom,pm8994-gpio"
"qcom,pma8084-gpio" "qcom,pma8084-gpio"
- reg: - reg:
...@@ -79,6 +80,7 @@ to specify in a pin configuration subnode: ...@@ -79,6 +80,7 @@ to specify in a pin configuration subnode:
gpio1-gpio38 for pm8917 gpio1-gpio38 for pm8917
gpio1-gpio44 for pm8921 gpio1-gpio44 for pm8921
gpio1-gpio36 for pm8941 gpio1-gpio36 for pm8941
gpio1-gpio22 for pm8994
gpio1-gpio22 for pma8084 gpio1-gpio22 for pma8084
- function: - function:
......
...@@ -804,6 +804,7 @@ static int pmic_gpio_remove(struct platform_device *pdev) ...@@ -804,6 +804,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
static const struct of_device_id pmic_gpio_of_match[] = { static const struct of_device_id pmic_gpio_of_match[] = {
{ .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */ { .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */
{ .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */ { .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */
{ .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */
{ .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment