1 From 695dadec7459162f4945320081c9c4d2712406a4 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 16 Feb 2023 00:29:49 +0200
4 Subject: [PATCH] media: dt-bindings: media: i2c: Add mono version to
7 Should be upstream commit f0c720ff2d21
9 The IMX290 module is available as either monochrome or colour and
10 the variant is not detectable at runtime.
12 Add a new compatible string for the monochrome version, based on the
13 full device name IMX290LLR. For consistency, add a new compatible string
14 for the colour version based on the IMX290LQR full device name, and
15 deprecate the current ambiguous compatible string.
17 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
18 Acked-by: Rob Herring <robh@kernel.org>
19 Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
20 Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
21 Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
22 Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
24 .../bindings/media/i2c/sony,imx290.yaml | 24 +++++++++++++------
25 1 file changed, 17 insertions(+), 7 deletions(-)
27 --- a/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
28 +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx290.yaml
29 @@ -12,15 +12,25 @@ maintainers:
32 The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with Square
33 - Pixel for Color Cameras. It is programmable through I2C and 4-wire
34 - interfaces. The sensor output is available via CMOS logic parallel SDR
35 - output, Low voltage LVDS DDR output and CSI-2 serial data output. The CSI-2
36 - bus is the default. No bindings have been defined for the other busses.
37 + Pixel, available in either mono or colour variants. It is programmable
38 + through I2C and 4-wire interfaces.
40 + The sensor output is available via CMOS logic parallel SDR output, Low voltage
41 + LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the default.
42 + No bindings have been defined for the other busses.
44 + imx290lqr is the full model identifier for the colour variant. "sony,imx290"
45 + is treated the same as this as it was the original compatible string.
46 + imx290llr is the mono version of the sensor.
54 + - sony,imx290lqr # Colour
55 + - sony,imx290llr # Monochrome
56 + - const: sony,imx290
61 @@ -101,7 +111,7 @@ examples:
64 imx290: camera-sensor@1a {
65 - compatible = "sony,imx290";
66 + compatible = "sony,imx290lqr";
69 pinctrl-names = "default";