android_kernel_motorola_sm6225/arch/mips/ath79
Gabor Juhos 59a8c10b25 MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates
Instead of accessing the rate field of the static
clock devices directly, use the recently introduced
helper function to get the rate of the basic clocks.

The static ath79_{ahb,cpu,ddr,ref}_clk variables
will be removed by a subsequent patch. The actual
change is in preparation of that.

Also move the clock frequency printing code into
the plat_time_init function. We are getting the
cpu clock rate there already so we can save an
extra call of the helper.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5782/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-09-03 23:22:17 +02:00
..
clock.c MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates 2013-09-03 23:22:17 +02:00
common.c MIPS: ath79: add QCA955X specific glue to ath79_device_reset_{set, clear} 2013-02-19 09:36:27 +01:00
common.h MIPS: ath79: Use a helper function to get system clock rates 2013-09-03 23:22:17 +02:00
dev-common.c MIPS: ath79: Use a helper function to get system clock rates 2013-09-03 23:22:17 +02:00
dev-common.h MIPS: ath79: add common watchdog device 2011-01-18 19:30:26 +01:00
dev-gpio-buttons.c MIPS: ath79: Use kmemdup rather than duplicating its implementation 2012-05-15 17:49:00 +02:00
dev-gpio-buttons.h MIPS: ath79: add common GPIO buttons device 2011-01-18 19:30:27 +01:00
dev-leds-gpio.c MIPS: ath79: Use kmemdup rather than duplicating its implementation 2012-05-15 17:49:00 +02:00
dev-leds-gpio.h MIPS: ath79: add common GPIO LEDs device 2011-01-18 19:30:26 +01:00
dev-spi.c MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-spi.h MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-usb.c MIPS: ath79: add USB controller registration code for the QCA955X SoCs 2013-02-19 09:36:33 +01:00
dev-usb.h MIPS: ath79: add common USB Host Controller device 2011-12-07 22:02:44 +00:00
dev-wmac.c MIPS: ath79: add WMAC registration code for the QCA955X SoCs 2013-02-19 09:36:30 +01:00
dev-wmac.h MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
early_printk.c MIPS: ath79: add early printk support for the QCA955X SoCs 2013-02-19 09:36:24 +01:00
gpio.c MIPS: ath79: add GPIO setup code for the QCA955X SoCs 2013-02-19 09:36:26 +01:00
irq.c MIPS: ath79: add IRQ handling code for the QCA955X SoCs 2013-02-19 09:36:25 +01:00
Kconfig MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
mach-ap81.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap121.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap136.c MIPS: ath79: Fix argument for the ap136_pc_init function 2013-06-21 18:07:02 +02:00
mach-db120.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-pb44.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ubnt-xm.c MIPS: ath79: remove ar724x_pci_add_data function 2012-05-15 17:49:06 +02:00
machtypes.h MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
Makefile MIPS: ath79: add support for the Qualcomm Atheros AP136-010 board 2013-02-19 09:36:34 +01:00
pci.c MIPS: ath79: add PCI controller registration code for the QCA955X SoCs 2013-02-19 09:36:32 +01:00
pci.h MIPS: ath79: allow to specify bus number in PCI IRQ maps 2013-02-17 01:25:38 +01:00
Platform MIPS: Add initial support for the Atheros AR71XX/AR724X/AR931X SoCs 2011-01-18 19:30:24 +01:00
prom.c MIPS: Add initial support for the Atheros AR71XX/AR724X/AR931X SoCs 2011-01-18 19:30:24 +01:00
setup.c MIPS: ath79: Use ath79_get_sys_clk_rate to get basic clock rates 2013-09-03 23:22:17 +02:00