1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/sony,imx111.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sony IMX111 8MP CMOS Digital Image Sensor 8 9maintainers: 10 - Svyatoslav Ryhel <clamor95@gmail.com> 11 12description: 13 IMX111 sensor is a Sony CMOS active pixel digital image sensor with an active 14 array size of 2464H x 3280V. It is programmable through I2C interface. Image 15 data is sent through MIPI CSI-2, through 1 or 2 lanes. 16 17allOf: 18 - $ref: /schemas/media/video-interface-devices.yaml# 19 - $ref: /schemas/nvmem/nvmem-consumer.yaml# 20 21properties: 22 compatible: 23 const: sony,imx111 24 25 reg: 26 maxItems: 1 27 28 clocks: 29 description: EXTCLK with possible frequency from 6 to 54 MHz 30 maxItems: 1 31 32 reset-gpios: 33 maxItems: 1 34 35 iovdd-supply: 36 description: Digital IO power supply (1.8V) 37 38 dvdd-supply: 39 description: Digital power supply (1.2V) 40 41 avdd-supply: 42 description: Analog power supply (2.7V) 43 44 port: 45 additionalProperties: false 46 $ref: /schemas/graph.yaml#/$defs/port-base 47 48 properties: 49 endpoint: 50 $ref: /schemas/media/video-interfaces.yaml# 51 unevaluatedProperties: false 52 53 required: 54 - data-lanes 55 - link-frequencies 56 57 required: 58 - endpoint 59 60required: 61 - compatible 62 - reg 63 - clocks 64 - port 65 66unevaluatedProperties: false 67 68examples: 69 - | 70 #include <dt-bindings/gpio/gpio.h> 71 #include <dt-bindings/media/video-interfaces.h> 72 73 i2c { 74 #address-cells = <1>; 75 #size-cells = <0>; 76 77 camera@10 { 78 compatible = "sony,imx111"; 79 reg = <0x10>; 80 81 clocks = <&imx111_clk>; 82 83 iovdd-supply = <&camera_vddio_1v8>; 84 dvdd-supply = <&camera_vddd_1v2>; 85 avdd-supply = <&camera_vdda_2v7>; 86 87 orientation = <1>; 88 rotation = <90>; 89 90 nvmem = <&eeprom>; 91 flash-leds = <&led>; 92 lens-focus = <&vcm>; 93 94 reset-gpios = <&gpio 84 GPIO_ACTIVE_LOW>; 95 96 port { 97 imx111_output: endpoint { 98 data-lanes = <1 2>; 99 link-frequencies = /bits/ 64 <542400000>; 100 remote-endpoint = <&csi_input>; 101 }; 102 }; 103 }; 104 }; 105... 106