From: shaochan.liu Date: Fri, 26 Jul 2019 03:23:49 +0000 (+0800) Subject: lcd: set default hw_filter_time config [1/1] X-Git-Tag: hardkernel-4.9.236-104~843 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=201b079f356565e05444797898c1fb9105c0d5c8;p=platform%2Fkernel%2Flinux-amlogic.git lcd: set default hw_filter_time config [1/1] PD#SWPL-8848 Problem: need set a better compatible filter config Solution: set a better compatible filter config Verify: t962x2_x301 Change-Id: I298d22dff1185653ceac7e05633de3704b2fdb2f Signed-off-by: shaochan.liu --- diff --git a/arch/arm/boot/dts/amlogic/mesontl1_skt-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontl1_skt-panel.dtsi index 99acef3..82d46b5 100644 --- a/arch/arm/boot/dts/amlogic/mesontl1_skt-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontl1_skt-panel.dtsi @@ -162,6 +162,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -204,6 +205,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm/boot/dts/amlogic/mesontl1_t309-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontl1_t309-panel.dtsi index 04ac1249..97aa1c3 100644 --- a/arch/arm/boot/dts/amlogic/mesontl1_t309-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontl1_t309-panel.dtsi @@ -217,6 +217,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -259,6 +260,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -303,6 +305,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -347,6 +350,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -393,6 +397,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi index 00b4c73..9aed4b1 100644 --- a/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi @@ -220,6 +220,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -262,6 +263,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -306,6 +308,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -350,6 +353,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -396,6 +400,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi index 46c9426a..94f59e9 100644 --- a/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi @@ -220,6 +220,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -262,6 +263,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -306,6 +308,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -350,6 +353,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -396,6 +400,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi index 5e89bb3..e6102d7 100644 --- a/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi @@ -162,6 +162,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -204,6 +205,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm64/boot/dts/amlogic/mesontl1_skt-panel.dtsi b/arch/arm64/boot/dts/amlogic/mesontl1_skt-panel.dtsi index e30e2e0..70d44e0 100644 --- a/arch/arm64/boot/dts/amlogic/mesontl1_skt-panel.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontl1_skt-panel.dtsi @@ -80,6 +80,7 @@ 0 /*port_swap*/ 0>; /*lane_reverse*/ phy_attr=<0xf 0>; /*vswing_level, preem_level*/ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -162,6 +163,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -204,6 +206,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm64/boot/dts/amlogic/mesontl1_t309-panel.dtsi b/arch/arm64/boot/dts/amlogic/mesontl1_t309-panel.dtsi index 906c6c5..f998af6 100644 --- a/arch/arm64/boot/dts/amlogic/mesontl1_t309-panel.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontl1_t309-panel.dtsi @@ -217,6 +217,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -259,6 +260,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -303,6 +305,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -347,6 +350,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -393,6 +397,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm64/boot/dts/amlogic/mesontl1_x301-panel.dtsi b/arch/arm64/boot/dts/amlogic/mesontl1_x301-panel.dtsi index c75c6c7b..8f4c55d 100644 --- a/arch/arm64/boot/dts/amlogic/mesontl1_x301-panel.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontl1_x301-panel.dtsi @@ -220,6 +220,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -262,6 +263,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -306,6 +308,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -350,6 +353,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -396,6 +400,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi b/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi index 41948f8..198d0a0 100644 --- a/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab301-panel.dtsi @@ -220,6 +220,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = <0 0 1 50 /*panel power on*/ @@ -262,6 +263,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -306,6 +308,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -350,6 +353,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -396,6 +400,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi b/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi index 97f4f30..1795ab1 100644 --- a/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesontm2_t962x3_ab309-panel.dtsi @@ -162,6 +162,7 @@ 1 /*vbyone_intr_enable */ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < @@ -204,6 +205,7 @@ 1 /*vbyone_intr_enable*/ 3>; /*vbyone_vsync_intr_enable*/ phy_attr=<0xf 1>; /* vswing_level, preem_level */ + hw_filter=<0 0>; /* filter_time, filter_cnt*/ /* power step: type, index, value, delay(ms) */ power_on_step = < diff --git a/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c b/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c index f3cd86c..facd9d8 100644 --- a/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c +++ b/drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c @@ -526,7 +526,7 @@ static void lcd_vbyone_hw_filter(int flag) struct vbyone_config_s *vx1_conf; unsigned int temp, period; unsigned int tick_period[] = { - 0xfffff, + 0xfff, 0xff, /* 1: 0.8us */ 0x1ff, /* 2: 1.7us */ 0x3ff, /* 3: 3.4us */