Commit latest Qisda version and Bookeen's modification

This commit is contained in:
mlt
2010-04-23 11:27:04 +00:00
committed by Godzil
parent 2c907884d1
commit f2fd2aec61
75 changed files with 182708 additions and 51781 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -78,7 +78,9 @@
#define AUOFB_IOCTL_SHOW_PROGRESS_BAR 0xFFE0
#define AUOFB_IOCTL_CLEAN_EPD 0xFFE1
/* Qisda, Howard Hsu, 2010/01/11, Add show image ioctrl { */
#define AUOFB_IOCTL_SHOW_IMAGE 0xFFE2
/* } Qisda, Howard Hsu, 2010/01/11, Add show image ioctrl */
#define EPD_DEVICE_POWER_STATE AUOFB_IOCTL_TCON_POWER_STATE
enum {
@@ -411,5 +413,6 @@ extern int auo_fb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar
extern void auofb_activate_var(struct auo_fb_info *fbi, struct fb_var_screeninfo *var);
#endif
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -44,6 +44,8 @@ typedef enum
#define AUO_EPAPER_CMD_RESET 0x1005
#define AUO_EPAPER_CMD_ROTATION 0x1006
#define AUO_EPAPER_CMD_LUT_STOP 0x1009
#define AUO_EPAPER_CMD_PRE_DISPLAY_START 0x100D
#define AUO_EPAPER_CMD_PRE_DISPLAY_STOP 0x100F
#define AUO_EPAPER_CMD_FLASH_W 0x2000
#define AUO_EPAPER_CMD_FLASH_E 0x2001
@@ -89,10 +91,9 @@ typedef struct T_DISPLAY_FRAME_TAG
unsigned short* pFrameData;
} T_DISPLAY_FRAME, *T_DISPLAY_FRAME_P;
//functions
void Epaper_SetLcdPort(void);
DispErrorCode_t Epaper_Disp(T_DISPLAY_FRAME tFrame);
int Epaper_Disp(T_DISPLAY_FRAME tFrame);
int is_Epaper_Write_Ready(void);
int is_Epaper_Write_Ready_No_Wait(void);
int is_Epaper_Write_Ready_Wait(unsigned long waitTime); //ms
@@ -102,15 +103,17 @@ void Epaper_Set_Resolution(int h_res, int v_res);
void Epaper_Enter_Standby_Mode(int isEnter);
void Epaper_Enter_Sleep_Mode(int isEnter);
void Epaper_Power(int isEnable);
int Epaper_Init(int h_Res, int v_Res, int rotation, int data_inverse, int inputdata_arrangement, int outputdata_arrangement,int UD, int SHL);
int Epaper_Init(int h_Res, int v_Res, int temp_ave, int data_filter, int rotation, int data_inverse, int inputdata_arrangement, int outputdata_arrangement,int UD, int SHL);
void EPaper_CloseLcdPort(void);
void Epaper_Read_R_TEMP(unsigned short* val0, unsigned short* val1, unsigned short* val2, unsigned short* val3);
void Epaper_Display_Refresh(void);
int Epaper_Update_LUT(unsigned short* u16LUT, unsigned long u32LUTLength);
void Epaper_Read_LUT(unsigned short* u16LUT, unsigned long u32LUTLength);
int Epaper_Read_LUT(unsigned short* u16LUT, unsigned long u32LUTLength);
void Epaper_Reset(void);
void Epaper_Clean_Panel(void);
void Epaper_Show_Progress(int percent);
int Epaper_Pre_DMA_Disp_Start(T_DISPLAY_FRAME tFrame);
int Epaper_Pre_DMA_Disp_Stop(T_DISPLAY_FRAME tFrame);
#ifdef EPAPER_BOOT_CODE
#else //KERNEL

View File

@@ -30,15 +30,20 @@ config LOGO_LINUX_LANDSCAPED_CLUT224
depends on LOGO
default y
config LOGO_LINUX_SH060B00_6_INCH_CLUT224
bool "SH060B00 224-color Linux logo, 6 inch"
depends on LOGO && FB_AUOEPAPER_6
default n
config LOGO_LINUX_CUSTOMER_6_INCH_CLUT224
bool "Customer 224-color Linux logo, 6 inch"
depends on LOGO && FB_AUOEPAPER_6
default y
default n
config LOGO_LINUX_CUSTOMER_9_INCH_CLUT224
bool "Customer 224-color Linux logo, 9 inch"
depends on LOGO && FB_AUOEPAPER_9
default y
default n
config LOGO_DEC_CLUT224
bool "224-color Digital Equipment Corporation Linux logo"

