Re: [PATCH 25/38] dt-bindings: gpio: tegra: Convert to json-schema
From: Dmitry Osipenko <hidden>
Date: 2020-06-17 04:24:21
Also in:
linux-devicetree
From: Dmitry Osipenko <hidden>
Date: 2020-06-17 04:24:21
Also in:
linux-devicetree
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.