linux/include/media/ad9389b.h
<<
>>
Prefs
   1/*
   2 * Analog Devices AD9389B/AD9889B video encoder driver header
   3 *
   4 * Copyright 2012 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.
  18 */
  19
  20#ifndef AD9389B_H
  21#define AD9389B_H
  22
  23enum ad9389b_tmds_pll_gear {
  24        AD9389B_TMDS_PLL_GEAR_AUTOMATIC,
  25        AD9389B_TMDS_PLL_GEAR_SEMI_AUTOMATIC,
  26};
  27
  28/* Platform dependent definitions */
  29struct ad9389b_platform_data {
  30        enum ad9389b_tmds_pll_gear tmds_pll_gear ;
  31        /* Differential Data/Clock Output Drive Strength (reg. 0xa2/0xa3) */
  32        u8 diff_data_drive_strength;
  33        u8 diff_clk_drive_strength;
  34};
  35
  36/* notify events */
  37#define AD9389B_MONITOR_DETECT 0
  38#define AD9389B_EDID_DETECT 1
  39
  40struct ad9389b_monitor_detect {
  41        int present;
  42};
  43
  44struct ad9389b_edid_detect {
  45        int present;
  46        int segment;
  47};
  48
  49#endif
  50
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.