The PM8226 provides 8 MPPs.
Add a compatible to support them.
Signed-off-by: Rayyan Ansari <[email protected]>
---
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
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 <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
> ---
> 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
>