On Sun, Dec 6, 2020 at 11:53 AM Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx> wrote: > If the gpio DT node has the 'gpio-ranges' property, the range will be > added by the gpio core and doesn't need to be added by the pinctrl > driver. > > By having the gpio-ranges property, we can map every pin between > gpio node and pinctrl node and we can stop using the deprecated > pinctrl_add_gpio_range() function. > > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> After this I think the driver looks good and can graduate from staging. Can you send a patch to move this to drivers/pinctrl next? I think drivers/pinctrl/pinctrl-rt2880.c since we don't expect a lot more of them. Yours, Linus Walleij _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel