Kernel version: 3.10 Is there any way to configure default settings for some of the gpios eventhough there is no one driving them? I am also trying to configure some of the gpios as irq lines using just the device tree without writing any device driver for it as it will be used by userspace.
I looked into the existing kernel code in 3.10 kernel and couldn't find out any reliable way to do that? I did find out some pinctrl hogging patches but that is part of latest kernel. Just to workaround this problem I have created a dummy driver specifically for this purpose. Is there any better way? Thanks,

