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 11:02:24 +0800
commit06735bf6724f2dad2dcbbfc188c6a17145c7126b (patch)
tree9183d84be166ded34dfab67abe968c38baad8b55
parentbc4d5e350d39eac36bda25be788ebb162287bbd8 (diff)
downloadu-boot-imx-06735bf6724f2dad2dcbbfc188c6a17145c7126b.zip
u-boot-imx-06735bf6724f2dad2dcbbfc188c6a17145c7126b.tar.gz
u-boot-imx-06735bf6724f2dad2dcbbfc188c6a17145c7126b.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>
-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);