aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorIvan T. Ivanov <ivan.ivanov@linaro.org>2015-03-31 05:37:18 -0400
committerLinus Walleij <linus.walleij@linaro.org>2015-04-08 11:00:18 -0400
commit7414b0993cd020aea14574065c28b55f3f849688 (patch)
tree31d91529686bdc2c3c9cba3660cf49f570a5b661 /drivers/pinctrl
parentb8a19382ac6212d18b21fcc7867060a5d54fe1a2 (diff)
pinctrl: Add support for PM8916 GPIO's and MPP's
Add compatible string definitions and supported pin functions. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/qcom/pinctrl-spmi-gpio.c1
-rw-r--r--drivers/pinctrl/qcom/pinctrl-spmi-mpp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
index 0f11a26d932b..b2d22218a258 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
@@ -810,6 +810,7 @@ static int pmic_gpio_remove(struct platform_device *pdev)
810} 810}
811 811
812static const struct of_device_id pmic_gpio_of_match[] = { 812static const struct of_device_id pmic_gpio_of_match[] = {
813 { .compatible = "qcom,pm8916-gpio" }, /* 4 GPIO's */
813 { .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */ 814 { .compatible = "qcom,pm8941-gpio" }, /* 36 GPIO's */
814 { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */ 815 { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
815 { }, 816 { },
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
index a8924dba335e..8f36c5f91949 100644
--- a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
+++ b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c
@@ -925,6 +925,7 @@ static int pmic_mpp_remove(struct platform_device *pdev)
925 925
926static const struct of_device_id pmic_mpp_of_match[] = { 926static const struct of_device_id pmic_mpp_of_match[] = {
927 { .compatible = "qcom,pm8841-mpp" }, /* 4 MPP's */ 927 { .compatible = "qcom,pm8841-mpp" }, /* 4 MPP's */
928 { .compatible = "qcom,pm8916-mpp" }, /* 4 MPP's */
928 { .compatible = "qcom,pm8941-mpp" }, /* 8 MPP's */ 929 { .compatible = "qcom,pm8941-mpp" }, /* 8 MPP's */
929 { .compatible = "qcom,pma8084-mpp" }, /* 8 MPP's */ 930 { .compatible = "qcom,pma8084-mpp" }, /* 8 MPP's */
930 { }, 931 { },