WIP FPC-III support
[linux/fpc-iii.git] / include / media / i2c / ad9389b.h
blob30f9ea9a1273626a7e2b25799e687d7bc4e90843
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Analog Devices AD9389B/AD9889B video encoder driver header
5 * Copyright 2012 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
6 */
8 #ifndef AD9389B_H
9 #define AD9389B_H
11 enum ad9389b_tmds_pll_gear {
12 AD9389B_TMDS_PLL_GEAR_AUTOMATIC,
13 AD9389B_TMDS_PLL_GEAR_SEMI_AUTOMATIC,
16 /* Platform dependent definitions */
17 struct ad9389b_platform_data {
18 enum ad9389b_tmds_pll_gear tmds_pll_gear ;
19 /* Differential Data/Clock Output Drive Strength (reg. 0xa2/0xa3) */
20 u8 diff_data_drive_strength;
21 u8 diff_clk_drive_strength;
24 /* notify events */
25 #define AD9389B_MONITOR_DETECT 0
26 #define AD9389B_EDID_DETECT 1
28 struct ad9389b_monitor_detect {
29 int present;
32 struct ad9389b_edid_detect {
33 int present;
34 int segment;
37 #endif