mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for 528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6cee7579db
commit
11cca264ff
20 changed files with 1311 additions and 125 deletions
|
|
@ -70,10 +70,11 @@ void kernel_device_init(void)
|
|||
sdma_init();
|
||||
spi_init();
|
||||
mc13783_init();
|
||||
dvfs_dptc_start();
|
||||
dvfs_dptc_init();
|
||||
dvfs_wfi_monitor(true); /* Monitor the WFI signal */
|
||||
dvfs_dptc_start(); /* Should be ok to start even so early */
|
||||
}
|
||||
|
||||
#ifdef BOOTLOADER
|
||||
void tick_stop(void)
|
||||
{
|
||||
avic_disable_int(INT_EPIT1); /* Disable insterrupt */
|
||||
|
|
@ -81,4 +82,4 @@ void tick_stop(void)
|
|||
EPITSR1 = EPITSR_OCIF; /* Clear pending */
|
||||
ccm_module_clock_gating(CG_EPIT1, CGM_OFF); /* Turn off module clock */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue