summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2014-07-10 20:58:23 +0800
committerSandor Yu <R01008@freescale.com>2014-07-11 13:34:42 +0800
commitcec21a6fee989effde30d1848d13e43be57fba30 (patch)
treec8be06337ce29e4ad9bea45dc911c155ae56caae
parent442529a6ff23016e7eb01f39c9fe3f51cda88234 (diff)
downloadu-boot-imx-cec21a6fee989effde30d1848d13e43be57fba30.zip
u-boot-imx-cec21a6fee989effde30d1848d13e43be57fba30.tar.gz
u-boot-imx-cec21a6fee989effde30d1848d13e43be57fba30.tar.bz2
ENGR00321146 gis: faster auto standards detection
Vadc need long time to auto standards detection, the default standard is NTSC, if vadc connect to PAL camera and no enough time to detect the video mode, driver will get wrong standard. Confirmation from chip design architecture that auto detect function is not required by rear-view camera application. Setting register vdec_stddbg standard_filte bits to 0 makes the standard detection faster, the issue duplicate decrease to 1%. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit 06735bf6724f2dad2dcbbfc188c6a17145c7126b)
-rw-r--r--drivers/video/mxc_vadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc_vadc.c b/drivers/video/mxc_vadc.c
index b1f7a09..3490871 100644
--- a/drivers/video/mxc_vadc.c
+++ b/drivers/video/mxc_vadc.c
@@ -213,7 +213,7 @@ static void vdec_init(struct sensor_data *vadc)
/* filter the standard detection
* enable the comb for the ntsc443 */
- reg32_write(VDEC_STDDBG, 0x23);
+ reg32_write(VDEC_STDDBG, 0x20);
/* setup chroma kill thresh for no chroma */
reg32_write(VDEC_CHBTH, 0x0);