summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/gta04/panel.h
blob: 490a7f73fda07ed5268500bf34c69935f3796904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _PANEL_H
#define _PANEL_H

#include <video_fb.h>
// #include "TD028TTEC1.h"
// #include "backlight.h"

enum panel_state {
	PANEL_STATE_DEEP_STANDBY,
	PANEL_STATE_SLEEP,
	PANEL_STATE_NORMAL,
};

int panel_display_onoff(int on);
int panel_enter_state(enum panel_state new_state);
const char *panel_state(void);
int board_video_init(GraphicDevice *pGD);

extern int displayColumns;
extern int displayLines;

#endif