1 From 7ed07a716b1aab15c91a3238dacbc1fc76ace567 Mon Sep 17 00:00:00 2001
2 From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
3 Date: Tue, 23 Aug 2022 03:58:21 +0300
4 Subject: [PATCH] dt-bindings: media: i2c: Add IMX296 CMOS sensor
7 Add YAML devicetree binding for IMX296 CMOS image sensor. Let's also
8 add MAINTAINERS entry for the binding and driver.
10 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
12 Reviewed-by: Rob Herring <robh@kernel.org>
13 Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
15 .../bindings/media/i2c/sony,imx296.yaml | 106 ++++++++++++++++++
17 2 files changed, 114 insertions(+)
18 create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml
21 +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml
23 +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
26 +$id: http://devicetree.org/schemas/media/i2c/sony,imx296.yaml#
27 +$schema: http://devicetree.org/meta-schemas/core.yaml#
29 +title: Sony IMX296 1/2.8-Inch CMOS Image Sensor
32 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
33 + - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
36 + The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image
37 + sensor with square pixel array and 1.58 M effective pixels. This chip
38 + features a global shutter with variable charge-integration time. It is
39 + programmable through I2C and 4-wire interfaces. The sensor output is
40 + available via CSI-2 serial data output (1 Lane).
49 + The IMX296 sensor exists in two different models, a colour variant
50 + (IMX296LQ) and a monochrome variant (IMX296LL). The device exposes the
51 + model through registers, allowing for auto-detection with a common
52 + "sony,imx296" compatible string. However, some camera modules disable the
53 + ability to read the sensor model register, which disables this feature.
54 + In those cases, the exact model needs to be specified as "sony,imx296ll"
64 + description: Input clock (37.125 MHz, 54 MHz or 74.25 MHz)
69 + description: Analog power supply (3.3V)
72 + description: Digital power supply (1.2V)
75 + description: Interface power supply (1.8V)
78 + description: Sensor reset (XCLR) GPIO
82 + $ref: /schemas/graph.yaml#/properties/port
94 +additionalProperties: false
98 + #include <dt-bindings/gpio/gpio.h>
101 + #address-cells = <1>;
104 + imx296: camera-sensor@1a {
105 + compatible = "sony,imx296";
108 + pinctrl-names = "default";
109 + pinctrl-0 = <&camera_rear_default>;
111 + clocks = <&gcc 90>;
112 + clock-names = "inck";
114 + avdd-supply = <&camera_vdda_3v3>;
115 + dvdd-supply = <&camera_vddd_1v2>;
116 + ovdd-supply = <&camera_vddo_1v8>;
118 + reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
121 + imx296_ep: endpoint {
122 + remote-endpoint = <&csiphy0_ep>;
131 @@ -19274,6 +19274,14 @@ T: git git://linuxtv.org/media_tree.git
132 F: Documentation/devicetree/bindings/media/i2c/imx290.txt
133 F: drivers/media/i2c/imx290.c
135 +SONY IMX296 SENSOR DRIVER
136 +M: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
137 +M: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
138 +L: linux-media@vger.kernel.org
140 +T: git git://linuxtv.org/media_tree.git
141 +F: Documentation/devicetree/bindings/media/i2c/sony,imx296.yaml
143 SONY IMX319 SENSOR DRIVER
144 M: Bingbu Cao <bingbu.cao@intel.com>
145 L: linux-media@vger.kernel.org