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,imx415.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sony IMX415 CMOS Image Sensor 8 9maintainers: 10 - Michael Riesch <michael.riesch@wolfvision.net> 11 12description: |- 13 The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type 14 solid-state image sensor with a square pixel array and 8.46 M effective 15 pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface 16 1.8 V triple power supply, and has low power consumption. 17 The IMX415 is programmable through I2C interface. The sensor output is 18 available via CSI-2 serial data output (two or four lanes). 19 20allOf: 21 - $ref: ../video-interface-devices.yaml# 22 23properties: 24 compatible: 25 const: sony,imx415 26 27 reg: 28 maxItems: 1 29 30 clocks: 31 description: Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz) 32 maxItems: 1 33 34 avdd-supply: 35 description: Analog power supply (2.9 V) 36 37 dvdd-supply: 38 description: Digital power supply (1.1 V) 39 40 ovdd-supply: 41 description: Interface power supply (1.8 V) 42 43 reset-gpios: 44 description: Sensor reset (XCLR) GPIO 45 maxItems: 1 46 47 flash-leds: true 48 49 lens-focus: true 50 51 orientation: true 52 53 rotation: true 54 55 port: 56 $ref: /schemas/graph.yaml#/$defs/port-base 57 unevaluatedProperties: false 58 59 properties: 60 endpoint: 61 $ref: /schemas/media/video-interfaces.yaml# 62 unevaluatedProperties: false 63 64 properties: 65 data-lanes: 66 oneOf: 67 - items: 68 - const: 1 69 - const: 2 70 - items: 71 - const: 1 72 - const: 2 73 - const: 3 74 - const: 4 75 76 required: 77 - data-lanes 78 - link-frequencies 79 80 required: 81 - endpoint 82 83required: 84 - compatible 85 - reg 86 - clocks 87 - avdd-supply 88 - dvdd-supply 89 - ovdd-supply 90 - port 91 92additionalProperties: false 93 94examples: 95 - | 96 #include <dt-bindings/gpio/gpio.h> 97 98 i2c { 99 #address-cells = <1>; 100 #size-cells = <0>; 101 102 imx415: camera-sensor@1a { 103 compatible = "sony,imx415"; 104 reg = <0x1a>; 105 avdd-supply = <&vcc2v9_cam>; 106 clocks = <&clock_cam>; 107 dvdd-supply = <&vcc1v1_cam>; 108 lens-focus = <&vcm>; 109 orientation = <2>; 110 ovdd-supply = <&vcc1v8_cam>; 111 reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>; 112 rotation = <180>; 113 114 port { 115 imx415_ep: endpoint { 116 data-lanes = <1 2 3 4>; 117 link-frequencies = /bits/ 64 <445500000>; 118 remote-endpoint = <&mipi_in>; 119 }; 120 }; 121 }; 122 }; 123... 124