Skip to content

Commit 17628f1

Browse files
IoanaCiorneiBartosz Golaszewski
authored andcommitted
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: f03a7f2 ("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>
1 parent 9b90afa commit 17628f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/gpio/trivial-gpio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/trivial-gpio.yaml#
4+
$id: http://devicetree.org/schemas/gpio/trivial-gpio.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: Trivial 2-cell GPIO controllers

0 commit comments

Comments
 (0)