From a1fdea0e0c6133577a08eb67aff3e4de56fa3e35 Mon Sep 17 00:00:00 2001 From: "algea.cao" Date: Wed, 14 Jun 2017 09:50:12 +0800 Subject: [PATCH] ARM64: dts: rk3328: add tve display node 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 --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 7aa02d138b20..db6974bfedab 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -758,6 +758,10 @@ reg = <0>; remote-endpoint = <&hdmi_in_vop>; }; + vop_out_tve: endpoint@1 { + reg = <1>; + remote-endpoint = <&tve_in_vop>; + }; }; }; @@ -812,6 +816,32 @@ }; }; + 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>; -- 2.34.1