arm64: sunxi: Build the sun4i timer driver
authorSamuel Holland <samuel@sholland.org>
Mon, 22 Mar 2021 04:47:07 +0000 (23:47 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 May 2021 07:15:09 +0000 (09:15 +0200)
While the ARM architectural timer is generatlly the best timer to use,
a non-c3stop timer is needed for cpuidle.

Build the "sun4i" timer driver so it can be used for this purpose.
It is present on all 64-bit sunxi SoCs.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210322044707.19479-6-samuel@sholland.org
arch/arm64/Kconfig.platforms

index 6409b47..e67e7f5 100644 (file)
@@ -16,6 +16,7 @@ config ARCH_SUNXI
        select IRQ_FASTEOI_HIERARCHY_HANDLERS
        select PINCTRL
        select RESET_CONTROLLER
+       select SUN4I_TIMER
        help
          This enables support for Allwinner sunxi based SoCs like the A64.