ARM64: dts: rk3328: add tve display node
authoralgea.cao <algea.cao@rock-chips.com>
Wed, 14 Jun 2017 01:50:12 +0000 (09:50 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Mon, 26 Jun 2017 10:22:39 +0000 (18:22 +0800)
support rk3328 cvbs.Some display parameter can be configured,
such as saturation.For more information, please check
Documentation/devicetree/bindings/display/rockchip/rockchip_drm_tve.txt

Change-Id: Ifcc074a34910b58a26fc309fc601494562851025
Signed-off-by: algea.cao <algea.cao@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3328.dtsi

index 7aa02d138b208734de2a62a7590f2bac57aa36d1..db6974bfedab39869d2d619b11847ebe73e9da62 100644 (file)
                                reg = <0>;
                                remote-endpoint = <&hdmi_in_vop>;
                        };
+                       vop_out_tve: endpoint@1 {
+                               reg = <1>;
+                               remote-endpoint = <&tve_in_vop>;
+                       };
                };
        };
 
                };
        };
 
+       tve: tve@ff373e00 {
+               compatible = "rockchip,rk3328-tve";
+               reg = <0x0 0xff373e00 0x0 0x100>,
+                     <0x0 0xff420000 0x0 0x10000>;
+               rockchip,saturation = <0x00376749>;
+               rockchip,brightcontrast = <0x0000a305>;
+               rockchip,adjtiming = <0xb6c00880>;
+               rockchip,lumafilter0 = <0x01ff0000>;
+               rockchip,lumafilter1 = <0xf40200fe>;
+               rockchip,lumafilter2 = <0xf332d70c>;
+               rockchip,daclevel = <0x22>;
+               rockchip,dac1level = <0x7>;
+               status = "disabled";
+
+               ports {
+                       tve_in: port {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               tve_in_vop: endpoint@0 {
+                                       reg = <0>;
+                                       remote-endpoint = <&vop_out_tve>;
+                               };
+                       };
+               };
+       };
+
        display_subsystem: display-subsystem {
                compatible = "rockchip,display-subsystem";
                ports = <&vop_out>;