drm/rockchip: support rk3328 linux drm cvbs
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / rockchip / rockchip_drm_tve.txt
1 Rockchip specific extensions to the TVE
2 ================================
3
4 Required properties:
5 - compatible: "rockchip,rk3328-tve";
6 - reg: Physical base address and length of the controller's registers.
7 - ports: contain a port node with endpoint definitions as defined in
8   Documentation/devicetree/bindings/media/video-interfaces.txt
9 - rockchip,saturation: the value for TVE_COLOR_BUSRT_SAT(0x78)
10 - rockchip,brightcontrast: the value for TVE_BRIGHTNESS_CONTRAST(0x90)
11 - rockchip,adjtiming: the value for TVE_HOR_TIMING3(0x0c)
12 - rockchip,lumafilter0: the value for TVE_LUMA_FILTER1(0x14)
13 - rockchip,lumafilter1: the value for TVE_LUMA_FILTER2(0x18)
14 - rockchip,lumafilter2: the value for TVE_LUMA_FILTER3(0x1c)
15 - rockchip,daclevel: the value is used to adjust the voltage amplitude of the CVBS
16 - rockchip,dac1level: only for rv1108 rk322x and rk3328
17
18 Example:
19         tve: tve@ff373e00 {
20                 compatible = "rockchip,rk3328-tve";
21                 reg = <0x0 0xff373e00 0x0 0x100>,
22                       <0x0 0xff420000 0x0 0x10000>;
23                 rockchip,saturation = <0x00376749>;
24                 rockchip,brightcontrast = <0x0000a305>;
25                 rockchip,adjtiming = <0xb6c00880>;
26                 rockchip,lumafilter0 = <0x01ff0000>;
27                 rockchip,lumafilter1 = <0xf40200fe>;
28                 rockchip,lumafilter2 = <0xf332d70c>;
29                 rockchip,daclevel = <0x22>;
30                 rockchip,dac1level = <0x7>;
31                 status = "disabled";
32
33                 ports {
34                         tve_in: port {
35                                 #address-cells = <1>;
36                                 #size-cells = <0>;
37                                 tve_in_vop: endpoint@0 {
38                                         reg = <0>;
39                                         remote-endpoint = <&vop_out_tve>;
40                                 };
41                         };
42                 };
43         };