summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMartin Bugge <marbugge@cisco.com>2014-01-24 10:50:06 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 09:57:36 -0200
commitce2d2b2d7a764cc9481efd896f119799a4aeafaf (patch)
tree2617bd11e1a9ec71be25d8c54f01cafdf08115d3 /include/media
parentb60908a4e5164835678728bf185af9807e0e4560 (diff)
downloadlinux-ce2d2b2d7a764cc9481efd896f119799a4aeafaf.tar.gz
linux-ce2d2b2d7a764cc9481efd896f119799a4aeafaf.tar.bz2
linux-ce2d2b2d7a764cc9481efd896f119799a4aeafaf.zip
[media] adv7842: platform-data for Hotplug Active (HPA) manual/auto
This applies to HDMI-map register 0x69. So far we have been using HPA manual mode. This way we had control of HPA which could be set after EDID had been programmed. Using a Mac Mini with mini-displayport to DVI-D converter as source caused the adv7842 to lock up and fail to detect any further signals. After experimenting with different configurations it was found that using the HPA auto mode and in addition letting RX-termination be controlled by HPA prevented this error from occuring. I was not able to re-create this problem on the adv7604. Signed-off-by: Martin Bugge <marbugge@cisco.com> Cc: Mats Randgaard <matrandg@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')
-rw-r--r--include/media/adv7842.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h
index 39322091e8b0..924cbb8d004a 100644
--- a/include/media/adv7842.h
+++ b/include/media/adv7842.h
@@ -220,6 +220,9 @@ struct adv7842_platform_data {
unsigned sdp_free_run_cbar_en:1;
unsigned sdp_free_run_force:1;
+ /* HPA manual (0) or auto (1), affects HDMI register 0x69 */
+ unsigned hpa_auto:1;
+
struct adv7842_sdp_csc_coeff sdp_csc_coeff;
struct adv7842_sdp_io_sync_adjustment sdp_io_sync_625;