diff mbox series

[2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema

Message ID 20240620-dt-bindings-i2c-clean-v1-2-3a1016a95f9d@linaro.org
State New
Headers show
Series dt-bindings: i2c: few fixes and cleanups | expand

Commit Message

Krzysztof Kozlowski June 20, 2024, 11:34 a.m. UTC
The referenced i2c-controller.yaml schema is provided by dtschema
package (outside of Linux kernel), so use full path to reference it.

Cc: <stable@vger.kernel.org>
Fixes: 1acd4577a66f ("dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Conor Dooley June 20, 2024, 4:06 p.m. UTC | #1
On Thu, Jun 20, 2024 at 01:34:50PM +0200, Krzysztof Kozlowski wrote:
> The referenced i2c-controller.yaml schema is provided by dtschema
> package (outside of Linux kernel), so use full path to reference it.
> 
> Cc: <stable@vger.kernel.org>

I'd question whether this needs to go to stable (given the validation
seems to work anyway) but it'll get picked up automagically so why
not...

> Fixes: 1acd4577a66f ("dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> index ab151c9db219..580003cdfff5 100644
> --- a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> +++ b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> @@ -21,7 +21,7 @@ description: |
>    google,cros-ec-spi or google,cros-ec-i2c.
>  
>  allOf:
> -  - $ref: i2c-controller.yaml#
> +  - $ref: /schemas/i2c/i2c-controller.yaml#
>  
>  properties:
>    compatible:
> 
> -- 
> 2.43.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
index ab151c9db219..580003cdfff5 100644
--- a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
+++ b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
@@ -21,7 +21,7 @@  description: |
   google,cros-ec-spi or google,cros-ec-i2c.
 
 allOf:
-  - $ref: i2c-controller.yaml#
+  - $ref: /schemas/i2c/i2c-controller.yaml#
 
 properties:
   compatible: