[PATCH v3 1/2] dt-bindings: pinctrl: Add dt-bindings for Sunplus SP7021
Linus Walleij
linus.walleij at linaro.org
Thu Dec 9 15:30:13 PST 2021
On Tue, Dec 7, 2021 at 5:17 AM Wells Lu <wellslutw at gmail.com> wrote:
> Add dt-bindings header files and documentation for Sunplus SP7021 SoC.
>
> Signed-off-by: Wells Lu <wellslutw at gmail.com>
> +patternProperties:
> + '-pins$':
> + if:
> + type: object
> + then:
> + description: |
> + A pinctrl node should contain at least one subnodes representing the
> + pins or function-pins group available on the machine. Each subnode
> + will list the pins it needs, and how they should be configured.
> +
> + Pinctrl node's client devices use subnodes for desired pin
> + configuration. Client device subnodes use below standard properties.
I don't understand this if type object stuff here, Rob, help...
> + properties:
> + pins:
> + description: |
> + Define pins which are used by pinctrl node's client device.
(...)
> + $ref: /schemas/types.yaml#/definitions/uint32-array
Why can this not $ref the standard binings in
Documentation/devicetree/bindings/pinctrl/pinmux-node.yaml
See for example
Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml
for a nice example of how to use this.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list