lcd: support custom vx1 hw filter [1/1]
authorEvoke Zhang <evoke.zhang@amlogic.com>
Thu, 25 Apr 2019 02:39:13 +0000 (10:39 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 22 May 2019 05:11:19 +0000 (22:11 -0700)
commit207be3e45d9059748b9e9ebf06684fe3619f37c1
tree49fd26f0b8ffe8d41aea7292b2f6e2c1fe0c7006
parent3dcf1c8d25d5b169e8223296a2c9f9adc7a8837c
lcd: support custom vx1 hw filter [1/1]

PD#SWPL-8785

Problem:
fixed vx1 hw filter maybe cause some panel display normal

Solution:
add custom vx1 hw filter support
for panel ini:
if_attr_8=0x1 #vx1 hw filter period(0=default setting)
if_attr_9=0x0 #vx1 hw filter cnt(0=default setting)
for dts:
hw_filter = <0x1 0x0>; /* period(0=default), cnt(0=default) */

Verify:
x301

Change-Id: I4ce5f8fe4294331d6ec0026fa7736c6d3397c05e
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
drivers/amlogic/media/vout/lcd/lcd_common.h
drivers/amlogic/media/vout/lcd/lcd_debug.c
drivers/amlogic/media/vout/lcd/lcd_tablet/lcd_tablet.c
drivers/amlogic/media/vout/lcd/lcd_tv/lcd_drv.c
drivers/amlogic/media/vout/lcd/lcd_tv/lcd_tv.c
drivers/amlogic/media/vout/lcd/lcd_vout.c
include/linux/amlogic/media/vout/lcd/lcd_vout.h