clk: sp810: hardwire parent to 1MHz clock
This works around a limitation in our handling of the vexpress
config bus. For now just hardcode the clock parent to the 1MHz
clock, which is the default as emulated by QEMU and also the
setting the Linux kernel will configure later.

This fixes the vexpress clocksource running at a wrong rate
leading to bogus delays and sleep times.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3f2df4e commit ff312be32a68e51df173b913aa257f60220a3eda
@Lucas Stach Lucas Stach authored on 16 Nov 2017
Sascha Hauer committed on 17 Nov 2017
Showing 1 changed file
View
drivers/clk/vexpress/clk-sp810.c