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,imx214.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor 8 9maintainers: 10 - Ricardo Ribalda <ribalda@kernel.org> 11 12description: | 13 The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with 14 an active array size of 4224H x 3200V. It is programmable through an I2C 15 interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a 16 maximum throughput of 1.2Gbps/lane. 17 18properties: 19 compatible: 20 const: sony,imx214 21 22 reg: 23 enum: 24 - 0x10 25 - 0x1a 26 27 clocks: 28 description: Reference to the xclk clock. 29 maxItems: 1 30 31 clock-frequency: 32 description: Frequency of the xclk clock in Hz. 33 34 enable-gpios: 35 description: GPIO descriptor for the enable pin. 36 maxItems: 1 37 38 vdddo-supply: 39 description: Chip digital IO regulator (1.8V). 40 41 vdda-supply: 42 description: Chip analog regulator (2.7V). 43 44 vddd-supply: 45 description: Chip digital core regulator (1.12V). 46 47 flash-leds: 48 description: See ../video-interfaces.txt 49 50 lens-focus: 51 description: See ../video-interfaces.txt 52 53 port: 54 type: object 55 description: | 56 Video output port. See ../video-interfaces.txt. 57 58 properties: 59 endpoint: 60 type: object 61 62 properties: 63 data-lanes: 64 $ref: /schemas/types.yaml#/definitions/uint32-array 65 description: See ../video-interfaces.txt 66 anyOf: 67 - items: 68 - const: 1 69 - const: 2 70 - items: 71 - const: 1 72 - const: 2 73 - const: 3 74 - const: 4 75 76 link-frequencies: 77 $ref: /schemas/types.yaml#/definitions/uint64-array 78 description: See ../video-interfaces.txt 79 80 required: 81 - data-lanes 82 - link-frequencies 83 84 unevaluatedProperties: false 85 86 additionalProperties: false 87 88required: 89 - compatible 90 - reg 91 - clocks 92 - clock-frequency 93 - enable-gpios 94 - vdddo-supply 95 - vdda-supply 96 - vddd-supply 97 - port 98 99additionalProperties: false 100 101examples: 102 - | 103 #include <dt-bindings/gpio/gpio.h> 104 105 i2c0 { 106 #address-cells = <1>; 107 #size-cells = <0>; 108 109 camera-sensor@1a { 110 compatible = "sony,imx214"; 111 reg = <0x1a>; 112 vdddo-supply = <&pm8994_lvs1>; 113 vddd-supply = <&camera_vddd_1v12>; 114 vdda-supply = <&pm8994_l17>; 115 lens-focus = <&ad5820>; 116 enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; 117 clocks = <&camera_clk>; 118 clock-frequency = <24000000>; 119 120 port { 121 imx214_ep: endpoint { 122 data-lanes = <1 2 3 4>; 123 link-frequencies = /bits/ 64 <480000000>; 124 remote-endpoint = <&csiphy0_ep>; 125 }; 126 }; 127 }; 128 }; 129 130... 131