On Thu, Dec 13, 2018 at 2:21 AM Joel Stanley <joel@xxxxxxxxx> wrote: > On Tue, 11 Dec 2018 at 18:32, Wang, Kuiying <kuiying.wang@xxxxxxxxx> wrote: > > > > Hi Joel/Andrew, > > > > I write a drive to enable GPIO passthrough for buttons (like power/reset/id button) as > > following attached patch. > > > > Do you think it is acceptable? > > > > Or we could do it in pinmux and extend gpio driver? Design passthrough state > > except in/out. > > I think that this direction would be better than a misc driver. I've > added Linus, the maintainer for these subsystems, and the linux-gpio > mailing list to cc. I am sorry but I'm confused about this. It's a very terse explanation of the problem and a bunch of code. Can you folks please define what exactly you mean with a "GPIO passthrough" and what you are trying to achieve with this on these buttons? Yours, Linus Walleij