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

From: Linus Walleij
Date: Mon Jun 17 2013 - 01:29:54 EST

On Fri, May 31, 2013 at 9:34 AM, Michal Simek <monstr@xxxxxxxxx> 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.

Linus Walleij
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at