Messages in this thread | | | Subject | Re: [PATCH] gpio: add TS-5500 DIO headers support | From | Vivien Didelot <> | Date | Fri, 12 Oct 2012 18:04:25 -0400 |
| |
Hi Linus,
On Fri, 2012-10-12 at 22:53 +0200, Linus Walleij wrote: > Well that may also be a pretty big step if you just want to mux > one bank of GPIO. I'm a bit ambivalent. But if you want to tie > pin and gpio information together and name all pins, pinctrl > is what should suit you best. > > In the GPIO world, things are opaque "gpios" not really pins.
Thanks a lot for all your comments. I think I'll stick with the GPIO framework for the moment, trying to keep it as simple as possible.
About the generic driver (to allow registering one platform device per DIO block), I think it won't be possible, because there are shared regions, such as 0x7d, used by DIO2 and LCD DIO for direction...
Is there a way to share this, or does this mean that this driver should handle the 3 blocks as it already does?
Thanks, Vivien
| |