OpenCloudOS-Kernel/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
..
Kconfig 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
Platform
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 MIPS: ath79: add GPIOLIB support 2011-01-18 19:30:25 +01:00
dev-common.c MIPS: ath79: register UART device for AR934X SoCs 2012-05-15 17:49:10 +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 platform setup code for AR934X 2012-08-28 12:29:57 +02: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 AR934X 2012-05-15 17:49:10 +02: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 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
mach-ap81.c MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
mach-ap121.c MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
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
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
prom.c
setup.c MIPS: ath79: add SoC detection code for AR934X 2012-05-15 17:49:07 +02:00