ti-vip.txt
2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
Texas Instruments DRA7x VIDEO INPUT PORT (VIP)
----------------------------------------------
The Video Input Port (VIP) is a key component for image capture
applications. The capture module provides the system interface and the
processing capability to connect parallel image-sensor as well as
BT.656/1120 capable encoder chip.
Required properties:
- compatible: must be "ti,vip1", "ti,vip2" or "ti,vip3".
- reg: VIP top level, parser, colorspace converter, scaler for slice 0 and 1
and vpdma memory address space;
- reg-names: vip, parser0, csc0, sc0, parser1, csc1, sc1 and vpdma registers;
- interrupts: should contain IRQ line for VIP;
- syscon-pol: phandle to the device control module;
VIP supports 2 slices. Each slice can handle up to 2 camera port nodes.
Each port nodes should contain a 'port' child node with child 'endpoint'
node. Please refer to the bindings defined in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Example:
vip1: vip@0x48970000 {
compatible = "ti,vip1";
reg = <0x48970000 0x114>,
<0x48975500 0xD8>,
<0x48975700 0x18>,
<0x48975800 0x80>,
<0x48975a00 0xD8>,
<0x48975c00 0x18>,
<0x48975d00 0x80>,
<0x4897d000 0x400>;
reg-names = "vip",
"parser0",
"csc0",
"sc0",
"parser1",
"csc1",
"sc1",
"vpdma";
ti,hwmods = "vip1";
interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>;
/* CTRL_CORE_SMA_SW_1 */
syscon-pol = <&scm_conf 0x534>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
vin1a: port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
status = "disabled";
endpoint@0 {
slave-mode;
remote-endpoint = <&camera1>;
};
};
vin2a: port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
status = "disabled";
};
vin1b: port@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
status = "disabled";
};
vin2b: port@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
status = "disabled";
};
};
i2c5: i2c@4807c000 {
ov10633@37 {
compatible = "ovti,ov10633";
reg = <0x37>;
mux-gpios = <&pcf_hdmi 3 GPIO_ACTIVE_LOW>;
port {
camera1: endpoint {
remote-endpoint = <&vin1a>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
};
};
};
};