Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_GPIO driver to 2.6.35

From: Mike Frysinger
Date: Tue Sep 28 2010 - 01:32:46 EST


On Tue, Sep 28, 2010 at 01:25, Masayuki Ohtake wrote:
>> find out what range of GPIO numbers your driver is using and use those
>> instead of "1"
>
> I have attached a part of our source file.
>
> Since I set "ngpio=12",
> I guess 0-11 can be used, thus, "echo 1 > export" should be success too.
> Is this true ?

there are often multiple gpio sources in a system. whichever one is
registered first (usually the arch/cpu specific one) tends to start at
0.

i'm merely providing generic gpio information. i know nothing of your
specific arch/cpu/board setup. you'll have to do some
digging/debugging on your side.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/