]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Alchemy: fix Au1000/Au1500 LRCLK calculation
authorManuel Lauss <manuel.lauss@gmail.com>
Thu, 29 Jan 2015 15:06:42 +0000 (16:06 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 12:00:08 +0000 (13:00 +0100)
commit76f8c56fec0fe9cc4c4b0d69634e9d756b67d2a5
treedb846af7cef14e459e35666d36a8c6938c9e5ef4
parentf42ed5160f595a49f8916f10dac9de160c834b39
MIPS: Alchemy: fix Au1000/Au1500 LRCLK calculation

The Au1000 and Au1500 calculate the LRCLK a bit differently than
newer models: a single bit in MEM_STCFG0 selects if pclk is divided
by 4 or 5.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/9148/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/common/clock.c