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: /schemas/media/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 port: 48 $ref: /schemas/graph.yaml#/$defs/port-base 49 unevaluatedProperties: false 50 51 properties: 52 endpoint: 53 $ref: /schemas/media/video-interfaces.yaml# 54 unevaluatedProperties: false 55 56 properties: 57 data-lanes: 58 oneOf: 59 - items: 60 - const: 1 61 - const: 2 62 - items: 63 - const: 1 64 - const: 2 65 - const: 3 66 - const: 4 67 68 required: 69 - data-lanes 70 - link-frequencies 71 72 required: 73 - endpoint 74 75required: 76 - compatible 77 - reg 78 - clocks 79 - avdd-supply 80 - dvdd-supply 81 - ovdd-supply 82 - port 83 84unevaluatedProperties: false 85 86examples: 87 - | 88 #include <dt-bindings/gpio/gpio.h> 89 90 i2c { 91 #address-cells = <1>; 92 #size-cells = <0>; 93 94 imx415: camera-sensor@1a { 95 compatible = "sony,imx415"; 96 reg = <0x1a>; 97 avdd-supply = <&vcc2v9_cam>; 98 clocks = <&clock_cam>; 99 dvdd-supply = <&vcc1v1_cam>; 100 lens-focus = <&vcm>; 101 orientation = <2>; 102 ovdd-supply = <&vcc1v8_cam>; 103 reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>; 104 rotation = <180>; 105 106 port { 107 imx415_ep: endpoint { 108 data-lanes = <1 2 3 4>; 109 link-frequencies = /bits/ 64 <445500000>; 110 remote-endpoint = <&mipi_in>; 111 }; 112 }; 113 }; 114 }; 115... 116