Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Analog Devices AD9389B/AD9889B video encoder driver header
0004  *
0005  * Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
0006  */
0007 
0008 #ifndef AD9389B_H
0009 #define AD9389B_H
0010 
0011 enum ad9389b_tmds_pll_gear {
0012     AD9389B_TMDS_PLL_GEAR_AUTOMATIC,
0013     AD9389B_TMDS_PLL_GEAR_SEMI_AUTOMATIC,
0014 };
0015 
0016 /* Platform dependent definitions */
0017 struct ad9389b_platform_data {
0018     enum ad9389b_tmds_pll_gear tmds_pll_gear ;
0019     /* Differential Data/Clock Output Drive Strength (reg. 0xa2/0xa3) */
0020     u8 diff_data_drive_strength;
0021     u8 diff_clk_drive_strength;
0022 };
0023 
0024 /* notify events */
0025 #define AD9389B_MONITOR_DETECT 0
0026 #define AD9389B_EDID_DETECT 1
0027 
0028 struct ad9389b_monitor_detect {
0029     int present;
0030 };
0031 
0032 struct ad9389b_edid_detect {
0033     int present;
0034     int segment;
0035 };
0036 
0037 #endif