7d446901c85522ad867e39aae53d84449d95c026
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0256-media-dt-bindings-media-i2c-Add-mono-version-to-IMX2.patch
1 From 5257f480d8ca030b13bbc30b2b5c1dd58cfbbbf5 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 25 Jun 2020 16:52:14 +0100
4 Subject: [PATCH] media: dt-bindings: media: i2c: Add mono version to
5 IMX290 bindings
6
7 The IMX290 module is available as either monochrome or colour and
8 the variant is not detectable at runtime.
9
10 Add a new compatible string for the monochrome version.
11
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
13 ---
14 Documentation/devicetree/bindings/media/i2c/imx290.txt | 7 ++++---
15 1 file changed, 4 insertions(+), 3 deletions(-)
16
17 --- a/Documentation/devicetree/bindings/media/i2c/imx290.txt
18 +++ b/Documentation/devicetree/bindings/media/i2c/imx290.txt
19 @@ -1,13 +1,14 @@
20 * Sony IMX290 1/2.8-Inch CMOS Image Sensor
21
22 The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with
23 -Square Pixel for Color Cameras. It is programmable through I2C and 4-wire
24 -interfaces. The sensor output is available via CMOS logic parallel SDR output,
25 +Square Pixel for Color or Monochrome Cameras. It is programmable through I2C
26 +and 4-wire interfaces.
27 +The sensor output is available via CMOS logic parallel SDR output,
28 Low voltage LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the
29 default. No bindings have been defined for the other busses.
30
31 Required Properties:
32 -- compatible: Should be "sony,imx290"
33 +- compatible: Should be "sony,imx290", or "sony,imx290-mono"
34 - reg: I2C bus address of the device
35 - clocks: Reference to the xclk clock.
36 - clock-names: Should be "xclk".