Message ID | 20240223144746.2583749-1-alexander.stein@ew.tq-group.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/5] media: dt-bindings: sony,imx290: Allow props from video-interface-devices | expand |
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: > - |
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
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: - |
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(-)