2 * Copyright (C) 2011 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
22 enum dw_hdmi_devtype
{
28 struct dw_hdmi_mpll_config
{
29 unsigned long mpixelclock
;
33 } res
[DW_HDMI_RES_MAX
];
36 struct dw_hdmi_curr_ctrl
{
37 unsigned long mpixelclock
;
38 u16 curr
[DW_HDMI_RES_MAX
];
41 struct dw_hdmi_sym_term
{
42 unsigned long mpixelclock
;
43 u16 sym_ctr
; /*clock symbol and transmitter control*/
44 u16 term
; /*transmission termination value*/
47 struct dw_hdmi_plat_data
{
48 enum dw_hdmi_devtype dev_type
;
49 const struct dw_hdmi_mpll_config
*mpll_cfg
;
50 const struct dw_hdmi_curr_ctrl
*cur_ctr
;
51 const struct dw_hdmi_sym_term
*sym_term
;
52 enum drm_mode_status (*mode_valid
)(struct drm_connector
*connector
,
53 struct drm_display_mode
*mode
);
56 void dw_hdmi_unbind(struct device
*dev
, struct device
*master
, void *data
);
57 int dw_hdmi_bind(struct device
*dev
, struct device
*master
,
58 void *data
, struct drm_encoder
*encoder
,
59 struct resource
*iores
, int irq
,
60 const struct dw_hdmi_plat_data
*plat_data
);
61 #endif /* __IMX_HDMI_H__ */
This page took 0.066401 seconds and 6 git commands to generate.