Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pms405 gpio support
From: Bjorn Andersson
Date: Thu Sep 20 2018 - 12:29:57 EST
On Thu 20 Sep 08:30 PDT 2018, Stephen Boyd wrote:
> Quoting Bjorn Andersson (2018-09-19 18:47:05)
> > diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> > index a29efbe08f48..b54891998caa 100644
> > --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> > +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
> > @@ -1055,6 +1055,7 @@ static const struct of_device_id pmic_gpio_of_match[] = {
> > { .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */
> > { .compatible = "qcom,pmi8994-gpio" }, /* 10 GPIO's */
> > { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */
> > + { .compatible = "qcom,pms405-gpio" }, /* 11 GPIO's */
>
> I thought we didn't update the C driver, because there isn't anything to
> do here. Just make binding updates and it's all fine.
>
Right, forgot that we just use the fallback.
Thanks,
Bjorn
> > { .compatible = "qcom,spmi-gpio" }, /* Generic */
> > { },
> > };