kernel-ark/arch/mips/ath79
Gabor Juhos 97541ccfb9 MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs
Besides the CPU and DDR PLLs, the CPU and DDR frequencies
can be derived from other PLLs in the SRIF block on the
AR934x SoCs. The current code does not checks if the SRIF
PLLs are used and this can lead to incorrectly calculated
CPU/DDR frequencies.

Fix it by calculating the frequencies from SRIF PLLs if
those are used on a given board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: <stable@vger.kernel.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4324/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-10-01 11:37:15 +02:00
..
clock.c MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs 2012-10-01 11:37:15 +02:00
common.c MIPS: ath79: add AR934X specific glue to ath79_device_reset_{clear,set} 2012-05-15 17:49:09 +02:00
common.h
dev-common.c MIPS: ath79: register UART device for AR934X SoCs 2012-05-15 17:49:10 +02:00
dev-common.h
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
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
dev-spi.c
dev-spi.h
dev-usb.c MIPS: ath79: add USB platform setup code for AR934X 2012-08-28 12:29:57 +02:00
dev-usb.h
dev-wmac.c MIPS: ath79: add WMAC registration code for AR934X 2012-05-15 17:49:10 +02:00
dev-wmac.h
early_printk.c MIPS: ath79: add early_printk support for AR934X 2012-05-15 17:49:07 +02:00
gpio.c MIPS: ath79: Fix number of GPIO lines for AR724[12] 2012-08-17 10:57:26 +02:00
irq.c MIPS: ath79: add IRQ handling code for AR934X 2012-05-15 17:49:09 +02:00
Kconfig MIPS: ath79: add initial support for the Atheros DB120 board 2012-05-15 17:49:11 +02:00
mach-ap81.c
mach-ap121.c
mach-db120.c MIPS: ath79: register USB host controller on the DB120 board 2012-08-28 12:29:57 +02:00
mach-pb44.c MIPS: ath79: register PCI controller on the PB44 board 2012-05-15 17:49:06 +02: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 initial support for the Atheros DB120 board 2012-05-15 17:49:11 +02:00
Makefile MIPS: ath79: add initial support for the Atheros DB120 board 2012-05-15 17:49:11 +02:00
pci.c MIPS: ath79: add PCI registration code for AR934X 2012-05-15 17:49:11 +02:00
pci.h MIPS: ath79: update copyright headers of PCI related files 2012-05-15 17:49:07 +02:00
Platform
prom.c
setup.c MIPS: ath79: add SoC detection code for AR934X 2012-05-15 17:49:07 +02:00