[PATCH 1/2] GPIO: Add support for dual channel in gpio-xilinx.c

Linus Walleij linus.walleij at linaro.org
Mon Jun 17 15:29:49 EST 2013


On Fri, May 31, 2013 at 9:34 AM, Michal Simek <monstr at monstr.eu> wrote:
> On 05/31/2013 09:14 AM, Linus Walleij wrote:

>> It's OK, but fix the boolean member so as to just needing to
>> be present:
>>
>> xlnx,is-dual;
>>
>> Rather than
>>
>> xlnx,is-dual = <1>;
>
> Surely I can do it but it means to change our BSP and because
> this IP is used on Microblaze from beginning this change
> breaks all DTSes from past.

I think of_property_read_bool() will accept
xlnx,is-dual = <1>; to mean the same as xlnx,is-dual;
try it.

Yours,
Linus Walleij


More information about the devicetree-discuss mailing list