summaryrefslogtreecommitdiffstats
path: root/firmware/export/as3525.h
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-05-18 16:23:11 +0000
committerTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-05-18 16:23:11 +0000
commit0f6b5f03d9e11ec896b0d86d2027471c12a655eb (patch)
tree14f1a25943cbf1c60dfa816ab53d7eef39eb8b8b /firmware/export/as3525.h
parent681cedb4d8e55647fd3a125cdd2966c7d2ccd200 (diff)
downloadrockbox-0f6b5f03d9e11ec896b0d86d2027471c12a655eb.tar.gz
rockbox-0f6b5f03d9e11ec896b0d86d2027471c12a655eb.tar.bz2
rockbox-0f6b5f03d9e11ec896b0d86d2027471c12a655eb.zip
Enable/disable second pll dynamically on usb plugin/remove.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26145 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/as3525.h')
-rw-r--r--firmware/export/as3525.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h
index 699762a9b2..e578b608a6 100644
--- a/firmware/export/as3525.h
+++ b/firmware/export/as3525.h
@@ -242,6 +242,13 @@ CE lines
#define CGU_TIMER2_CLOCK_ENABLE ( 1 << 8 ) /* timer 2 */
#define CGU_TIMERIF_CLOCK_ENABLE ( 1 << 7 ) /* timer interface */
+/* CGU_PLL[AB]SUP bits */
+#define CGU_PLL_POWERDOWN ( 1 << 3 )
+
+/* CGU_INTCTRL bits */
+#define CGU_PLLA_LOCK ( 1 << 0 )
+#define CGU_PLLB_LOCK ( 1 << 1 )
+
/** ------------------------------------------------------------------
* Number of cycles to wait before cgu is safely locked.
**/