From 9eef6844fec3b5858c7740f99524da0f4aedf53d Mon Sep 17 00:00:00 2001 From: Nian Jing Date: Thu, 19 Apr 2018 19:46:03 +0800 Subject: [PATCH] cvbs: cvbs performance for g12a Rev.B PD#164108: cvbs performance for g12a Rev.B Change-Id: If140535984762cf6d843878e78ab285e014868e7 Signed-off-by: Nian Jing --- arch/arm64/boot/dts/amlogic/g12a_pxp.dts | 18 +++++++++++++++--- arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts | 14 ++++++++++---- .../boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts | 14 ++++++++++---- arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts | 14 ++++++++++---- .../boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts | 14 ++++++++++---- .../dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts | 14 ++++++++++---- arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts | 14 ++++++++++---- arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts | 14 ++++++++++---- arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts | 14 ++++++++++---- 9 files changed, 95 insertions(+), 35 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/g12a_pxp.dts b/arch/arm64/boot/dts/amlogic/g12a_pxp.dts index 2e0cbc1..c208b8f 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_pxp.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_pxp.dts @@ -144,12 +144,24 @@ "vdac_clk_gate"; /* performance: reg_address, reg_value */ - /* s905x */ + /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 0x1b12 0x8080 0x1b05 0xfd - 0x1c59 0xf752 + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 + 0x1b12 0x0 + 0x1b05 0x9 + 0x1c59 0xfc48 + 0xffff 0x0>; /* ending flag */ + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 + 0x1b12 0x8080 + 0x1b05 0x9 + 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts index 86fb8a3..96328c0 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt.dts @@ -158,15 +158,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts index 0923032..8104450 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_skt_buildroot.dts @@ -159,15 +159,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts index 03644ac..a08974b 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200.dts @@ -171,15 +171,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts index 9ea49b4..5207445 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_buildroot.dts @@ -157,15 +157,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts index 1a499b1..a9b8e79 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u200_drm_buildroot.dts @@ -158,15 +158,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts index f826cb4..519de94 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905d2_u220.dts @@ -158,15 +158,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts index 284ed3b..43336ad 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u211.dts @@ -190,15 +190,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts index 3e4ed9e..af4902f 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905y2_u221.dts @@ -158,15 +158,21 @@ /* performance: reg_address, reg_value */ /* g12a */ performance = <0x1bf0 0x9 - 0x1b56 0x343 + 0x1b56 0x333 + 0x1b12 0x8080 + 0x1b05 0xfd + 0x1c59 0xf850 + 0xffff 0x0>; /* ending flag */ + performance_sarft = <0x1bf0 0x9 + 0x1b56 0x333 0x1b12 0x0 0x1b05 0x9 0x1c59 0xfc48 0xffff 0x0>; /* ending flag */ - performance_telecom = <0x1bf0 0x9 - 0x1b56 0x333 + performance_revB_telecom = <0x1bf0 0x9 + 0x1b56 0x546 0x1b12 0x8080 - 0x1b05 0xfd + 0x1b05 0x9 0x1c59 0xf850 0xffff 0x0>; /* ending flag */ }; -- 2.7.4