[PATCH v2 1/2] dt-bindings: pinctrl: xilinx: Add support for function with pins
Rob Herring
robh at kernel.org
Wed May 22 07:48:46 PDT 2024
On Mon, May 20, 2024 at 11:04:23AM -0400, Sean Anderson wrote:
> Support specifying the function per-pin. The driver doesn't care
> whethern you use pins or groups for this purpose.
>
> Signed-off-by: Sean Anderson <sean.anderson at linux.dev>
> ---
>
> (no changes since v1)
>
> .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 344 +++++++++---------
> 1 file changed, 176 insertions(+), 168 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
> index f13d315b5d5e..d3b258245e28 100644
> --- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml
> @@ -42,179 +42,187 @@ patternProperties:
> $ref: pinmux-node.yaml#
>
> properties:
> + pins:
> + description:
> + List of pins to select (either this or "groups" must be specified)
Express as a schema:
oneOf:
- required: [pins]
- required: [groups]
> + items:
> + pattern: '^MIO([0-9]|[1-6][0-9]|7[0-7])$'
> +
> groups:
> description:
> List of groups to select (either this or "pins" must be
> specified), available groups for this subnode.
> items:
More information about the linux-arm-kernel
mailing list