1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/media/i2c/ovti,os05b10.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: OmniVision OS05B10 Image Sensor 8 9maintainers: 10 - Elgin Perumbilly <elgin.perumbilly@siliconsignals.io> 11 12description: 13 The OmniVision OS05B10 is a 5MP (2592x1944) color CMOS image sensor controlled 14 through an I2C-compatible SCCB bus. it outputs RAW10/RAW12 format and uses a 15 1/2.78" optical format. 16 17properties: 18 compatible: 19 const: ovti,os05b10 20 21 reg: 22 maxItems: 1 23 24 clocks: 25 items: 26 - description: XCLK clock 27 28 avdd-supply: 29 description: Analog Domain Power Supply (2.8v) 30 31 dovdd-supply: 32 description: I/O Domain Power Supply (1.8v) 33 34 dvdd-supply: 35 description: Digital Domain Power Supply (1.2v) 36 37 reset-gpios: 38 maxItems: 1 39 description: Reset Pin GPIO Control (active low) 40 41 port: 42 description: MIPI CSI-2 transmitter port 43 $ref: /schemas/graph.yaml#/$defs/port-base 44 additionalProperties: false 45 46 properties: 47 endpoint: 48 $ref: /schemas/media/video-interfaces.yaml# 49 unevaluatedProperties: false 50 51 properties: 52 data-lanes: 53 oneOf: 54 - items: 55 - const: 1 56 - const: 2 57 - const: 3 58 - const: 4 59 - items: 60 - const: 1 61 - const: 2 62 required: 63 - data-lanes 64 - link-frequencies 65 66required: 67 - compatible 68 - reg 69 - clocks 70 - avdd-supply 71 - dovdd-supply 72 - dvdd-supply 73 - port 74 75additionalProperties: false 76 77examples: 78 - | 79 #include <dt-bindings/gpio/gpio.h> 80 81 i2c { 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 camera-sensor@36 { 86 compatible = "ovti,os05b10"; 87 reg = <0x36>; 88 clocks = <&os05b10_clk>; 89 reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; 90 91 avdd-supply = <&os05b10_avdd_2v8>; 92 dvdd-supply = <&os05b10_dvdd_1v2>; 93 dovdd-supply = <&os05b10_dovdd_1v8>; 94 95 port { 96 cam_out: endpoint { 97 remote-endpoint = <&mipi_in_cam>; 98 data-lanes = <1 2 3 4>; 99 link-frequencies = /bits/ 64 <600000000>; 100 }; 101 }; 102 }; 103 }; 104