diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-10-23 14:20:47 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-10-23 14:20:47 +0000 |
commit | 94c573f3eca59347cd397d6b68159997bb674246 (patch) | |
tree | 8baf49fd0e7571f84be4f3ce258473d2008efc22 /firmware/target/arm/as3525/system-as3525.c | |
parent | bf831106f5edaa383f441cacabb1c8fe081c851f (diff) |
Sansa clipzip: miscellaneous updates
* add support for OF version 01.01.17 in mkamsboot
* introduce and implement oled_brightness function
* configure voltage CVDD2 to 2.8V (like the OF does)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 348b4abcb2..a79b934aaa 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -285,7 +285,11 @@ void system_init(void) ascodec_write_pmu(0x18, 1, 0x35); /* AVDD17: set AVDD17 power supply to 2.5V */ ascodec_write_pmu(0x18, 7, 0x31); -#else +#ifdef SANSA_CLIPZIP + /* CVDD2: set CVDD2 power supply to 2.8V */ + ascodec_write_pmu(0x17, 2, 0xF4); +#endif +#else /* HAVE_AS3543 */ ascodec_write(AS3514_CVDD_DCDC3, AS314_CP_DCDC3_SETTING); #endif /* HAVE_AS3543 */ |