1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/s 4 $id: http://devicetree.org/schemas/media/i2c/sony,imx290.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Sony IMX290 1/2.8-Inch CMOS Image Senso 7 title: Sony IMX290 1/2.8-Inch CMOS Image Sensor 8 8 9 maintainers: 9 maintainers: 10 - Manivannan Sadhasivam <manivannan.sadhasiva 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 - Laurent Pinchart <laurent.pinchart@ideasonb 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 12 12 13 description: |- 13 description: |- 14 The Sony IMX290 is a 1/2.8-Inch CMOS Solid-s 14 The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with Square 15 Pixel, available in either mono or colour va 15 Pixel, available in either mono or colour variants. It is programmable 16 through I2C and 4-wire interfaces. 16 through I2C and 4-wire interfaces. 17 17 18 The sensor output is available via CMOS logi 18 The sensor output is available via CMOS logic parallel SDR output, Low voltage 19 LVDS DDR output and CSI-2 serial data output 19 LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the default. 20 No bindings have been defined for the other 20 No bindings have been defined for the other busses. 21 21 22 imx290lqr is the full model identifier for t 22 imx290lqr is the full model identifier for the colour variant. "sony,imx290" 23 is treated the same as this as it was the or 23 is treated the same as this as it was the original compatible string. 24 imx290llr is the mono version of the sensor. 24 imx290llr is the mono version of the sensor. 25 25 26 allOf: 26 allOf: 27 - $ref: /schemas/media/video-interface-devic 27 - $ref: /schemas/media/video-interface-devices.yaml# 28 28 29 properties: 29 properties: 30 compatible: 30 compatible: 31 oneOf: 31 oneOf: 32 - enum: 32 - enum: 33 - sony,imx290lqr # Colour 33 - sony,imx290lqr # Colour 34 - sony,imx290llr # Monochrome 34 - sony,imx290llr # Monochrome 35 - sony,imx327lqr # Colour 35 - sony,imx327lqr # Colour 36 - const: sony,imx290 36 - const: sony,imx290 37 deprecated: true 37 deprecated: true 38 38 39 reg: 39 reg: 40 maxItems: 1 40 maxItems: 1 41 41 42 clocks: 42 clocks: 43 maxItems: 1 43 maxItems: 1 44 44 45 clock-names: 45 clock-names: 46 description: Input clock (37.125 MHz or 74 46 description: Input clock (37.125 MHz or 74.25 MHz) 47 items: 47 items: 48 - const: xclk 48 - const: xclk 49 49 50 clock-frequency: 50 clock-frequency: 51 description: Frequency of the xclk clock i 51 description: Frequency of the xclk clock in Hz 52 52 53 vdda-supply: 53 vdda-supply: 54 description: Analog power supply (2.9V) 54 description: Analog power supply (2.9V) 55 55 56 vddd-supply: 56 vddd-supply: 57 description: Digital core power supply (1. 57 description: Digital core power supply (1.2V) 58 58 59 vdddo-supply: 59 vdddo-supply: 60 description: Digital I/O power supply (1.8 60 description: Digital I/O power supply (1.8V) 61 61 62 reset-gpios: 62 reset-gpios: 63 description: Sensor reset (XCLR) GPIO 63 description: Sensor reset (XCLR) GPIO 64 maxItems: 1 64 maxItems: 1 65 65 66 port: 66 port: 67 $ref: /schemas/graph.yaml#/$defs/port-base 67 $ref: /schemas/graph.yaml#/$defs/port-base 68 description: | 68 description: | 69 Video output port 69 Video output port 70 70 71 properties: 71 properties: 72 endpoint: 72 endpoint: 73 $ref: /schemas/media/video-interfaces. 73 $ref: /schemas/media/video-interfaces.yaml# 74 unevaluatedProperties: false 74 unevaluatedProperties: false 75 75 76 properties: 76 properties: 77 data-lanes: 77 data-lanes: 78 anyOf: 78 anyOf: 79 - items: 79 - items: 80 - const: 1 80 - const: 1 81 - const: 2 81 - const: 2 82 - items: 82 - items: 83 - const: 1 83 - const: 1 84 - const: 2 84 - const: 2 85 - const: 3 85 - const: 3 86 - const: 4 86 - const: 4 87 87 88 link-frequencies: true 88 link-frequencies: true 89 89 90 required: 90 required: 91 - data-lanes 91 - data-lanes 92 - link-frequencies 92 - link-frequencies 93 93 94 additionalProperties: false 94 additionalProperties: false 95 95 96 required: 96 required: 97 - compatible 97 - compatible 98 - reg 98 - reg 99 - clocks 99 - clocks 100 - clock-names 100 - clock-names 101 - clock-frequency 101 - clock-frequency 102 - vdda-supply 102 - vdda-supply 103 - vddd-supply 103 - vddd-supply 104 - vdddo-supply 104 - vdddo-supply 105 - port 105 - port 106 106 107 unevaluatedProperties: false 107 unevaluatedProperties: false 108 108 109 examples: 109 examples: 110 - | 110 - | 111 #include <dt-bindings/gpio/gpio.h> 111 #include <dt-bindings/gpio/gpio.h> 112 112 113 i2c { 113 i2c { 114 #address-cells = <1>; 114 #address-cells = <1>; 115 #size-cells = <0>; 115 #size-cells = <0>; 116 116 117 imx290: camera-sensor@1a { 117 imx290: camera-sensor@1a { 118 compatible = "sony,imx290lqr"; 118 compatible = "sony,imx290lqr"; 119 reg = <0x1a>; 119 reg = <0x1a>; 120 120 121 pinctrl-names = "default"; 121 pinctrl-names = "default"; 122 pinctrl-0 = <&camera_rear_default> 122 pinctrl-0 = <&camera_rear_default>; 123 123 124 clocks = <&gcc 90>; 124 clocks = <&gcc 90>; 125 clock-names = "xclk"; 125 clock-names = "xclk"; 126 clock-frequency = <37125000>; 126 clock-frequency = <37125000>; 127 127 128 vdddo-supply = <&camera_vdddo_1v8> 128 vdddo-supply = <&camera_vdddo_1v8>; 129 vdda-supply = <&camera_vdda_2v8>; 129 vdda-supply = <&camera_vdda_2v8>; 130 vddd-supply = <&camera_vddd_1v5>; 130 vddd-supply = <&camera_vddd_1v5>; 131 131 132 reset-gpios = <&msmgpio 35 GPIO_AC 132 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>; 133 133 134 port { 134 port { 135 imx290_ep: endpoint { 135 imx290_ep: endpoint { 136 data-lanes = <1 2 3 4>; 136 data-lanes = <1 2 3 4>; 137 link-frequencies = /bits/ 137 link-frequencies = /bits/ 64 <445500000>; 138 remote-endpoint = <&csiphy 138 remote-endpoint = <&csiphy0_ep>; 139 }; 139 }; 140 }; 140 }; 141 }; 141 }; 142 }; 142 }; 143 ... 143 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.