summaryrefslogtreecommitdiff
path: root/include/media/adv7604.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-11-25 22:45:07 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 19:55:16 +0400
commitd42010a1d23979db434826e6b9449ad777bee02f (patch)
tree1ca2176eb6b5d160e5f8de26d137bfffdba8bcb1 /include/media/adv7604.h
parent4a2ccdd257903a63d218cab6916486c30bee453e (diff)
downloadlinux-d42010a1d23979db434826e6b9449ad777bee02f.tar.xz
[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/adv7604.h')
-rw-r--r--include/media/adv7604.h10
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 {
ADV7604_DR_STR_HIGH = 3,
};
+enum adv7604_int1_config {
+ ADV7604_INT1_CONFIG_OPEN_DRAIN,
+ ADV7604_INT1_CONFIG_ACTIVE_LOW,
+ ADV7604_INT1_CONFIG_ACTIVE_HIGH,
+ ADV7604_INT1_CONFIG_DISABLED,
+};
+
/* Platform dependent definition */
struct adv7604_platform_data {
/* DIS_PWRDNB: 1 if the PWRDNB pin is unused and unconnected */
@@ -103,6 +110,9 @@ struct adv7604_platform_data {
/* Select output format */
enum adv7604_op_format_sel op_format_sel;
+ /* Configuration of the INT1 pin */
+ enum adv7604_int1_config int1_config;
+
/* IO register 0x02 */
unsigned alt_gamma:1;
unsigned op_656_range:1;