Skip to content

Commit

Permalink
schemas: gpio: Remove #gpio-cells dependence on gpio-controller
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Ayush1325 committed Sep 12, 2024
1 parent dc4787b commit a887997
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dtschema/schemas/gpio/gpio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit a887997

Please sign in to comment.