On Sun, 22 May 2022 22:26:30 +0100 Andre Przywara <andre.przywara@xxxxxxx> wrote: > But this is somewhat redundant information, because the pinctrl driver > knows about those values, as they are derived from the big struct > sunxi_desc_pin definition. > So wouldn't it be smarter to put a call to > gpiochip_add_pingroup_range() somewhere into the sunxi pinctrl driver, > so that it would automatically work for all SoCs? Sorry, I forgot about the other SoCs. I completely agree with you now. I will try to fix it in another way. Thank you, Andre! Best regards, Andrei Lalaev