lkml.org 
[lkml]   [2012]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] gpio: add TS-5500 DIO headers support
    From
    Date
    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



    \
     
     \ /
      Last update: 2012-10-13 00:41    [W:4.274 / U:0.384 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site