Message ID | 20220226204611.1824379-1-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers | show |
Series | pinctrl: qcom-pmic-gpio: Add support for pm8450 | expand |
On Sat, Feb 26, 2022 at 9:46 PM Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote: > PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Have you updated the bindings first? I am fine with bindings being fixed in the same patch for this type of oneliners. Yours, Linus Walleij
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index f2eac3b05d67..4fbf8d3938ef 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1164,6 +1164,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, + { .compatible = "qcom,pm8450-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, /* pm8950 has 8 GPIOs with holes on 3 */
PM8450 provides 4 GPIOs. Add a compatible entry for this GPIO block. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+)