clk: sunxi-ng: d1: Allow building for R528/T113
authorSamuel Holland <samuel@sholland.org>
Sat, 31 Dec 2022 23:14:26 +0000 (17:14 -0600)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Sun, 8 Jan 2023 21:06:10 +0000 (22:06 +0100)
Allwinner released some 32-bit ARM (sun8i) SoCs which use the same CCU
as D1. Allow them to reuse the driver.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221231231429.18357-4-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
drivers/clk/sunxi-ng/Kconfig

index 78deee2..b547198 100644 (file)
@@ -13,14 +13,14 @@ config SUNIV_F1C100S_CCU
        depends on MACH_SUNIV || COMPILE_TEST
 
 config SUN20I_D1_CCU
-       tristate "Support for the Allwinner D1 CCU"
+       tristate "Support for the Allwinner D1/R528/T113 CCU"
        default y
-       depends on RISCV || COMPILE_TEST
+       depends on MACH_SUN8I || RISCV || COMPILE_TEST
 
 config SUN20I_D1_R_CCU
-       tristate "Support for the Allwinner D1 PRCM CCU"
+       tristate "Support for the Allwinner D1/R528/T113 PRCM CCU"
        default y
-       depends on RISCV || COMPILE_TEST
+       depends on MACH_SUN8I || RISCV || COMPILE_TEST
 
 config SUN50I_A64_CCU
        tristate "Support for the Allwinner A64 CCU"