mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices
@ 2024-02-23 14:47 Alexander Stein
  2024-02-23 14:47 ` [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema Alexander Stein
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Alexander Stein @ 2024-02-23 14:47 UTC (permalink / raw)
  To: Manivannan Sadhasivam, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Laurent Pinchart
  Cc: Alexander Stein, linux-media, devicetree, linux-arm-kernel, linux-kernel

Allow properties from video-interface-devices. This aligns the bindings
to sony,imx415.yaml. Changes inspired by commit e2e73ed46c395 ("media:
dt-bindings: sony,imx415: Allow props from video-interface-devices")

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Use absolute path to other schemas

 Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
index a531badc16c98..bf05ca48601ab 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
@@ -23,6 +23,9 @@ description: |-
   is treated the same as this as it was the original compatible string.
   imx290llr is the mono version of the sensor.
 
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
 properties:
   compatible:
     oneOf:
@@ -101,7 +104,7 @@ required:
   - vdddo-supply
   - port
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
@ 2024-02-23 14:47 ` Alexander Stein
  2024-02-29 19:23   ` Krzysztof Kozlowski
  2024-02-23 14:47 ` [PATCH v2 3/5] media: dt-bindings: gc2145: " Alexander Stein
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Alexander Stein @ 2024-02-23 14:47 UTC (permalink / raw)
  To: Sebastian Reichel, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Alexander Stein, linux-media, devicetree, linux-kernel

Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Added new patch

 .../devicetree/bindings/media/i2c/galaxycore,gc0308.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 3/5] media: dt-bindings: gc2145: use absolute path to other schema
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
  2024-02-23 14:47 ` [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema Alexander Stein
@ 2024-02-23 14:47 ` Alexander Stein
  2024-02-29 19:23   ` Krzysztof Kozlowski
  2024-02-23 14:47 ` [PATCH v2 4/5] media: dt-bindings: sony,imx214: " Alexander Stein
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 9+ messages in thread
From: Alexander Stein @ 2024-02-23 14:47 UTC (permalink / raw)
  To: Alain Volmat, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Alexander Stein, linux-media, devicetree, linux-kernel

Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Added new patch

 .../devicetree/bindings/media/i2c/galaxycore,gc2145.yaml        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 4/5] media: dt-bindings: sony,imx214: use absolute path to other schema
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
  2024-02-23 14:47 ` [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema Alexander Stein
  2024-02-23 14:47 ` [PATCH v2 3/5] media: dt-bindings: gc2145: " Alexander Stein
@ 2024-02-23 14:47 ` Alexander Stein
  2024-02-23 14:47 ` [PATCH v2 5/5] media: dt-bindings: sony,imx415: " Alexander Stein
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 9+ messages in thread
From: Alexander Stein @ 2024-02-23 14:47 UTC (permalink / raw)
  To: Ricardo Ribalda, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
  Cc: Alexander Stein, linux-media, devicetree, linux-arm-kernel, linux-kernel

Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Added new patch

 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 5/5] media: dt-bindings: sony,imx415: use absolute path to other schema
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
                   ` (2 preceding siblings ...)
  2024-02-23 14:47 ` [PATCH v2 4/5] media: dt-bindings: sony,imx214: " Alexander Stein
