summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-11-25 15:45:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-25 12:55:16 -0300
commitd42010a1d23979db434826e6b9449ad777bee02f (patch)
tree1ca2176eb6b5d160e5f8de26d137bfffdba8bcb1 /include/media
parent4a2ccdd257903a63d218cab6916486c30bee453e (diff)
downloadop-kernel-dev-d42010a1d23979db434826e6b9449ad777bee02f.zip
op-kernel-dev-d42010a1d23979db434826e6b9449ad777bee02f.tar.gz
[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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/media/adv7604.h b/include/media/adv7604.h
index c6b3937..b2500ba 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;
OpenPOWER on IntegriCloud