On Sun, Mar 15, 2015 at 7:55 AM, Baruch Siach <[email protected]> wrote:

> pinconf_generic_dt_node_to_map() scans only subnodes of the pinctrl-0 pahndle,
> not the referenced node itself. Change the example nodes to match.
>
> Signed-off-by: Baruch Siach <[email protected]>

Patch applied...

>  state_0_node_a {
> -       function = "uart0";
> -       groups = "u0rxtx", "u0rtscts";
> +       uart0 {
> +               function = "uart0";
> +               groups = "u0rxtx", "u0rtscts";
> +       };
>  };
>  state_1_node_a {
> -       function = "spi0";
> -       groups = "spi0pins";
> +       spi0 {
> +               function = "spi0";
> +               groups = "spi0pins";
> +       };
>  };

But that is a bit insane. We should fix the parsing code to handle
either case instead.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to