diff mbox series

[v3,2/2] media: dt-bindings: i2c: use absolute path to other schema

Message ID 20240301084009.3030753-2-alexander.stein@ew.tq-group.com (mailing list archive)
State New, archived
Headers show
Series [v3,1/2] media: dt-bindings: sony,imx290: Allow props from video-interface-devices | expand

Commit Message

Alexander Stein March 1, 2024, 8:40 a.m. UTC
Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v3:
* Squashed patches 2-5 from v2 into a single one

 .../devicetree/bindings/media/i2c/galaxycore,gc0308.yaml        | 2 +-
 .../devicetree/bindings/media/i2c/galaxycore,gc2145.yaml        | 2 +-
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml    | 2 +-
 Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Comments

Laurent Pinchart March 1, 2024, 8:46 a.m. UTC | #1
Hi Alexander,

Thank you for the patch.

On Fri, Mar 01, 2024 at 09:40:08AM +0100, Alexander Stein wrote:
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

> ---
> Changes in v3:
> * Squashed patches 2-5 from v2 into a single one
> 
>  .../devicetree/bindings/media/i2c/galaxycore,gc0308.yaml        | 2 +-
>  .../devicetree/bindings/media/i2c/galaxycore,gc2145.yaml        | 2 +-
>  Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml    | 2 +-
>  Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml    | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
> index f81e7daed67b6..2bf1a81feaf47 100644
> --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
> @@ -15,7 +15,7 @@ description: |
>    They include an ISP capable of auto exposure and auto white balance.
>  
>  allOf:
> -  - $ref: ../video-interface-devices.yaml#
> +  - $ref: /schemas/media/video-interface-devices.yaml#
>  
>  properties:
>    compatible:
> diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> index 1726ecca4c77e..9eac588de0bc2 100644
> --- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
> @@ -19,7 +19,7 @@ description:
>    either through a parallel interface or through MIPI CSI-2.
>  
>  allOf:
> -  - $ref: ../video-interface-devices.yaml#
> +  - $ref: /schemas/media/video-interface-devices.yaml#
>  
>  properties:
>    compatible:
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 60903da84e1f3..0162eec8ca993 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -16,7 +16,7 @@ description: |
>    maximum throughput of 1.2Gbps/lane.
>  
>  allOf:
> -  - $ref: ../video-interface-devices.yaml#
> +  - $ref: /schemas/media/video-interface-devices.yaml#
>  
>  properties:
>    compatible:
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
> index 9a00dab2e8a3f..34962c5c70065 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
> @@ -18,7 +18,7 @@ description: |-
>    available via CSI-2 serial data output (two or four lanes).
>  
>  allOf:
> -  - $ref: ../video-interface-devices.yaml#
> +  - $ref: /schemas/media/video-interface-devices.yaml#
>  
>  properties:
>    compatible:
Krzysztof Kozlowski March 1, 2024, 8:49 a.m. UTC | #2
On 01/03/2024 09:40, Alexander Stein wrote:
> Absolute path to other DT schema is preferred over relative one.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
> Changes in v3:
> * Squashed patches 2-5 from v2 into a single one
> 

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
index f81e7daed67b6..2bf1a81feaf47 100644
--- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc0308.yaml
@@ -15,7 +15,7 @@  description: |
   They include an ISP capable of auto exposure and auto white balance.
 
 allOf:
-  - $ref: ../video-interface-devices.yaml#
+  - $ref: /schemas/media/video-interface-devices.yaml#
 
 properties:
   compatible:
diff --git a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
index 1726ecca4c77e..9eac588de0bc2 100644
--- a/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/galaxycore,gc2145.yaml
@@ -19,7 +19,7 @@  description:
   either through a parallel interface or through MIPI CSI-2.
 
 allOf:
-  - $ref: ../video-interface-devices.yaml#
+  - $ref: /schemas/media/video-interface-devices.yaml#
 
 properties:
   compatible:
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
index 60903da84e1f3..0162eec8ca993 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
@@ -16,7 +16,7 @@  description: |
   maximum throughput of 1.2Gbps/lane.
 
 allOf:
-  - $ref: ../video-interface-devices.yaml#
+  - $ref: /schemas/media/video-interface-devices.yaml#
 
 properties:
   compatible:
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
index 9a00dab2e8a3f..34962c5c70065 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
@@ -18,7 +18,7 @@  description: |-
   available via CSI-2 serial data output (two or four lanes).
 
 allOf:
-  - $ref: ../video-interface-devices.yaml#
+  - $ref: /schemas/media/video-interface-devices.yaml#
 
 properties:
   compatible: