summaryrefslogtreecommitdiffstats
path: root/include/media/adv7604.h
diff options
context:
space:
mode:
authorMikhail Khelik <mkhelik@cisco.com>2013-12-20 09:12:00 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 08:52:27 +0100
commitf31b62e14a000f4e7bf37ad8a84b13cb2079de21 (patch)
tree912992fbb8a45e7307e6fd851c9453627f64c9b2 /include/media/adv7604.h
parent[media] adv7604: add support for all the digital input ports (diff)
downloadlinux-f31b62e14a000f4e7bf37ad8a84b13cb2079de21.tar.xz
linux-f31b62e14a000f4e7bf37ad8a84b13cb2079de21.zip
[media] adv7604: add hdmi driver strength adjustment
The driver strength is board dependent, so set it from the platform_data. Signed-off-by: Mikhail Khelik <mkhelik@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/adv7604.h')
-rw-r--r--include/media/adv7604.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/media/adv7604.h b/include/media/adv7604.h
index 0c96e169dbe3..22fd1ac9d71b 100644
--- a/include/media/adv7604.h
+++ b/include/media/adv7604.h
@@ -78,6 +78,12 @@ enum adv7604_op_format_sel {
ADV7604_OP_FORMAT_SEL_SDR_ITU656_24_MODE2 = 0x8a,
};
+enum adv7604_drive_strength {
+ ADV7604_DR_STR_MEDIUM_LOW = 1,
+ ADV7604_DR_STR_MEDIUM_HIGH = 2,
+ ADV7604_DR_STR_HIGH = 3,
+};
+
/* Platform dependent definition */
struct adv7604_platform_data {
/* connector - HDMI or DVI? */
@@ -110,6 +116,11 @@ struct adv7604_platform_data {
unsigned replicate_av_codes:1;
unsigned invert_cbcr:1;
+ /* IO register 0x14 */
+ enum adv7604_drive_strength dr_str_data;
+ enum adv7604_drive_strength dr_str_clk;
+ enum adv7604_drive_strength dr_str_sync;
+
/* IO register 0x30 */
unsigned output_bus_lsb_to_msb:1;