Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: media: i2c: document Sony IMX111 CMOS sensor

Add bindings for Sony IMX111 CMOS Digital Image Sensor found in LG
Optimus 4X (P880) and Optimus Vu (P895) smartphones.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Svyatoslav Ryhel and committed by
Hans Verkuil
e4605fe4 6bd4f9f1

+105
+105
Documentation/devicetree/bindings/media/i2c/sony,imx111.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,imx111.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Sony IMX111 8MP CMOS Digital Image Sensor 8 + 9 + maintainers: 10 + - Svyatoslav Ryhel <clamor95@gmail.com> 11 + 12 + description: 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 + 17 + allOf: 18 + - $ref: /schemas/media/video-interface-devices.yaml# 19 + - $ref: /schemas/nvmem/nvmem-consumer.yaml# 20 + 21 + properties: 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 + 60 + required: 61 + - compatible 62 + - reg 63 + - clocks 64 + - port 65 + 66 + unevaluatedProperties: false 67 + 68 + examples: 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 + ...