dt-bindings: gpio: fix trivial-gpio's schema id
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 12 Sep 2025 16:59:16 +0000 (19:59 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 16 Sep 2025 09:45:24 +0000 (11:45 +0200)
commit17628f1abbf4bd4162c655f3260d68bc1934ec73
tree9e0271b295268db2ead160c6e93b91067586fd1c
parent9b90afa6d613b66ec4e74ae75f9bfa5baf386ecd
dt-bindings: gpio: fix trivial-gpio's schema id

In case the trivial-gpio schema is referenced through a $ref like
/schemas/trivial-gpio.yaml to match its current schema ID, the following
error message is displayed:

Error in referenced schema matching $id: http://devicetree.org/schemas/trivial-gpio.yaml
Tried these paths (check schema $id if path is wrong):
/path/to/linux/Documentation/devicetree/bindings/trivial-gpio.yaml
/path/to/dtchema/schemas/trivial-gpio.yaml

Fix this by adding the 'gpio' folder to the schema's ID to match its
file path.

Fixes: f03a7f20b23c ("dt-bindings: gpio: Create a trivial GPIO schema")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250912165916.3098215-1-ioana.ciornei@nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/trivial-gpio.yaml