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