vfio-ccw: Use the correct style for SPDX License Identifier
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / media / ti-cal.txt
1 Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL)
2 ------------------------------------------------------
3
4 The Camera Adaptation Layer (CAL) is a key component for image capture
5 applications. The capture module provides the system interface and the
6 processing capability to connect CSI2 image-sensor modules to the
7 DRA72x device.
8
9 Required properties:
10 - compatible: must be "ti,dra72-cal"
11 - reg:  CAL Top level, Receiver Core #0, Receiver Core #1 and Camera RX
12         control address space
13 - reg-names: cal_top, cal_rx_core0, cal_rx_core1, and camerrx_control
14              registers
15 - interrupts: should contain IRQ line for the CAL;
16
17 CAL supports 2 camera port nodes on MIPI bus. Each CSI2 camera port nodes
18 should contain a 'port' child node with child 'endpoint' node. Please
19 refer to the bindings defined in
20 Documentation/devicetree/bindings/media/video-interfaces.txt.
21
22 Example:
23         cal: cal@4845b000 {
24                 compatible = "ti,dra72-cal";
25                 ti,hwmods = "cal";
26                 reg = <0x4845B000 0x400>,
27                       <0x4845B800 0x40>,
28                       <0x4845B900 0x40>,
29                       <0x4A002e94 0x4>;
30                 reg-names = "cal_top",
31                             "cal_rx_core0",
32                             "cal_rx_core1",
33                             "camerrx_control";
34                 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
35                 #address-cells = <1>;
36                 #size-cells = <0>;
37
38                 ports {
39                         #address-cells = <1>;
40                         #size-cells = <0>;
41
42                         csi2_0: port@0 {
43                                 reg = <0>;
44                                 endpoint {
45                                         slave-mode;
46                                         remote-endpoint = <&ar0330_1>;
47                                 };
48                         };
49                         csi2_1: port@1 {
50                                 reg = <1>;
51                         };
52                 };
53         };
54
55         i2c5: i2c@4807c000 {
56                 ar0330@10 {
57                         compatible = "ti,ar0330";
58                         reg = <0x10>;
59
60                         port {
61                                 #address-cells = <1>;
62                                 #size-cells = <0>;
63
64                                 ar0330_1: endpoint {
65                                         reg = <0>;
66                                         clock-lanes = <1>;
67                                         data-lanes = <0 2 3 4>;
68                                         remote-endpoint = <&csi2_0>;
69                                 };
70                         };
71                 };
72         };