Skip to content

Commit f2fa029

Browse files
robherringdlezcano
authored andcommitted
clocksource: versatile: Adapt for Versatile AB and PB boards
The same 24MHz counter is also present on Versatile AB and PB boards, so add the compatible string for them. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Liviu Dudau <Liviu.Dudau@arm.com> Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 1a18554 commit f2fa029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/clocksource/versatile.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ static void __init versatile_sched_clock_init(struct device_node *node)
3636

3737
sched_clock_register(versatile_sys_24mhz_read, 32, 24000000);
3838
}
39-
CLOCKSOURCE_OF_DECLARE(versatile, "arm,vexpress-sysreg",
39+
CLOCKSOURCE_OF_DECLARE(vexpress, "arm,vexpress-sysreg",
40+
versatile_sched_clock_init);
41+
CLOCKSOURCE_OF_DECLARE(versatile, "arm,versatile-sysreg",
4042
versatile_sched_clock_init);

0 commit comments

Comments
 (0)