diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-12-20 04:15:13 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 03:47:46 -0500 |
| commit | 7f95c904b9d7a42c96893fddd48b7615f549c5ff (patch) | |
| tree | 003a7056a2d2ad08964251c542a2fded865753c1 /include | |
| parent | 0bb4e7ab643be0c97c378ba39b4e6f9dcf508749 (diff) | |
[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.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/media/adv7842.h b/include/media/adv7842.h index d72a8a7a5b36..39322091e8b0 100644 --- a/include/media/adv7842.h +++ b/include/media/adv7842.h | |||
| @@ -108,6 +108,13 @@ enum adv7842_select_input { | |||
| 108 | ADV7842_SELECT_SDP_YC, | 108 | ADV7842_SELECT_SDP_YC, |
| 109 | }; | 109 | }; |
| 110 | 110 | ||
| 111 | enum adv7842_drive_strength { | ||
| 112 | ADV7842_DR_STR_LOW = 0, | ||
| 113 | ADV7842_DR_STR_MEDIUM_LOW = 1, | ||
| 114 | ADV7842_DR_STR_MEDIUM_HIGH = 2, | ||
| 115 | ADV7842_DR_STR_HIGH = 3, | ||
| 116 | }; | ||
| 117 | |||
| 111 | struct adv7842_sdp_csc_coeff { | 118 | struct adv7842_sdp_csc_coeff { |
| 112 | bool manual; | 119 | bool manual; |
| 113 | uint16_t scaling; | 120 | uint16_t scaling; |
| @@ -186,11 +193,9 @@ struct adv7842_platform_data { | |||
| 186 | unsigned output_bus_lsb_to_msb:1; | 193 | unsigned output_bus_lsb_to_msb:1; |
| 187 | 194 | ||
| 188 | /* IO register 0x14 */ | 195 | /* IO register 0x14 */ |
| 189 | struct { | 196 | enum adv7842_drive_strength dr_str_data; |
| 190 | unsigned data:2; | 197 | enum adv7842_drive_strength dr_str_clk; |
| 191 | unsigned clock:2; | 198 | enum adv7842_drive_strength dr_str_sync; |
| 192 | unsigned sync:2; | ||
| 193 | } drive_strength; | ||
| 194 | 199 | ||
| 195 | /* | 200 | /* |
| 196 | * IO register 0x19: Adjustment to the LLC DLL phase in | 201 | * IO register 0x19: Adjustment to the LLC DLL phase in |
