Emilio López
e874a66977
clk: arm: sunxi: Add a new clock driver for sunxi SOCs
This commit implements the base CPU clocks for sunxi devices. It has
been tested using a slightly modified cpufreq driver from the
linux-sunxi 3.0 tree.
Additionally, document the new bindings introduced by this patch.
Idling:
/ # cat /sys/kernel/debug/clk/clk_summary
clock enable_cnt prepare_cnt rate
---------------------------------------------------------------------
osc32k 0 0 32768
osc24M_fixed 0 0 24000000
osc24M 0 0 24000000
apb1_mux 0 0 24000000
apb1 0 0 24000000
pll1 0 0 60000000
cpu 0 0 60000000
axi 0 0 60000000
ahb 0 0 60000000
apb0 0 0 30000000
dummy 0 0 0
After "yes >/dev/null &":
/ # cat /sys/kernel/debug/clk/clk_summary
clock enable_cnt prepare_cnt rate
---------------------------------------------------------------------
osc32k 0 0 32768
osc24M_fixed 0 0 24000000
osc24M 0 0 24000000
apb1_mux 0 0 24000000
apb1 0 0 24000000
pll1 0 0 1008000000
cpu 0 0 1008000000
axi 0 0 336000000
ahb 0 0 168000000
apb0 0 0 84000000
dummy 0 0 0
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2013-03-27 08:35:34 -07:00
..
2013-01-03 15:57:15 -08:00
2013-01-31 15:52:00 +00:00
2013-01-14 21:45:58 -07:00
2012-02-01 18:37:37 -08:00
2013-01-02 11:07:43 -07:00
2013-01-14 10:12:42 -08:00
2012-01-26 19:30:40 -08:00
2012-12-24 09:36:38 -07:00
2011-10-04 13:08:18 -07:00
2013-01-03 15:57:15 -08:00
2012-11-13 14:08:23 -05:00
2013-03-03 12:06:09 -08:00
2013-03-03 12:06:09 -08:00
2013-03-02 20:09:22 +00:00
2011-05-23 18:04:51 +01:00
2013-02-26 19:43:20 -08:00
2012-02-22 13:25:16 +01:00
2013-01-03 15:57:15 -08:00
2013-01-03 15:57:15 -08:00
2013-01-03 15:57:15 -08:00
2013-03-27 08:35:34 -07:00
2013-01-14 10:12:42 -08:00
2013-02-05 12:10:18 -08:00
2013-02-28 18:57:07 +01:00
2013-01-15 10:57:24 -08:00