@@ -126,6 +126,8 @@ endif
config MACH_SUNXI_H3_H5
bool
+ select CLK_SUNXI
+ select RESET_SUNXI
select DM_I2C
select DM_MMC if MMC
select PHY_SUN4I_USB
@@ -142,6 +144,8 @@ choice
config MACH_SUN4I
bool "sun4i (Allwinner A10)"
select CPU_V7A
+ select CLK_SUNXI
+ select RESET_SUNXI
select ARM_CORTEX_CPU_IS_UP
select DM_MMC if MMC
select DM_SCSI if SCSI
@@ -153,6 +157,8 @@ config MACH_SUN4I
config MACH_SUN5I
bool "sun5i (Allwinner A13)"
select CPU_V7A
+ select CLK_SUNXI
+ select RESET_SUNXI
select ARM_CORTEX_CPU_IS_UP
select DRAM_SUN4I
select DM_MMC if MMC
@@ -167,6 +173,8 @@ config MACH_SUN6I
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
select ARCH_SUPPORT_PSCI
+ select CLK_SUNXI
+ select RESET_SUNXI
select DRAM_SUN6I
select DM_MMC if MMC
select PHY_SUN4I_USB
@@ -182,6 +190,8 @@ config MACH_SUN7I
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
select ARCH_SUPPORT_PSCI
+ select CLK_SUNXI
+ select RESET_SUNXI
select DRAM_SUN4I
select DM_MMC if MMC
select PHY_SUN4I_USB
@@ -195,6 +205,8 @@ config MACH_SUN8I_A23
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
select ARCH_SUPPORT_PSCI
+ select CLK_SUNXI
+ select RESET_SUNXI
select DRAM_SUN8I_A23
select DM_MMC if MMC
select PHY_SUN4I_USB
@@ -209,6 +221,8 @@ config MACH_SUN8I_A33
select CPU_V7_HAS_NONSEC
select CPU_V7_HAS_VIRT
select ARCH_SUPPORT_PSCI
+ select CLK_SUNXI
+ select RESET_SUNXI
select DRAM_SUN8I_A33
select DM_MMC if MMC
select PHY_SUN4I_USB
@@ -221,6 +235,8 @@ config MACH_SUN8I_A83T
bool "sun8i (Allwinner A83T)"
select CPU_V7A
select DM_MMC if MMC
+ select CLK_SUNXI
+ select RESET_SUNXI
select DRAM_SUN8I_A83T
select PHY_SUN4I_USB
select SUNXI_GEN_SUN6I
@@ -276,6 +292,8 @@ config MACH_SUN50I
select ARM64
select DM_I2C
select DM_MMC if MMC
+ select CLK_SUNXI
+ select RESET_SUNXI
select PHY_SUN4I_USB
select SUNXI_DE2
select SUNXI_GEN_SUN6I
CLK and RESET drivers are now available for most of the Allwinner platforms, so enable in mach-sunxi/Kconfig Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- arch/arm/mach-sunxi/Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)