pinctrl: qcom: spmi-mpp: Add compatible for pmi8994
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 29 Apr 2021 00:37:51 +0000 (17:37 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 19 May 2021 00:23:52 +0000 (02:23 +0200)
The PMI8994 has 4 multi-purpose-pins, add a compatible for this hardware
block to the MPP driver.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210429003751.224232-1-bjorn.andersson@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c

index 0ba07bc96c55f054eec11f732a3efc757c866240..5363d44cbb748442129265b22a59efd80166f604 100644 (file)
@@ -21,6 +21,7 @@ of PMIC's from Qualcomm.
                    "qcom,pmi8950-mpp",
                    "qcom,pm8994-mpp",
                    "qcom,pma8084-mpp",
+                   "qcom,pmi8994-mpp",
 
                    And must contain either "qcom,spmi-mpp" or "qcom,ssbi-mpp"
                    if the device is on an spmi bus or an ssbi bus respectively.
index 3c213f799febada27959aae13169442e71d24c3e..2da9b5f68f3fddff4554b7d643de727ed32ebccd 100644 (file)
@@ -920,6 +920,7 @@ static const struct of_device_id pmic_mpp_of_match[] = {
        { .compatible = "qcom,pmi8950-mpp" },   /* 4 MPP's */
        { .compatible = "qcom,pm8994-mpp" },    /* 8 MPP's */
        { .compatible = "qcom,pma8084-mpp" },   /* 8 MPP's */
+       { .compatible = "qcom,pmi8994-mpp" },   /* 4 MPP's */
        { .compatible = "qcom,spmi-mpp" },      /* Generic */
        { },
 };