rockbox/firmware/target/arm/as3525
William Wilgus 6f0320a953 As3525 v1/v2 Add power savings menu
Allow user to select cpu undervolt

There have been quite a few issues across the SANSA AMS line related
to CPU undervolting while most players show greatly increased runtime
some crash.
Rather than constanly upping the voltage we now have a
setting with a safe value for all players and the option for lower voltages

I plan to add a few other options here later such as disk
timings and maybe some other clocks/experimental settings

Added: Disk Low speed option for AS3525v2 devices cuts
	frequency to 12 MHz from 24 MHz
Added: Disk Low speed option for AS3525v1 devices cuts
        frequency to 15.5 MHz from 31 MHz

Added: I2c Low Speed AS3525 devices, should be bigger improvement for v1 devices

Fixed: Debug menu for AS3525v2 No SDSLOT frequency,
	Showed IDE freq though it is unused

Added: DBOP and SSP underclocking affects display on v1/v2 respectively

Fixed: debug menu now has SSP frequency, and SSP_CPSR

Update: made settings menu more generic

Update: cleaned up code

Added: Clip v1 & Fuze v1 didn't have HAVE_ADJUSTABLE_CPU_VOLTAGE.
	not sure why but,  waiting on testing to confirm

Added: C200v2 and E200v2 devices and HAVE_ADJUSTABLE_CPU_VOLTAGE.

Fixed: v1 devices don't like display timing set lower (dbop)
       v1 devices don't have a divider set for ssp (causes divide by 0)

Fixed: ClipZip display lags with Max SSP divider changed from 0xFE to 0x32

Fixed: v1 devices didn't work properly with highspeed sd cards
	Added code from http://gerrit.rockbox.org/r/#/c/1704/
	Added powersave and IDE interface enable/disable

Added: V2 devices now have powersave enabled on sd interface

Update: cleaned up code, lang defines, added manual entries

Update ssp clock mechanism added calculated ssp divider to clipzip

Update turn display clock off when clip+ turns off display

Fixed: clipzip wrong register for SSP clock

Change-Id: I04137682243be92f0f8d8bf1cfa54fbb1965559b
TODO: add other players?
2018-07-27 23:56:32 +02:00
..
sansa-c200v2 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sansa-clip Optimize lcd-ssd1303 driver (clip series) 2018-07-26 04:23:28 +02:00
sansa-clipplus As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
sansa-clipv2 Optimize lcd-ssd1303 driver (clip series) 2018-07-26 04:23:28 +02:00
sansa-clipzip As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
sansa-e200v2 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sansa-fuze Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sansa-fuzev2 Increase button delays in preperation for frequency scaling. 2016-01-18 23:51:25 +01:00
sansa-m200v4 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
adc-target.h adc-target.h: cleanup 2012-01-08 00:39:29 +00:00
app.lds Make INITDATA_ATTR work on everything that has INIT_ATTR enabled for code. 2012-05-01 01:28:50 -04:00
ascodec-as3525.c As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
audio-as3525.c
backlight-e200v2-fuze.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
boot.lds
button-clip.c Change the clipv2 button driver to use fixed delays rather than processor cycle counting. 2016-01-18 22:35:56 +01:00
button-e200v2-fuze.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
clock-target.h As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
dbop-as3525.c
dbop-as3525.h
debug-as3525.c Update AS3525 v1/v2 debug menu; add scrolling and missing frequencies 2018-07-26 04:00:28 +02:00
dma-pl081.c
dma-target.h
fmradio-i2c-as3525.c Improve radio RDS driver and framework 2017-02-11 22:19:32 -05:00
kernel-as3525.c fix previous commit 2012-01-08 00:18:43 +00:00
lcd-as-e200v2-fuze-fuzev2.S lcd: fix function name in comments in assembly files (lcd_write_yup_420 instead of lcd_write_yuv420) 2012-01-11 13:14:30 +01:00
lcd-clip.h Optimize lcd-ssd1303 driver (clip series) 2018-07-26 04:23:28 +02:00
lcd-fuze.c Do not include kernel.h in system.h. 2014-01-05 19:35:23 +01:00
lcd-fuze.h
lcd-ssd1303.c Optimize lcd-ssd1303 driver (clip series) 2018-07-26 04:23:28 +02:00
memory-init.S
pcm-as3525.c AMS: Change DMA transfer size for audio. 2015-06-01 18:23:57 +02:00
power-as3525.c ascodec-target.h: remove 2012-01-08 01:43:16 +00:00
powermgmt-target.h AMSv2: add proper definitions for charge current 2012-03-04 12:23:05 +01:00
rtc-target.h Convert i.MX31 and AMS target to use RTC interrupt 2017-11-21 07:52:02 -05:00
scrollwheel-as3525.c
sd-as3525.c As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
sd-as3525v2.c As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
system-as3525.c As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
system-target.h As3525 v1/v2 Add power savings menu 2018-07-27 23:56:32 +02:00
timer-as3525.c
tuner-as3525v2.c
usb-as3525.c as3525v2: use the new USB DesignWare driver 2016-08-15 02:56:23 +02:00
usb-drv-as3525.c AMSv1: rename USB interrupt handler 2012-04-30 14:24:34 -04:00
usb-drv-as3525.h