1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2016 Texas Instruments, Inc.
4  */
5 
6 #ifndef __OMAPDSS_PDATA_H
7 #define __OMAPDSS_PDATA_H
8 
9 enum omapdss_version {
10 	OMAPDSS_VER_UNKNOWN = 0,
11 	OMAPDSS_VER_OMAP24xx,
12 	OMAPDSS_VER_OMAP34xx_ES1,	/* OMAP3430 ES1.0, 2.0 */
13 	OMAPDSS_VER_OMAP34xx_ES3,	/* OMAP3430 ES3.0+ */
14 	OMAPDSS_VER_OMAP3630,
15 	OMAPDSS_VER_AM35xx,
16 	OMAPDSS_VER_OMAP4430_ES1,	/* OMAP4430 ES1.0 */
17 	OMAPDSS_VER_OMAP4430_ES2,	/* OMAP4430 ES2.0, 2.1, 2.2 */
18 	OMAPDSS_VER_OMAP4,		/* All other OMAP4s */
19 	OMAPDSS_VER_OMAP5,
20 	OMAPDSS_VER_AM43xx,
21 	OMAPDSS_VER_DRA7xx,
22 };
23 
24 /* Board specific data */
25 struct omap_dss_board_info {
26 	int (*dsi_enable_pads)(int dsi_id, unsigned int lane_mask);
27 	void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
28 	int (*set_min_bus_tput)(struct device *dev, unsigned long r);
29 	enum omapdss_version version;
30 };
31 
32 #endif /* __OMAPDSS_PDATA_H */
33