[PATCH 2/9] collie: prepare for gpiolib use
Thomas Kunze
thommycheck at gmx.de
Wed Oct 7 16:23:14 EDT 2009
Dmitry Artamonow wrote:
> On 23:35 Mon 05 Oct , Thomas Kunze wrote:
>
>> prefix gpio definitions for direct register access with '_' so we
>> can use the other names for gpio_request & co
>>
>
> Familiar problem - numeric vs bit-shifted gpio defines.
> I'm facing it here too while converting h3[16]00 to gpiolib,
> and I'm thinking about dropping bit-shifted defines completely
> and using GPIO_GPIO(SOME_NUMERIC_GPIO) instead.
>
> Perhaps you may find this idea useful for collie.
>
>
While a good idea I don't want to make the line in cpu initialisation
any longer.
This is only a short term solution. In the long term we should do the
same as pxa.
More information about the linux-arm-kernel
mailing list