diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-11-25 13:45:07 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-25 11:55:16 -0400 |
commit | d42010a1d23979db434826e6b9449ad777bee02f (patch) | |
tree | 1ca2176eb6b5d160e5f8de26d137bfffdba8bcb1 /include/media | |
parent | 4a2ccdd257903a63d218cab6916486c30bee453e (diff) |
[media] adv7604: Add adv7611 support
This patch adds support for the Analog Devices ADV7611 HDMI receiver.
The adv7611 is quite similar to the adv7604. It has only one instead of four
HDMI inputs and no analog frontend though. Also some register bits have been
shuffled around, but large parts of their register maps are compatible.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-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/adv7604.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/adv7604.h b/include/media/adv7604.h index c6b39372eed7..b2500baee8ed 100644 --- a/include/media/adv7604.h +++ b/include/media/adv7604.h | |||
@@ -86,6 +86,13 @@ enum adv7604_drive_strength { | |||
86 | ADV7604_DR_STR_HIGH = 3, | 86 | ADV7604_DR_STR_HIGH = 3, |
87 | }; | 87 | }; |
88 | 88 | ||
89 | enum adv7604_int1_config { | ||
90 | ADV7604_INT1_CONFIG_OPEN_DRAIN, | ||
91 | ADV7604_INT1_CONFIG_ACTIVE_LOW, | ||
92 | ADV7604_INT1_CONFIG_ACTIVE_HIGH, | ||
93 | ADV7604_INT1_CONFIG_DISABLED, | ||
94 | }; | ||
95 | |||
89 | /* Platform dependent definition */ | 96 | /* Platform dependent definition */ |
90 | struct adv7604_platform_data { | 97 | struct adv7604_platform_data { |
91 | /* DIS_PWRDNB: 1 if the PWRDNB pin is unused and unconnected */ | 98 | /* DIS_PWRDNB: 1 if the PWRDNB pin is unused and unconnected */ |
@@ -103,6 +110,9 @@ struct adv7604_platform_data { | |||
103 | /* Select output format */ | 110 | /* Select output format */ |
104 | enum adv7604_op_format_sel op_format_sel; | 111 | enum adv7604_op_format_sel op_format_sel; |
105 | 112 | ||
113 | /* Configuration of the INT1 pin */ | ||
114 | enum adv7604_int1_config int1_config; | ||
115 | |||
106 | /* IO register 0x02 */ | 116 | /* IO register 0x02 */ |
107 | unsigned alt_gamma:1; | 117 | unsigned alt_gamma:1; |
108 | unsigned op_656_range:1; | 118 | unsigned op_656_range:1; |