Message ID | 20220124171538.18088-2-rayyan@ansari.sh (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [1/3] dt-bindings: pinctrl: qcom,pmic-mpp: Document PM8226 compatible | expand |
On Mon 24 Jan 11:15 CST 2022, Rayyan Ansari wrote: > The PM8226 provides 8 MPPs. > Add a compatible to support them. > > Signed-off-by: Rayyan Ansari <rayyan@ansari.sh> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > --- > drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c > index b80723928b7e..6937157f50b3 100644 > --- a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c > +++ b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c > @@ -961,6 +961,7 @@ static int pmic_mpp_remove(struct platform_device *pdev) > > static const struct of_device_id pmic_mpp_of_match[] = { > { .compatible = "qcom,pm8019-mpp", .data = (void *) 6 }, > + { .compatible = "qcom,pm8226-mpp", .data = (void *) 8 }, > { .compatible = "qcom,pm8841-mpp", .data = (void *) 4 }, > { .compatible = "qcom,pm8916-mpp", .data = (void *) 4 }, > { .compatible = "qcom,pm8941-mpp", .data = (void *) 8 }, > -- > 2.34.1 >
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c index b80723928b7e..6937157f50b3 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-mpp.c @@ -961,6 +961,7 @@ static int pmic_mpp_remove(struct platform_device *pdev) static const struct of_device_id pmic_mpp_of_match[] = { { .compatible = "qcom,pm8019-mpp", .data = (void *) 6 }, + { .compatible = "qcom,pm8226-mpp", .data = (void *) 8 }, { .compatible = "qcom,pm8841-mpp", .data = (void *) 4 }, { .compatible = "qcom,pm8916-mpp", .data = (void *) 4 }, { .compatible = "qcom,pm8941-mpp", .data = (void *) 8 },
The PM8226 provides 8 MPPs. Add a compatible to support them. Signed-off-by: Rayyan Ansari <rayyan@ansari.sh> --- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 1 + 1 file changed, 1 insertion(+)