1 =======================================================
2 Frequently asked questions about the sunxi clock system
3 =======================================================
5 This document contains useful bits of information that people tend to ask
6 about the sunxi clock system, as well as accompanying ASCII art when adequate.
8 Q: Why is the main 24MHz oscillator gatable? Wouldn't that break the
11 A: The 24MHz oscillator allows gating to save power. Indeed, if gated
12 carelessly the system would stop functioning, but with the right
13 steps, one can gate it and keep the system running. Consider this
14 simplified suspend example:
16 While the system is operational, you would see something like::
26 When you are about to suspend, you switch the CPU Mux to the 32kHz
37 Finally you can gate the main oscillator::
47 Q: Were can I learn more about the sunxi clocks?
49 A: The linux-sunxi wiki contains a page documenting the clock registers,
52 http://linux-sunxi.org/A10/CCM
54 The authoritative source for information at this time is the ccmu driver
55 released by Allwinner, you can find it at
57 https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.0/arch/arm/mach-sun4i/clock/ccmu