blob: f404ee301272b396e5123111258450b9d2f56ae6 (
plain)
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
|
Xilinx Chroma Resampler (CRESAMPLE)
-----------------------------------
Required properties:
- compatible: Must be "xlnx,v-cresample-4.0".
- reg: Physical base address and length of the registers set for the device.
- clocks: Reference to the video core clock.
- ports: Video ports, using the DT bindings defined in ../video-interfaces.txt.
The cresample as han input port (0) and an output port (1).
Required port properties:
- xlnx,video-format: Must be one of YUV_444, YUV_422 or YUV_420 for the input
port (0), and one of YUV_422 or YUV_420 for the output port (1).
- xlnx,video-width: Video width as defined in video.txt
Example:
cresample_0: cresample@40120000 {
compatible = "xlnx,v-cresample-4.0";
reg = <0x40120000 0x10000>;
clocks = <&clkc 15>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
xlnx,video-format = <XVIP_VF_YUV_444>;
xlnx,video-width = <8>;
cresample0_in: endpoint {
remote-endpoint = <&rgb2yuv0_out>;
};
};
port@1 {
reg = <1>;
xlnx,video-format = <XVIP_VF_YUV_422>;
xlnx,video-width = <8>;
cresample0_out: endpoint {
remote-endpoint = <&scaler0_in>;
};
};
};
};
|