On Wed, Dec 11, 2024 at 5:27 PM Thomas Richard <thomas.richard@xxxxxxxxxxx> wrote: > > Add gpiochip_add_pinlist_range() function to add a range for GPIO <-> pin > mapping, using a list of non consecutive pins. > Previously, it was only possible to add range of consecutive pins using > gpiochip_add_pin_range(). > > The struct pinctrl_gpio_range has a 'pins' member which allows to set a > list of pins (which can be non consecutive). gpiochip_add_pinlist_range() > is identical to gpiochip_add_pin_range(), except it set 'pins' member > instead of 'pin_base' member. > > Signed-off-by: Thomas Richard <thomas.richard@xxxxxxxxxxx> > --- I don't have anything against this change so in any case: Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> But may I suggest the name to be changed to gpiochip_add_pin_range_sparse() for a better indication of its purpose? Bart