Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pms405 gpio support

From: Stephen Boyd
Date: Thu Sep 20 2018 - 11:30:06 EST


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.

> { .compatible = "qcom,spmi-gpio" }, /* Generic */
> { },
> };