pinctrl: qcom: spmi-mpp: Add PM/PMI8950 compatible strings
authorAngeloGioacchino Del Regno <kholk11@gmail.com>
Thu, 31 Oct 2019 10:35:06 +0000 (11:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 5 Nov 2019 10:18:30 +0000 (11:18 +0100)
PM8950 and PMI8950 have four MPPs and this driver is compatible.

Signed-off-by: AngeloGioacchino Del Regno <kholk11@gmail.com>
Link: https://lore.kernel.org/r/20191031103507.30678-4-kholk11@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c

index 91407b0..48602db 100644 (file)
@@ -915,6 +915,8 @@ static const struct of_device_id pmic_mpp_of_match[] = {
        { .compatible = "qcom,pm8841-mpp" },    /* 4 MPP's */
        { .compatible = "qcom,pm8916-mpp" },    /* 4 MPP's */
        { .compatible = "qcom,pm8941-mpp" },    /* 8 MPP's */
+       { .compatible = "qcom,pm8950-mpp" },    /* 4 MPP's */
+       { .compatible = "qcom,pmi8950-mpp" },   /* 4 MPP's */
        { .compatible = "qcom,pm8994-mpp" },    /* 8 MPP's */
        { .compatible = "qcom,pma8084-mpp" },   /* 8 MPP's */
        { .compatible = "qcom,spmi-mpp" },      /* Generic */