On 17.06.19 10:29, Martyn Welch wrote: Hi, > We are currently in the position that we would like to pre-configure > some GPIOs at boot time and be able to later affect the state of GPIOs > configured as outputs or read the state of GPIOs previously configured > as inputs. what's the actual use case you've got in mind ? I've got the feeling that these lines aren't really so "generic" in your case, but attached to something that has a particular meaning. So, maybe something that deserves it's own driver ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@xxxxxxxxx -- +49-151-27565287