summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-12-20 06:15:13 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:55:32 +0900
commitd86ec45492e11c11ba1dfb87ed5d98ed8b9b63ac (patch)
tree703cf2741cead71241e16405d424bbf6d631068a /include
parent95ba8762bd6df77187bce64e950343679eee7dfb (diff)
downloadlinux-3.10-d86ec45492e11c11ba1dfb87ed5d98ed8b9b63ac.tar.gz
linux-3.10-d86ec45492e11c11ba1dfb87ed5d98ed8b9b63ac.tar.bz2
linux-3.10-d86ec45492e11c11ba1dfb87ed5d98ed8b9b63ac.zip
upstream: [media] adv7842: add drive strength enum and sync names with adv7604
Add a proper driver strength enum and use the same names in the platform data as with adv7604. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/adv7842.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h
index d72a8a7a5b3..39322091e8b 100644
--- a/include/media/adv7842.h
+++ b/include/media/adv7842.h
@@ -108,6 +108,13 @@ enum adv7842_select_input {
ADV7842_SELECT_SDP_YC,
};
+enum adv7842_drive_strength {
+ ADV7842_DR_STR_LOW = 0,
+ ADV7842_DR_STR_MEDIUM_LOW = 1,
+ ADV7842_DR_STR_MEDIUM_HIGH = 2,
+ ADV7842_DR_STR_HIGH = 3,
+};
+
struct adv7842_sdp_csc_coeff {
bool manual;
uint16_t scaling;
@@ -186,11 +193,9 @@ struct adv7842_platform_data {
unsigned output_bus_lsb_to_msb:1;
/* IO register 0x14 */
- struct {
- unsigned data:2;
- unsigned clock:2;
- unsigned sync:2;
- } drive_strength;
+ enum adv7842_drive_strength dr_str_data;
+ enum adv7842_drive_strength dr_str_clk;
+ enum adv7842_drive_strength dr_str_sync;
/*
* IO register 0x19: Adjustment to the LLC DLL phase in