Re: [PATCH 2/2] pinctrl: add generic pins and functions properties

From: Mark Rutland
Date: Tue Aug 06 2013 - 04:41:44 EST


On Mon, Aug 05, 2013 at 10:56:00PM +0100, Stephen Warren wrote:
> From: Stephen Warren <swarren@xxxxxxxxxx>
>
> pinctrl bindings can benefit from generic property names that define
> which pins a "pin configuration node" affects, and which mux function
> to select onto those pins. Document new properties for this purpose so
> that other bindings may refer to them.
>
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
> index 31b0cb9..237823a 100644
> --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
> @@ -138,6 +138,9 @@ structure of the DT nodes that contain these properties.
>
> Supported generic properties are:
>
> +pins - the list of pins that properties in the node
> + apply to
> +function - the mux function to select

I assume the type of these properties must be described in the more
specific binding?

Mark.

> bias-disable - disable any pin bias
> bias-high-impedance - high impedance mode ("third-state", "floating")
> bias-bus-hold - latch weakly
> --
> 1.8.1.5
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/