Re: [PATCH 25/38] dt-bindings: gpio: tegra: Convert to json-schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



12.06.2020 17:18, Thierry Reding пишет:
...
> +patternProperties:
> +  # GPIO hogs; /schemas/gpio/gpio-hog.yaml will match
> +  "^gpios(-[a-zA-Z0-9-]+)?$":
> +    type: object
> +    required:
> +      - gpio-hog

There are two problems here:

1. This naming limitation didn't exist before this patch, so it's not a
part of the conversion.

2. GPIO core uses the node's name for the hog's name. Hence by imposing
the "gpios-" prefix, you're forcing all hogs to be named as gpios-xxx,
which doesn't make much sense to me.

Please explain the rationale of this change.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux