From a887997fc03bd273264f7c5f7a5d1736fde839b4 Mon Sep 17 00:00:00 2001 From: Ayush Singh Date: Fri, 13 Sep 2024 00:33:40 +0530 Subject: [PATCH] schemas: gpio: Remove #gpio-cells dependence on gpio-controller Nexus node [0] introduced with devicetree spec v0.3 allow routing GPIO, clock, etc. For a GPIO nexus node, the dependence of #gpio-cells on gpio-controller does not make sense. [0]: https://devicetree-specification.readthedocs.io/en/v0.3/devicetree-basics.html#nexus-nodes-and-specifier-mapping Signed-off-by: Ayush Singh --- dtschema/schemas/gpio/gpio.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/dtschema/schemas/gpio/gpio.yaml b/dtschema/schemas/gpio/gpio.yaml index 87c381b2..f1593aad 100644 --- a/dtschema/schemas/gpio/gpio.yaml +++ b/dtschema/schemas/gpio/gpio.yaml @@ -35,7 +35,6 @@ properties: dependencies: gpio-controller: ['#gpio-cells'] - '#gpio-cells': [ gpio-controller ] gpio-line-names: ['#gpio-cells'] ngpios: ['#gpio-cells'] gpio-reserved-ranges: ['#gpio-cells']