Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfigproperties from a dt node

From: Linus Walleij
Date: Tue Jun 11 2013 - 04:48:52 EST

On Mon, Jun 10, 2013 at 9:40 PM, Heiko Stübner <heiko@xxxxxxxxx> wrote:

> pinconf_generic_parse_dt_config() takes a node as input and generates an
> array of generic pinconfig values from the properties of this node.
> As I couldn't find a mechanism to count the number of properties of a node
> the function uses internally an array to accept one of parameter and copies
> the real present options to a smaller variable at its end.
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>

Looks good, patch applied!

> +Supported configuration parameters are:
> +
> +bias-disable - disable any pin bias
> +bias-high-impedance - high impedance mode ("third-state", "floating")

We should probably document applicable arguments to these,
and indicate which ones are boolean. But that can be fixed up

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