xref: /rk3399_rockchip-uboot/drivers/video/drm/rockchip_panel.h (revision a66fd6dcbc6344967fabd3e7a5f8ec6bb585d0e2)
1 /*
2  * (C) Copyright 2008-2017 Fuzhou Rockchip Electronics Co., Ltd
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef _ROCKCHIP_PANEL_H_
8 #define _ROCKCHIP_PANEL_H_
9 
10 struct rockchip_panel_funcs {
11 	int (*init)(struct display_state *state);
12 	void (*deinit)(struct display_state *state);
13 	int (*prepare)(struct display_state *state);
14 	void (*unprepare)(struct display_state *state);
15 	int (*enable)(struct display_state *state);
16 	void (*disable)(struct display_state *state);
17 };
18 
19 struct rockchip_panel {
20 	const struct rockchip_panel_funcs *funcs;
21 	const void *data;
22 };
23 
24 #endif	/* _ROCKCHIP_PANEL_H_ */
25