File tree 1 file changed +108
-0
lines changed
Documentation/devicetree/bindings/media/i2c 1 file changed +108
-0
lines changed Original file line number Diff line number Diff line change
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,isx021.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Sony 1/2.57-inch 2.51MP CMOS Digital Image Sensor
8
+
9
+ maintainers :
10
+ - Bogdan Togorean <bogdan.togorean@analog.com>
11
+
12
+ description : |
13
+ The Sony ISX021 is a 1/2.57-inch CMOS active pixel digital image sensor.
14
+ It is programmable through an I2C interface. Image data is sent through MIPI CSI-2,
15
+ through 2 or 4 lanes.
16
+
17
+ allOf :
18
+ - $ref : ../video-interface-devices.yaml#
19
+
20
+ properties :
21
+ compatible :
22
+ const : sony,isx021
23
+
24
+ reg :
25
+ enum :
26
+ - 0x1a
27
+
28
+ clocks :
29
+ description : Reference to the xclk clock.
30
+ maxItems : 1
31
+
32
+ reset-gpios :
33
+ description : GPIO descriptor for the reset pin.
34
+ maxItems : 1
35
+
36
+ dvdd-supply :
37
+ description : Chip digital IO regulator (1.8V).
38
+
39
+ port :
40
+ $ref : /schemas/graph.yaml#/$defs/port-base
41
+ description : |
42
+ Video output port.
43
+
44
+ properties :
45
+ endpoint :
46
+ $ref : /schemas/media/video-interfaces.yaml#
47
+ unevaluatedProperties : false
48
+
49
+ properties :
50
+ data-lanes :
51
+ anyOf :
52
+ - items :
53
+ - const : 1
54
+ - const : 2
55
+ - items :
56
+ - const : 1
57
+ - const : 2
58
+ - const : 3
59
+ - const : 4
60
+
61
+ clock-lanes :
62
+ anyOf :
63
+ - items :
64
+ - const : 0
65
+
66
+ required :
67
+ - data-lanes
68
+ - link-frequencies
69
+
70
+ additionalProperties : false
71
+
72
+ required :
73
+ - compatible
74
+ - reg
75
+ - clocks
76
+ - reset-gpios
77
+ - dvdd-supply
78
+ - port
79
+
80
+ additionalProperties : false
81
+
82
+ examples :
83
+ - |
84
+ #include <dt-bindings/gpio/gpio.h>
85
+
86
+ i2c0 {
87
+ #address-cells = <1>;
88
+ #size-cells = <0>;
89
+
90
+ camera-sensor@1a {
91
+ compatible = "sony,isx021";
92
+ reg = <0x1a>;
93
+ dvdd-supply = <&1v8_reg>;
94
+ reset-gpios = <&ISX021_SER_LABEL 8 GPIO_ACTIVE_LOW>;
95
+ clocks = <&camera_clk>;
96
+ clock-names = "xclk";
97
+
98
+ port {
99
+ isx021_ep: endpoint {
100
+ clock-lanes = <0>;
101
+ data-lanes = <1 2 3 4>;
102
+ remote-endpoint = <&csiphy0_ep>;
103
+ };
104
+ };
105
+ };
106
+ };
107
+
108
+ ...
You can’t perform that action at this time.
0 commit comments