#ifndef __LCD_H__ | |
#define __LCD_H__ | |
/* this file is same as it in uboot */ | |
enum { | |
PANEL_NONE = 0, | |
PANEL_ST7735, | |
PANEL_GC9102, | |
PANEL_GC9106, | |
PANEL_ST7789V, | |
PANEL_MAX | |
}; | |
enum { | |
CMD_TYPE_START, | |
CMD_TYPE_END, | |
CMD_TYPE_CMD, | |
CMD_TYPE_DATA, | |
CMD_TYPE_DELAY, | |
}; | |
struct lcd_cmd { | |
u8 type; | |
u16 data; | |
}; | |
#endif |