diff mbox series

[1/1] media: dt-bindings: sony,imx219: Allow props from video-interface-devices

Message ID 20250515142945.1348722-1-alexander.stein@ew.tq-group.com
State Accepted
Headers show
Series [1/1] media: dt-bindings: sony,imx219: Allow props from video-interface-devices | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 17 lines checked
robh/patch-applied success
robh/dt-meta-schema success

Commit Message

Alexander Stein May 15, 2025, 2:29 p.m. UTC
Allow properties from video-interface-devices. The change is identical to
commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
video-interface-devices")

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Jai Luthra May 15, 2025, 3:06 p.m. UTC | #1
Quoting Alexander Stein (2025-05-15 16:29:42)
> Allow properties from video-interface-devices. The change is identical to
> commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
> video-interface-devices")
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>

Are there any driver changes coming for the new properties?

> ---
>  Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> index 8b23e5fc6a24f..38c3759bcd9f5 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> @@ -16,6 +16,9 @@ description: |-
>    Image data is sent through MIPI CSI-2, which is configured as either 2 or
>    4 data lanes.
>  
> +allOf:
> +  - $ref: /schemas/media/video-interface-devices.yaml#
> +
>  properties:
>    compatible:
>      const: sony,imx219
> @@ -79,7 +82,7 @@ required:
>    - VDDL-supply
>    - port
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |
> -- 
> 2.43.0
> 
>
Alexander Stein May 15, 2025, 3:09 p.m. UTC | #2
Hi,

Am Donnerstag, 15. Mai 2025, 17:06:35 CEST schrieb Jai Luthra:
> Quoting Alexander Stein (2025-05-15 16:29:42)
> > Allow properties from video-interface-devices. The change is identical to
> > commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
> > video-interface-devices")
> > 
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> 
> Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
> 
> Are there any driver changes coming for the new properties?

No. This is a standard property and is already handled in v4l2_fwnode_device_parse(),
same as orientation.

Best regards,
Alexander

> > ---
> >  Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> > index 8b23e5fc6a24f..38c3759bcd9f5 100644
> > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
> > @@ -16,6 +16,9 @@ description: |-
> >    Image data is sent through MIPI CSI-2, which is configured as either 2 or
> >    4 data lanes.
> >  
> > +allOf:
> > +  - $ref: /schemas/media/video-interface-devices.yaml#
> > +
> >  properties:
> >    compatible:
> >      const: sony,imx219
> > @@ -79,7 +82,7 @@ required:
> >    - VDDL-supply
> >    - port
> >  
> > -additionalProperties: false
> > +unevaluatedProperties: false
> >  
> >  examples:
> >    - |
> >
>
Jai Luthra May 15, 2025, 3:27 p.m. UTC | #3
Quoting Alexander Stein (2025-05-15 17:09:24)
> Hi,
> 
> Am Donnerstag, 15. Mai 2025, 17:06:35 CEST schrieb Jai Luthra:
> > Quoting Alexander Stein (2025-05-15 16:29:42)
> > > Allow properties from video-interface-devices. The change is identical to
> > > commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
> > > video-interface-devices")
> > > 
> > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > 
> > Reviewed-by: Jai Luthra <jai.luthra@ideasonboard.com>
> > 
> > Are there any driver changes coming for the new properties?
> 
> No. This is a standard property and is already handled in v4l2_fwnode_device_parse(),
> same as orientation.
> 

Ah understood, thank you.

> Best regards,
> Alexander
> 
> > > ---
> > >  Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml | 5 ++++-
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > > 

--
Jai
Rob Herring (Arm) May 27, 2025, 7:24 p.m. UTC | #4
On Thu, 15 May 2025 16:29:42 +0200, Alexander Stein wrote:
> Allow properties from video-interface-devices. The change is identical to
> commit b6339ecfd0865 ("media: dt-bindings: sony,imx290: Allow props from
> video-interface-devices")
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
>  Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Hasn't been picked up in 2 weeks, so I applied it.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
index 8b23e5fc6a24f..38c3759bcd9f5 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx219.yaml
@@ -16,6 +16,9 @@  description: |-
   Image data is sent through MIPI CSI-2, which is configured as either 2 or
   4 data lanes.
 
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
 properties:
   compatible:
     const: sony,imx219
@@ -79,7 +82,7 @@  required:
   - VDDL-supply
   - port
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |