Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / Documentation / devicetree / bindings / media / i2c / imx290.txt
1 * Sony IMX290 1/2.8-Inch CMOS Image Sensor
2
3 The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with
4 Square Pixel for Color or Monochrome Cameras. It is programmable through I2C
5 and 4-wire interfaces.
6 The sensor output is available via CMOS logic parallel SDR output,
7 Low voltage LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the
8 default. No bindings have been defined for the other busses.
9
10 Required Properties:
11 - compatible: Should be "sony,imx290", or "sony,imx290-mono"
12 - reg: I2C bus address of the device
13 - clocks: Reference to the xclk clock.
14 - clock-names: Should be "xclk".
15 - clock-frequency: Frequency of the xclk clock in Hz.
16 - vdddo-supply: Sensor digital IO regulator.
17 - vdda-supply: Sensor analog regulator.
18 - vddd-supply: Sensor digital core regulator.
19
20 Optional Properties:
21 - reset-gpios: Sensor reset GPIO
22
23 The imx290 device node should contain one 'port' child node with
24 an 'endpoint' subnode. For further reading on port node refer to
25 Documentation/devicetree/bindings/media/video-interfaces.txt.
26
27 Required Properties on endpoint:
28 - data-lanes: check ../video-interfaces.txt
29 - link-frequencies: check ../video-interfaces.txt
30 - remote-endpoint: check ../video-interfaces.txt
31
32 Example:
33         &i2c1 {
34                 ...
35                 imx290: camera-sensor@1a {
36                         compatible = "sony,imx290";
37                         reg = <0x1a>;
38
39                         reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
40                         pinctrl-names = "default";
41                         pinctrl-0 = <&camera_rear_default>;
42
43                         clocks = <&gcc GCC_CAMSS_MCLK0_CLK>;
44                         clock-names = "xclk";
45                         clock-frequency = <37125000>;
46
47                         vdddo-supply = <&camera_vdddo_1v8>;
48                         vdda-supply = <&camera_vdda_2v8>;
49                         vddd-supply = <&camera_vddd_1v5>;
50
51                         port {
52                                 imx290_ep: endpoint {
53                                         data-lanes = <1 2 3 4>;
54                                         link-frequencies = /bits/ 64 <445500000>;
55                                         remote-endpoint = <&csiphy0_ep>;
56                                 };
57                         };
58                 };