summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/gta04/panel.h
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2012-08-30 12:05:34 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2012-08-30 12:05:34 +0200
commit8a2402c6c69968c9c3a123b55a9357e11089a80e (patch)
tree0bad18a51bb093dc07e3b653c5d08ecca3d70f55 /u-boot/board/goldelico/gta04/panel.h
parent2da42947a70cf4d33411162922c6df279353ca55 (diff)
downloadbootable_bootloader_goldelico_gta04-8a2402c6c69968c9c3a123b55a9357e11089a80e.zip
bootable_bootloader_goldelico_gta04-8a2402c6c69968c9c3a123b55a9357e11089a80e.tar.gz
bootable_bootloader_goldelico_gta04-8a2402c6c69968c9c3a123b55a9357e11089a80e.tar.bz2
generalized panel driver
Diffstat (limited to 'u-boot/board/goldelico/gta04/panel.h')
-rw-r--r--u-boot/board/goldelico/gta04/panel.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/gta04/panel.h b/u-boot/board/goldelico/gta04/panel.h
new file mode 100644
index 0000000..98c97fc
--- /dev/null
+++ b/u-boot/board/goldelico/gta04/panel.h
@@ -0,0 +1,19 @@
+#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);
+
+#endif