tvafe: update 0x01 setting for tl1 avin ntsc-m [1/1]
authorEvoke Zhang <evoke.zhang@amlogic.com>
Wed, 21 Aug 2019 08:31:55 +0000 (16:31 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 23 Aug 2019 03:15:51 +0000 (20:15 -0700)
PD#SWPL-13114

Problem:
ntsc-m display is too dark

Solution:
increase brightness for tl1 avin ntsc-m

Verify:
tl1

Change-Id: Ifd2b59119095dddf565deb6497c5bb67192e230a
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
drivers/amlogic/media/vin/tvin/tvafe/tvafe_cvd.c

index ba1fd61..7248451 100644 (file)
@@ -412,7 +412,7 @@ static void tvafe_cvd2_write_mode_reg(struct tvafe_cvd2_s *cvd2,
                if (cvd2->config_fmt == TVIN_SIG_FMT_CVBS_NTSC_M) {
                        W_APB_REG(CVD2_VSYNC_SIGNAL_THRESHOLD, 0x7d);
                        if (tvafe_cpu_type() == CPU_TYPE_TL1) {
-                               W_APB_REG(CVD2_CONTROL1, 0x9);
+                               W_APB_REG(CVD2_CONTROL1, 0x8);
                                W_APB_REG(CVD2_2DCOMB_NOISE_TH, 0x84);
                                W_APB_REG(CVD2_REG_B0, 0x0);
                                W_APB_REG(CVD2_3DCOMB_FILTER, 0xf);