H100/120: Split lcd driver into pixel format and device specific parts. Adjustment of contrast range to just a little less than white to a little more than black. Really only had to reset minimum.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11487 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2006-11-10 00:02:28 +00:00
parent 6170e8837b
commit f64f589d2e
5 changed files with 1117 additions and 1096 deletions

View File

@ -74,7 +74,9 @@ drivers/lcd-recorder.c
#elif LCD_DEPTH == 2
#if LCD_PIXELFORMAT == HORIZONTAL_PACKING
drivers/lcd-2bit-horz.c
#endif /* LCD_PIXELFORMAT == HORIZONTAL_PACKING */
#elif LCD_PIXELFORMAT == VERTICAL_PACKING
drivers/lcd-2bit-vert.c
#endif /* LCD_PIXELFORMAT */
#elif LCD_DEPTH == 16
drivers/lcd-16bit.c
#endif /* LCD_DEPTH */
@ -353,7 +355,6 @@ target/coldfire/iriver/h300/usb-h300.c
#endif /* IRIVER_H300_SERIES */
#ifdef IRIVER_H100_SERIES
target/coldfire/iriver/h100/lcd-h100.c
target/coldfire/iriver/h100/power-h100.c
#ifndef SIMULATOR
target/coldfire/iriver/ata-iriver.c
@ -362,6 +363,7 @@ target/coldfire/iriver/h100/adc-h100.c
target/coldfire/iriver/h100/backlight-h100.c
target/coldfire/iriver/h100/button-h100.c
target/coldfire/iriver/h100/lcd-as-h100.S
target/coldfire/iriver/h100/lcd-h100.c
target/coldfire/iriver/h100/usb-h100.c
#endif /* SIMULATOR */
#endif /* IRIVER_H100_SERIES */

File diff suppressed because it is too large Load Diff

View File

@ -55,8 +55,6 @@
#define CONFIG_LCD LCD_S1D15E06
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
/* Define this for LCD backlight available */
#define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */
@ -156,9 +154,9 @@
#endif /* !SIMULATOR */
#define DEFAULT_CONTRAST_SETTING 40
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63
#define DEFAULT_CONTRAST_SETTING 28
#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING
#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING

View File

@ -50,8 +50,6 @@
#define CONFIG_LCD LCD_S1D15E06
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
/* Define this for LCD backlight available */
#define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */
@ -152,9 +150,9 @@
#endif /* !SIMULATOR */
#define DEFAULT_CONTRAST_SETTING 40
#define MIN_CONTRAST_SETTING 5
#define MAX_CONTRAST_SETTING 63
#define DEFAULT_CONTRAST_SETTING 28
#define MIN_CONTRAST_SETTING 14 /* White screen a bit higher than this */
#define MAX_CONTRAST_SETTING 63 /* Black screen a bit lower than this*/
#define DEFAULT_REMOTE_CONTRAST_SETTING 42
#define MIN_REMOTE_CONTRAST_SETTING MIN_CONTRAST_SETTING
#define MAX_REMOTE_CONTRAST_SETTING MAX_CONTRAST_SETTING

File diff suppressed because it is too large Load Diff