]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: gpio: simplify GPIO hog nodes schema
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 28 Aug 2024 09:35:59 +0000 (11:35 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 2 Sep 2024 10:27:29 +0000 (12:27 +0200)
commita0c479bfff034c183bfe9f47a313b8aebc7f96f8
tree410b47a042f0f401c1697d1af4704b88bbacf000
parent0cbda0499a2797278aa067e98c5221948494356d
dt-bindings: gpio: simplify GPIO hog nodes schema

The core schema in dtschema already strictly defines contents of nodes
with "gpio-hog" property (with additionalProperties: false), thus the
only thing device schema should do is: define "type: object" and
required "gpio-hog".  Make the code a bit simpler by removing redundant
parts.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240828-dt-bindings-gpio-hog-v1-3-63b83e47d804@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
Documentation/devicetree/bindings/gpio/socionext,uniphier-gpio.yaml