@ 2024-02-23 14:47 ` Alexander Stein
  2024-02-23 14:54 ` [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Laurent Pinchart
  2024-02-29 19:24 ` Krzysztof Kozlowski
  5 siblings, 0 replies; 9+ messages in thread
From: Alexander Stein @ 2024-02-23 14:47 UTC (permalink / raw)
  To: Michael Riesch, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
  Cc: Alexander Stein, linux-media, devicetree, linux-arm-kernel, linux-kernel

Absolute path to other DT schema is preferred over relative one.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Added new patch

 Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
                   ` (3 preceding siblings ...)
  2024-02-23 14:47 ` [PATCH v2 5/5] media: dt-bindings: sony,imx415: " Alexander Stein
@ 2024-02-23 14:54 ` Laurent Pinchart
  2024-02-29 19:24 ` Krzysztof Kozlowski
  5 siblings, 0 replies; 9+ messages in thread
From: Laurent Pinchart @ 2024-02-23 14:54 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Manivannan Sadhasivam, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	linux-media, devicetree, linux-arm-kernel, linux-kernel

On Fri, Feb 23, 2024 at 03:47:41PM +0100, Alexander Stein wrote:
> Allow properties from video-interface-devices. This aligns the bindings
> to sony,imx415.yaml. Changes inspired by commit e2e73ed46c395 ("media:
> dt-bindings: sony,imx415: Allow props from video-interface-devices")
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

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

> ---
> Changes in v2:
> * Use absolute path to other schemas
> 
>  Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
> index a531badc16c98..bf05ca48601ab 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
> @@ -23,6 +23,9 @@ description: |-
>    is treated the same as this as it was the original compatible string.
>    imx290llr is the mono version of the sensor.
>  
> +allOf:
> +  - $ref: /schemas/media/video-interface-devices.yaml#
> +
>  properties:
>    compatible:
>      oneOf:
> @@ -101,7 +104,7 @@ required:
>    - vdddo-supply
>    - port
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 3/5] media: dt-bindings: gc2145: use absolute path to other schema
  2024-02-23 14:47 ` [PATCH v2 3/5] media: dt-bindings: gc2145: " Alexander Stein
@ 2024-02-29 19:23   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2024-02-29 19:23 UTC (permalink / raw)
  To: Alexander Stein, Alain Volmat, Mauro Carvalho Chehab,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-media, devicetree, linux-kernel

On 23/02/2024 15:47, 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 v2:
> * Added new patch
> 

This is a trivial change, please squash patches.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema
  2024-02-23 14:47 ` [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema Alexander Stein
@ 2024-02-29 19:23   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2024-02-29 19:23 UTC (permalink / raw)
  To: Alexander Stein, Sebastian Reichel, Mauro Carvalho Chehab,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-media, devicetree, linux-kernel

On 23/02/2024 15:47, 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 v2:
> * Added new patch
> 

Please squash #3 here.


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

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices
  2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
                   ` (4 preceding siblings ...)
  2024-02-23 14:54 ` [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Laurent Pinchart
@ 2024-02-29 19:24 ` Krzysztof Kozlowski
  5 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2024-02-29 19:24 UTC (permalink / raw)
  To: Alexander Stein, Manivannan Sadhasivam, Mauro Carvalho Chehab,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Laurent Pinchart
  Cc: linux-media, devicetree, linux-arm-kernel, linux-kernel

On 23/02/2024 15:47, Alexander Stein wrote:
> Allow properties from video-interface-devices. This aligns the bindings
> to sony,imx415.yaml. Changes inspired by commit e2e73ed46c395 ("media:
> dt-bindings: sony,imx415: Allow props from video-interface-devices")
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
> Changes in v2:
> * Use absolute path to other schemas
> 

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

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-29 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23 14:47 [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Alexander Stein
2024-02-23 14:47 ` [PATCH v2 2/5] media: dt-bindings: gc0308: use absolute path to other schema Alexander Stein
2024-02-29 19:23   ` Krzysztof Kozlowski
2024-02-23 14:47 ` [PATCH v2 3/5] media: dt-bindings: gc2145: " Alexander Stein
2024-02-29 19:23   ` Krzysztof Kozlowski
2024-02-23 14:47 ` [PATCH v2 4/5] media: dt-bindings: sony,imx214: " Alexander Stein
2024-02-23 14:47 ` [PATCH v2 5/5] media: dt-bindings: sony,imx415: " Alexander Stein
2024-02-23 14:54 ` [PATCH v2 1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices Laurent Pinchart
2024-02-29 19:24 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®