summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodnano2g.h
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2009-10-11 18:20:56 +0000
committerMichael Sparmann <theseven@rockbox.org>2009-10-11 18:20:56 +0000
commitb729a7d75ec5b2fb73aa67c8f986e2793f8efcaf (patch)
tree8cb993512eff44090b8db093c985ee3ecb9a0f28 /firmware/export/config-ipodnano2g.h
parent4ecc5a1e9babe84d815fcf77328a18b86f6edda1 (diff)
downloadrockbox-b729a7d75ec5b2fb73aa67c8f986e2793f8efcaf.tar.gz
rockbox-b729a7d75ec5b2fb73aa67c8f986e2793f8efcaf.zip
iPod Nano 2G PMU rework, added backlight brightness setting and USB charging speed setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23114 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodnano2g.h')
-rw-r--r--firmware/export/config-ipodnano2g.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/firmware/export/config-ipodnano2g.h b/firmware/export/config-ipodnano2g.h
index 5e92ea889a..cca87aabce 100644
--- a/firmware/export/config-ipodnano2g.h
+++ b/firmware/export/config-ipodnano2g.h
@@ -104,7 +104,7 @@
104 104
105/* Define this for LCD backlight available */ 105/* Define this for LCD backlight available */
106#define HAVE_BACKLIGHT 106#define HAVE_BACKLIGHT
107/* #define HAVE_BACKLIGHT_BRIGHTNESS - not yet */ 107#define HAVE_BACKLIGHT_BRIGHTNESS
108 108
109/* Define this if you have a software controlled poweroff */ 109/* Define this if you have a software controlled poweroff */
110#define HAVE_SW_POWEROFF 110#define HAVE_SW_POWEROFF
@@ -138,6 +138,8 @@
138/* I2C interface */ 138/* I2C interface */
139#define CONFIG_I2C I2C_S5L8700 139#define CONFIG_I2C I2C_S5L8700
140 140
141#define HAVE_USB_CHARGING_ENABLE
142
141/* The size of the flash ROM */ 143/* The size of the flash ROM */
142#define FLASH_SIZE 0x400000 144#define FLASH_SIZE 0x400000
143 145
@@ -187,9 +189,9 @@
187#define MIN_CONTRAST_SETTING 1 189#define MIN_CONTRAST_SETTING 1
188#define MAX_CONTRAST_SETTING 30 190#define MAX_CONTRAST_SETTING 30
189#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */ 191#define DEFAULT_CONTRAST_SETTING 19 /* Match boot contrast */
192#endif
190 193
191/* Main LCD backlight brightness range and defaults */ 194/* Main LCD backlight brightness range and defaults */
192#define MIN_BRIGHTNESS_SETTING 0 195#define MIN_BRIGHTNESS_SETTING 1
193#define MAX_BRIGHTNESS_SETTING 31 196#define MAX_BRIGHTNESS_SETTING 0x2e
194#define DEFAULT_BRIGHTNESS_SETTING 20 197#define DEFAULT_BRIGHTNESS_SETTING 0x20
195#endif