| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 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 |