xref: /linux/Documentation/devicetree/bindings/media/i2c/ovti,ov08d10.yaml (revision 00c6649bafef628955569dd39a59e3170e48f7b5)
1*097d2be7SMatthias Fend# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*097d2be7SMatthias Fend%YAML 1.2
3*097d2be7SMatthias Fend---
4*097d2be7SMatthias Fend$id: http://devicetree.org/schemas/media/i2c/ovti,ov08d10.yaml#
5*097d2be7SMatthias Fend$schema: http://devicetree.org/meta-schemas/core.yaml#
6*097d2be7SMatthias Fend
7*097d2be7SMatthias Fendtitle: Omnivision OV08D10 1/4-Inch 8MP CMOS color image sensor
8*097d2be7SMatthias Fend
9*097d2be7SMatthias Fendmaintainers:
10*097d2be7SMatthias Fend  - Matthias Fend <matthias.fend@emfend.at>
11*097d2be7SMatthias Fend
12*097d2be7SMatthias Fenddescription:
13*097d2be7SMatthias Fend  The Omnivision OV08D10 is a 1/4-Inch 8MP CMOS color image sensor with an
14*097d2be7SMatthias Fend  active array size of 3280 x 2464. It is programmable through I2C
15*097d2be7SMatthias Fend  interface. Image data is transmitted via MIPI CSI-2 using 2 lanes.
16*097d2be7SMatthias Fend
17*097d2be7SMatthias FendallOf:
18*097d2be7SMatthias Fend  - $ref: /schemas/media/video-interface-devices.yaml#
19*097d2be7SMatthias Fend
20*097d2be7SMatthias Fendproperties:
21*097d2be7SMatthias Fend  compatible:
22*097d2be7SMatthias Fend    const: ovti,ov08d10
23*097d2be7SMatthias Fend
24*097d2be7SMatthias Fend  reg:
25*097d2be7SMatthias Fend    maxItems: 1
26*097d2be7SMatthias Fend
27*097d2be7SMatthias Fend  clocks:
28*097d2be7SMatthias Fend    description: MCLK input clock (6 - 27 MHz)
29*097d2be7SMatthias Fend    maxItems: 1
30*097d2be7SMatthias Fend
31*097d2be7SMatthias Fend  reset-gpios:
32*097d2be7SMatthias Fend    description: Active low XSHUTDN pin
33*097d2be7SMatthias Fend    maxItems: 1
34*097d2be7SMatthias Fend
35*097d2be7SMatthias Fend  dovdd-supply:
36*097d2be7SMatthias Fend    description: IO power supply (1.8V)
37*097d2be7SMatthias Fend
38*097d2be7SMatthias Fend  avdd-supply:
39*097d2be7SMatthias Fend    description: Analog power supply (2.8V)
40*097d2be7SMatthias Fend
41*097d2be7SMatthias Fend  dvdd-supply:
42*097d2be7SMatthias Fend    description: Core power supply (1.2V)
43*097d2be7SMatthias Fend
44*097d2be7SMatthias Fend  port:
45*097d2be7SMatthias Fend    $ref: /schemas/graph.yaml#/$defs/port-base
46*097d2be7SMatthias Fend    additionalProperties: false
47*097d2be7SMatthias Fend
48*097d2be7SMatthias Fend    properties:
49*097d2be7SMatthias Fend      endpoint:
50*097d2be7SMatthias Fend        $ref: /schemas/media/video-interfaces.yaml#
51*097d2be7SMatthias Fend        unevaluatedProperties: false
52*097d2be7SMatthias Fend
53*097d2be7SMatthias Fend        required:
54*097d2be7SMatthias Fend          - data-lanes
55*097d2be7SMatthias Fend          - link-frequencies
56*097d2be7SMatthias Fend
57*097d2be7SMatthias Fend    required:
58*097d2be7SMatthias Fend      - endpoint
59*097d2be7SMatthias Fend
60*097d2be7SMatthias Fendrequired:
61*097d2be7SMatthias Fend  - compatible
62*097d2be7SMatthias Fend  - reg
63*097d2be7SMatthias Fend  - clocks
64*097d2be7SMatthias Fend  - port
65*097d2be7SMatthias Fend
66*097d2be7SMatthias FendunevaluatedProperties: false
67*097d2be7SMatthias Fend
68*097d2be7SMatthias Fendexamples:
69*097d2be7SMatthias Fend  - |
70*097d2be7SMatthias Fend    #include <dt-bindings/gpio/gpio.h>
71*097d2be7SMatthias Fend    #include <dt-bindings/media/video-interfaces.h>
72*097d2be7SMatthias Fend
73*097d2be7SMatthias Fend    i2c {
74*097d2be7SMatthias Fend        #address-cells = <1>;
75*097d2be7SMatthias Fend        #size-cells = <0>;
76*097d2be7SMatthias Fend
77*097d2be7SMatthias Fend        sensor@36 {
78*097d2be7SMatthias Fend            compatible = "ovti,ov08d10";
79*097d2be7SMatthias Fend            reg = <0x36>;
80*097d2be7SMatthias Fend
81*097d2be7SMatthias Fend            clocks = <&ov08d10_clk>;
82*097d2be7SMatthias Fend
83*097d2be7SMatthias Fend            dovdd-supply = <&ov08d10_vdddo_1v8>;
84*097d2be7SMatthias Fend            avdd-supply = <&ov08d10_vdda_2v8>;
85*097d2be7SMatthias Fend            dvdd-supply = <&ov08d10_vddd_1v2>;
86*097d2be7SMatthias Fend
87*097d2be7SMatthias Fend            orientation = <2>;
88*097d2be7SMatthias Fend            rotation = <0>;
89*097d2be7SMatthias Fend
90*097d2be7SMatthias Fend            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
91*097d2be7SMatthias Fend
92*097d2be7SMatthias Fend            port {
93*097d2be7SMatthias Fend                ov08d10_output: endpoint {
94*097d2be7SMatthias Fend                    data-lanes = <1 2>;
95*097d2be7SMatthias Fend                    link-frequencies = /bits/ 64 <360000000 720000000>;
96*097d2be7SMatthias Fend                    remote-endpoint = <&csi_input>;
97*097d2be7SMatthias Fend                };
98*097d2be7SMatthias Fend            };
99*097d2be7SMatthias Fend        };
100*097d2be7SMatthias Fend    };
101*097d2be7SMatthias Fend...
102