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