Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2fa0299 authored by Rob Herring's avatar Rob Herring Committed by Daniel Lezcano
Browse files

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: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarLiviu 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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 1a18554b
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -36,5 +36,7 @@ static void __init versatile_sched_clock_init(struct device_node *node)


	sched_clock_register(versatile_sys_24mhz_read, 32, 24000000);
	sched_clock_register(versatile_sys_24mhz_read, 32, 24000000);
}
}
CLOCKSOURCE_OF_DECLARE(versatile, "arm,vexpress-sysreg",
CLOCKSOURCE_OF_DECLARE(vexpress, "arm,vexpress-sysreg",
		       versatile_sched_clock_init);
CLOCKSOURCE_OF_DECLARE(versatile, "arm,versatile-sysreg",
		       versatile_sched_clock_init);
		       versatile_sched_clock_init);