pinctrl: qcom-ssbi: support for PM8058
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 3 Jun 2016 11:55:00 +0000 (13:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jun 2016 06:37:31 +0000 (08:37 +0200)
The PM8058 is found in connection to the APQ8060 on the APQ8060
Dragonboard. Works the same as all others, just add the compatible
string for this variant.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c

index d74e631..b484ba1 100644 (file)
@@ -9,6 +9,7 @@ of PMIC's from Qualcomm.
        Definition: Should contain one of:
                    "qcom,pm8018-mpp",
                    "qcom,pm8038-mpp",
+                   "qcom,pm8058-mpp",
                    "qcom,pm8821-mpp",
                    "qcom,pm8841-mpp",
                    "qcom,pm8916-mpp",
index 9191727..0d1392f 100644 (file)
@@ -744,6 +744,7 @@ static int pm8xxx_pin_populate(struct pm8xxx_mpp *pctrl,
 static const struct of_device_id pm8xxx_mpp_of_match[] = {
        { .compatible = "qcom,pm8018-mpp" },
        { .compatible = "qcom,pm8038-mpp" },
+       { .compatible = "qcom,pm8058-mpp" },
        { .compatible = "qcom,pm8917-mpp" },
        { .compatible = "qcom,pm8821-mpp" },
        { .compatible = "qcom,pm8921-mpp" },