Searched hist:"97541 ccfb9db2bb9cd1dde6344d5834438d14bda" (Results 1 – 2 of 2) sorted by relevance
/linux/arch/mips/include/asm/mach-ath79/ |
H A D | ar71xx_regs.h | diff 97541ccfb9db2bb9cd1dde6344d5834438d14bda Sat Sep 08 14:02:21 CEST 2012 Gabor Juhos <juhosg@openwrt.org> 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>
|
/linux/arch/mips/ath79/ |
H A D | clock.c | diff 97541ccfb9db2bb9cd1dde6344d5834438d14bda Sat Sep 08 14:02:21 CEST 2012 Gabor Juhos <juhosg@openwrt.org> 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>
|