Andre, I checked the gpiolib API and didn't find any function I can use to register gpio-hogs specified in DTS. But I found the similar patch to the qcom driver. Could you please check it? https://patchwork.kernel.org/project/linux-arm-kernel/patch/20180412190138.12372-1-chunkeey@xxxxxxxxx/ What do you think about it? Is it a good idea to impelement the same changes in "sunxi-pinctrl" driver? Best regards, Andrei Lalaev