Skip to content

Commit

Permalink
display: cvbs: adjust output amplitude [1/1]
Browse files Browse the repository at this point in the history
PD#165090

Problem:
g12b output amplitude low

Solution:
adjust output amplitude

Verify:
g12b w400

Change-Id: I047dbb1d67943138c8f345bb4a916d04562ea357
Signed-off-by: Nian Jing <[email protected]>
  • Loading branch information
Nian Jing authored and xiaobo gu committed Jun 25, 2018
1 parent 006a5f8 commit 7ed0fbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/display/vout/cvbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ int cvbs_set_vdac(int status)
break;
case 1:// from enci to vdac
cvbs_set_vcbus_bits(VENC_VDAC_DACSEL0, 0, 5, 1);
if (is_meson_g12a_cpu() || is_meson_g12b_cpu())
if (is_meson_g12a_cpu())
cvbs_write_hiu(HHI_VDAC_CNTL0, 0x906001);
else if (is_meson_g12b_cpu())
cvbs_write_hiu(HHI_VDAC_CNTL0, 0x8f6001);
else if (is_equal_after_meson_cpu(MESON_CPU_MAJOR_ID_GXL)) {
if (is_equal_after_meson_cpu(MESON_CPU_MAJOR_ID_TXL) &&
!is_meson_gxlx_cpu())
Expand Down

0 comments on commit 7ed0fbb

Please sign in to comment.