From 3f54101858210c921e6d0039f29f649459a9a1a9 Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Tue, 19 Jan 2016 00:21:10 +0100 Subject: Enable frequency scaling on AMSv2 devices. Voltage scaling is not yet enabled, but will follow once we are sure these changes are stable. Preliminary testing suggests a large increase in battery life, which will be further improved by voltage scaling. Patch by Mihail Zenkov with help from myself and others on the forums. Change-Id: I171d20bbee19a48c13cd14efb0d023883cc8c687 --- firmware/rolo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/rolo.c') diff --git a/firmware/rolo.c b/firmware/rolo.c index 923199f9d4..8976a3ea23 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -267,6 +267,10 @@ int rolo_load(const char* filename) lcd_remote_update(); #endif adc_close(); +#if CONFIG_CPU == AS3525v2 + /* Set CVDD1 power supply to default*/ + ascodec_write_pmu(0x17, 1, 0); +#endif #if CONFIG_CPU != IMX31L /* We're not finished yet */ #ifdef CPU_ARM -- cgit v1.2.3