xref: /linux/include/media/i2c/adv7511.h (revision 37744feebc086908fd89760650f458ab19071750)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Analog Devices ADV7511 HDMI Transmitter Device Driver
4  *
5  * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
6  */
7 
8 #ifndef ADV7511_H
9 #define ADV7511_H
10 
11 /* notify events */
12 #define ADV7511_MONITOR_DETECT 0
13 #define ADV7511_EDID_DETECT 1
14 
15 
16 struct adv7511_monitor_detect {
17 	int present;
18 };
19 
20 struct adv7511_edid_detect {
21 	int present;
22 	int segment;
23 	uint16_t phys_addr;
24 };
25 
26 struct adv7511_platform_data {
27 	u8 i2c_edid;
28 	u8 i2c_cec;
29 	u8 i2c_pktmem;
30 	u32 cec_clk;
31 };
32 
33 #endif
34