]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: ath79: Fix the ar913x reference clock rate
authorAlban Bedel <albeu@free.fr>
Thu, 17 Mar 2016 03:34:10 +0000 (06:34 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 3 Apr 2016 10:32:10 +0000 (12:32 +0200)
commit0dfd25835b38e9db15287fe8288f1dd2d5c91cf3
tree657a4ea42ae790d3a2ec9b624ceb7dc1ce902bcf
parentb52721945a897d53a1c6c507c924ccaa545b053b
MIPS: ath79: Fix the ar913x reference clock rate

The reference clock on ar913x is at 40MHz and not 5MHz. The current
implementation use the wrong reference rate because it doesn't take
the PLL divider in account. But if we fix the code to use the divider
it becomes identical with the implementation for ar724x, so just drop
the broken ar913x implementation.

Signed-off-by: Alban Bedel <albeu@free.fr>
Tested-by: Antony Pavlov <antonynpavlov@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12871/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/clock.c