1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Analog Devices ADV7511 HDMI Transmitter Dev 2 * Analog Devices ADV7511 HDMI Transmitter Device Driver 4 * 3 * 5 * Copyright 2013 Cisco Systems, Inc. and/or i 4 * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. >> 5 * >> 6 * This program is free software; you may redistribute it and/or modify >> 7 * it under the terms of the GNU General Public License as published by >> 8 * the Free Software Foundation; version 2 of the License. >> 9 * >> 10 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, >> 11 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF >> 12 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND >> 13 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS >> 14 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN >> 15 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN >> 16 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE >> 17 * SOFTWARE. 6 */ 18 */ 7 19 8 #ifndef ADV7511_H 20 #ifndef ADV7511_H 9 #define ADV7511_H 21 #define ADV7511_H 10 22 11 /* notify events */ 23 /* notify events */ 12 #define ADV7511_MONITOR_DETECT 0 24 #define ADV7511_MONITOR_DETECT 0 13 #define ADV7511_EDID_DETECT 1 25 #define ADV7511_EDID_DETECT 1 14 26 15 27 16 struct adv7511_monitor_detect { 28 struct adv7511_monitor_detect { 17 int present; 29 int present; 18 }; 30 }; 19 31 20 struct adv7511_edid_detect { 32 struct adv7511_edid_detect { 21 int present; 33 int present; 22 int segment; 34 int segment; 23 uint16_t phys_addr; 35 uint16_t phys_addr; 24 }; 36 }; 25 37 26 struct adv7511_platform_data { 38 struct adv7511_platform_data { 27 u8 i2c_edid; 39 u8 i2c_edid; 28 u8 i2c_cec; 40 u8 i2c_cec; 29 u8 i2c_pktmem; 41 u8 i2c_pktmem; 30 u32 cec_clk; 42 u32 cec_clk; 31 }; 43 }; 32 44 33 #endif 45 #endif 34 46
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.