Message ID | 20210805222625.40236-2-konrad.dybcio@somainline.org |
---|---|
State | New |
Headers | show |
Series | [1/2] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8019 support | expand |
On Fri, Aug 6, 2021 at 12:26 AM Konrad Dybcio <konrad.dybcio@somainline.org> wrote: > PM8019 provides 6 GPIOs. Add a compatible to support that. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> I will merge this as soon as the binding is fixed (please resend both) Yours, Linus Walleij
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index a89d24a040af..dbb3d2e3c0b0 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1105,6 +1105,7 @@ static int pmic_gpio_remove(struct platform_device *pdev) static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8005-gpio", .data = (void *) 4 }, + { .compatible = "qcom,pm8019-gpio", .data = (void *) 6 }, { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, /* pm8950 has 8 GPIOs with holes on 3 */
PM8019 provides 6 GPIOs. Add a compatible to support that. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+)