summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2013-12-20 06:02:24 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 06:46:28 -0200
commitf0ec17420e85cc701032a7d7fd1067d3435bd133 (patch)
tree1dc9ff0b06734217dc07c8cf6f957a56ef5f7481 /include/media
parent1961b7203ffaebe13fb463ffc5bc5da30bb7f8e3 (diff)
downloadlinux-stable-f0ec17420e85cc701032a7d7fd1067d3435bd133.tar.gz
linux-stable-f0ec17420e85cc701032a7d7fd1067d3435bd133.tar.bz2
linux-stable-f0ec17420e85cc701032a7d7fd1067d3435bd133.zip
[media] adv7842: obtain free-run mode from the platform_data
The free-run mode can be board-specific. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/adv7842.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h
index a4851bff8fae..772cdecfa71b 100644
--- a/include/media/adv7842.h
+++ b/include/media/adv7842.h
@@ -192,8 +192,18 @@ struct adv7842_platform_data {
unsigned sd_ram_size; /* ram size in MB */
unsigned sd_ram_ddr:1; /* ddr or sdr sdram */
- /* Free run */
- unsigned hdmi_free_run_mode;
+ /* HDMI free run, CP-reg 0xBA */
+ unsigned hdmi_free_run_enable:1;
+ /* 0 = Mode 0: run when there is no TMDS clock
+ 1 = Mode 1: run when there is no TMDS clock or the
+ video resolution does not match programmed one. */
+ unsigned hdmi_free_run_mode:1;
+
+ /* SDP free run, CP-reg 0xDD */
+ unsigned sdp_free_run_auto:1;
+ unsigned sdp_free_run_man_col_en:1;
+ unsigned sdp_free_run_cbar_en:1;
+ unsigned sdp_free_run_force:1;
struct adv7842_sdp_csc_coeff sdp_csc_coeff;