blob: d3329e991d1652936fcf671012b8018e4317ea40 [file] [log] [blame]
Tom Rini93743d22024-04-01 09:08:13 -04001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allied Vision Alvium Camera
8
9maintainers:
10 - Tommaso Merciai <tomm.merciai@gmail.com>
11 - Martin Hecht <martin.hecht@avnet.eu>
12
13allOf:
14 - $ref: /schemas/media/video-interface-devices.yaml#
15
16properties:
17 compatible:
18 const: alliedvision,alvium-csi2
19
20 reg:
21 maxItems: 1
22
23 vcc-ext-in-supply:
24 description: |
25 The regulator that supplies power to the VCC_EXT_IN pins.
26
27 port:
28 description: Digital Output Port
29 $ref: /schemas/graph.yaml#/$defs/port-base
30 additionalProperties: false
31
32 properties:
33 endpoint:
34 $ref: /schemas/media/video-interfaces.yaml#
35 unevaluatedProperties: false
36
37 properties:
38 link-frequencies: true
39
40 data-lanes:
41 minItems: 1
42 items:
43 - const: 1
44 - const: 2
45 - const: 3
46 - const: 4
47
48 required:
49 - data-lanes
50 - link-frequencies
51
52required:
53 - compatible
54 - reg
55 - vcc-ext-in-supply
56 - port
57
58additionalProperties: false
59
60examples:
61 - |
62 i2c {
63 #address-cells = <1>;
64 #size-cells = <0>;
65
66 alvium: camera@3c {
67 compatible = "alliedvision,alvium-csi2";
68 reg = <0x3c>;
69 vcc-ext-in-supply = <&reg_vcc_ext_in>;
70
71 port {
72 alvium_out: endpoint {
73 remote-endpoint = <&mipi_csi_0_in>;
74 data-lanes = <1 2 3 4>;
75 link-frequencies = /bits/ 64 <681250000>;
76 };
77 };
78 };
79 };
80
81...