2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 02:34:01 +08:00
linux-next/arch/mips/pic32
Purna Chandra Mandal 6e4ad1b413 MIPS: pic32mzda: fix getting timer clock rate.
PIC32 clock driver is now implemented as platform driver instead of
as part of of_clk_init(). It meants all the clock modules are available
quite late in the boot sequence. So request for CPU clock by clk_get_sys()
and clk_get_rate() to find c0_timer rate fails.

To fix this use PIC32 specific early clock functions implemented for early
console support.

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Joshua Henderson <digitalpeer@digitalpeer.com>
Patchwork: https://patchwork.linux-mips.org/patch/13262/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-17 11:22:51 +02:00
..
common MIPS: Add support for PIC32MZDA platform 2016-01-24 02:53:28 +01:00
pic32mzda MIPS: pic32mzda: fix getting timer clock rate. 2016-05-17 11:22:51 +02:00
Kconfig clk: Get rid of HAVE_MACH_CLKDEV 2016-02-25 14:41:20 -08:00
Makefile MIPS: Add support for PIC32MZDA platform 2016-01-24 02:53:28 +01:00
Platform MIPS: Add support for PIC32MZDA platform 2016-01-24 02:53:28 +01:00