View File

@@ -5,8 +5,9 @@ obj-$(CONFIG_LOGO_LINUX_MONO) += logo_linux_mono.o
obj-$(CONFIG_LOGO_LINUX_VGA16) += logo_linux_vga16.o
obj-$(CONFIG_LOGO_LINUX_CLUT224) += logo_linux_clut224.o
obj-$(CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224) += logo_linux_landscaped_clut224.o
obj-$(CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224) += logo_linux_customer_6_inch_clut224.o
#obj-$(CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224) += logo_linux_customer_6_inch_clut224.o
obj-$(CONFIG_LOGO_LINUX_CUSTOMER_9_INCH_CLUT224) += logo_linux_customer_9_inch_clut224.o
obj-$(CONFIG_LOGO_LINUX_SH060B00_6_INCH_CLUT224) += logo_linux_sh060b00_6_inch_clut224.o
obj-$(CONFIG_LOGO_DEC_CLUT224) += logo_dec_clut224.o
obj-$(CONFIG_LOGO_MAC_CLUT224) += logo_mac_clut224.o
obj-$(CONFIG_LOGO_PARISC_CLUT224) += logo_parisc_clut224.o
@@ -16,6 +17,17 @@ obj-$(CONFIG_LOGO_SUPERH_MONO) += logo_superh_mono.o
obj-$(CONFIG_LOGO_SUPERH_VGA16) += logo_superh_vga16.o
obj-$(CONFIG_LOGO_SUPERH_CLUT224) += logo_superh_clut224.o
obj-$(CONFIG_LOGO_M32R_CLUT224) += logo_m32r_clut224.o
# Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00 {
ifdef CONFIG_QISDA_BQ060B00
ifndef CONFIG_RESCUEOS_BUILD
obj-$(CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224) += logo_bq060b00_startup_6_inch_clut224.o
else
obj-$(CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224) += logo_bq060b00_rescueos_6_inch_clut224.o
endif
else
obj-$(CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224) += logo_linux_customer_6_inch_clut224.o
endif
# } Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00
# How to generate logo's

View File

@@ -36,9 +36,24 @@ extern const struct linux_logo logo_superh_clut224;
extern const struct linux_logo logo_m32r_clut224;
//20090819 Ivan
extern const struct linux_logo logo_linux_customer_6_inch_clut224;
//extern const struct linux_logo logo_linux_customer_6_inch_clut224;
extern const struct linux_logo logo_linux_customer_9_inch_clut224;
extern const struct linux_logo logo_linux_sh060b00_6_inch_clut224;
//20090819 Ivan
#ifdef CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224
/* Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00 { */
#ifdef CONFIG_QISDA_BQ060B00
#ifdef CONFIG_RESCUEOS_BUILD
extern const struct linux_logo logo_bq060b00_rescueos_6_inch_clut224;
#else
extern const struct linux_logo logo_bq060b00_startup_6_inch_clut224;
#endif /* CONFIG_RESCUEOS_BUILD */
#else
extern const struct linux_logo logo_linux_customer_6_inch_clut224;
#endif /* CONFIG_QISDA_BQ060B00 */
#endif /* CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224 */
/* } Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00 */
const struct linux_logo *fb_find_logo(int depth)
{
@@ -112,12 +127,25 @@ const struct linux_logo *fb_find_logo(int depth)
#endif
//20090819 Ivan
/* Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00 { */
#ifdef CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224
#ifdef CONFIG_QISDA_BQ060B00
#ifdef CONFIG_RESCUEOS_BUILD
logo = &logo_bq060b00_rescueos_6_inch_clut224;
#else
logo = &logo_bq060b00_startup_6_inch_clut224;
#endif
#else
logo = &logo_linux_customer_6_inch_clut224;
#endif
#endif /* CONFIG_QISDA_BQ060B00 */
#endif /*CONFIG_LOGO_LINUX_CUSTOMER_6_INCH_CLUT224 */
/* } Qisda, Howard Hsu, 2010/01/04, custom logo for BQ060B00 */
#ifdef CONFIG_LOGO_LINUX_CUSTOMER_9_INCH_CLUT224
logo = &logo_linux_customer_9_inch_clut224;
#endif
#ifdef CONFIG_LOGO_LINUX_SH060B00_6_INCH_CLUT224
logo = &logo_linux_sh060b00_6_inch_clut224;
#endif
//20090819 Ivan
}
return logo;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff