FILE
sony,imx214.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
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 18allOf: 19 - $ref: /schemas/media/video-interface-devices.yaml# 20 21properties: 22 compatible: 23 const: sony,imx214 24 25 reg: 26 enum: 27 - 0x10 28 - 0x1a 29 30 clocks: 31 description: Reference to the xclk clock. 32 maxItems: 1 33 34 clock-frequency: 35 description: Frequency of the xclk clock in Hz. 36 deprecated: true 37 38 enable-gpios: 39 description: GPIO descriptor for the enable pin. 40 maxItems: 1 41 42 vdda-supply: 43 description: Chip analog regulator (2.7V). 44 45 vddd-supply: 46 description: Chip digital core regulator (1.12V). 47 48 vdddo-supply: 49 description: Chip digital IO regulator (1.8V). 50 51 flash-leds: true 52 lens-focus: true 53 54 port: 55 $ref: /schemas/graph.yaml#/$defs/port-base 56 description: | 57 Video output port. 58 59 properties: 60 endpoint: 61 $ref: /schemas/media/video-interfaces.yaml# 62 unevaluatedProperties: false 63 64 properties: 65 data-lanes: 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: true 77 78 required: 79 - data-lanes 80 - link-frequencies 81 82 additionalProperties: false 83 84required: 85 - compatible 86 - reg 87 - clocks 88 - enable-gpios 89 - vdda-supply 90 - vddd-supply 91 - vdddo-supply 92 - port 93 94unevaluatedProperties: false 95 96examples: 97 - | 98 #include <dt-bindings/gpio/gpio.h> 99 100 i2c { 101 #address-cells = <1>; 102 #size-cells = <0>; 103 104 camera-sensor@1a { 105 compatible = "sony,imx214"; 106 reg = <0x1a>; 107 108 clocks = <&camera_clk>; 109 assigned-clocks = <&camera_clk>; 110 assigned-clock-rates = <24000000>; 111 112 enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; 113 114 vdda-supply = <&pm8994_l17>; 115 vddd-supply = <&camera_vddd_1v12>; 116 vdddo-supply = <&pm8994_lvs1>; 117 118 lens-focus = <&ad5820>; 119 120 port { 121 imx214_ep: endpoint { 122 data-lanes = <1 2 3 4>; 123 link-frequencies = /bits/ 64 <600000000>; 124 remote-endpoint = <&csiphy0_ep>; 125 }; 126 }; 127 }; 128 };
~/
Read-only file preview.