Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
[firefly-linux-kernel-4.4.55.git] / drivers / video / tegra / dc / edid.h
1 /*
2  * drivers/video/tegra/dc/edid.h
3  *
4  * Copyright (C) 2010 Google, Inc.
5  * Author: Erik Gilling <konkers@android.com>
6  *
7  * This software is licensed under the terms of the GNU General Public
8  * License version 2, as published by the Free Software Foundation, and
9  * may be copied, distributed, and modified under those terms.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  */
17
18 #ifndef __DRIVERS_VIDEO_TEGRA_DC_EDID_H
19 #define __DRIVERS_VIDEO_TEGRA_DC_EDID_H
20
21 #include <linux/i2c.h>
22 #include <linux/wait.h>
23
24 struct tegra_edid;
25
26 struct tegra_edid *tegra_edid_create(int bus);
27 void tegra_edid_destroy(struct tegra_edid *edid);
28
29 int tegra_edid_get_monspecs(struct tegra_edid *edid, struct fb_monspecs *specs);
30
31 #endif