Message ID | 20220607134057.2427663-2-bryan.odonoghue@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add imx577 compatible to imx412 | expand |
On Tue, 07 Jun 2022 14:40:56 +0100, Bryan O'Donoghue wrote: > The Sony IMX577 uses the same silicon enabling reference code from Sony in > the available examples provided. > > Add an imx577 compatible string to allow for chip differentiation and > accurate description of hardware in dts. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> > --- > Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Acked-by: Rob Herring <robh@kernel.org>
Hi Bryan, Quoting Bryan O'Donoghue (2022-06-07 14:40:56) > The Sony IMX577 uses the same silicon enabling reference code from Sony in > the available examples provided. > > Add an imx577 compatible string to allow for chip differentiation and > accurate description of hardware in dts. > > Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > --- > Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml > index 26d1807d0bb6..d1561841ccbc 100644 > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml > @@ -19,7 +19,10 @@ description: > > properties: > compatible: > - const: sony,imx412 > + items: > + - enum: > + - sony,imx412 > + - sony,imx577 > reg: > description: I2C address > maxItems: 1 > -- > 2.36.1 >
diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml index 26d1807d0bb6..d1561841ccbc 100644 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml @@ -19,7 +19,10 @@ description: properties: compatible: - const: sony,imx412 + items: + - enum: + - sony,imx412 + - sony,imx577 reg: description: I2C address maxItems: 1
The Sony IMX577 uses the same silicon enabling reference code from Sony in the available examples provided. Add an imx577 compatible string to allow for chip differentiation and accurate description of hardware in dts. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)