rk3026: i2s add several attempts to double confirm i2s frac effect
[firefly-linux-kernel-4.4.55.git] / arch / arm / Kconfig
index fde5a928ee034c5d3ca747be025646ece5beaed3..99490bb1bc09ced5bf00029ff986ec5454aad2c5 100644 (file)
@@ -862,7 +862,6 @@ config ARCH_OMAP
 config ARCH_RK29
        bool "Rockchip RK29xx"
        select PLAT_RK
-       select HAVE_SCHED_CLOCK
        select CPU_V7
        select ARM_GIC
        select PL330
@@ -875,7 +874,6 @@ config ARCH_RK29
 config ARCH_RK2928
        bool "Rockchip RK2928"
        select PLAT_RK
-       select HAVE_SCHED_CLOCK
        select CPU_V7
        select ARM_GIC
        select RK_PL330_DMA
@@ -885,10 +883,24 @@ config ARCH_RK2928
        help
          Support for Rockchip's RK2928 SoCs.
 
+config ARCH_RK3026
+       bool "Rockchip RK3026/RK3028A"
+       select PLAT_RK
+       select CPU_V7
+       select ARM_GIC
+       select RK_PL330_DMA
+       select RK_TIMER
+       select HAVE_ARM_TWD if LOCAL_TIMERS
+       select HAVE_SMP
+       select MIGHT_HAVE_CACHE_L2X0
+       select ARM_ERRATA_754322
+       select ARM_ERRATA_764369
+       help
+         Support for Rockchip's RK3026/RK3028A SoCs.
+
 config ARCH_RK30
        bool "Rockchip RK30xx/RK3108/RK3168"
        select PLAT_RK
-       select HAVE_SCHED_CLOCK
        select CPU_V7
        select ARM_GIC
        select RK_PL330_DMA
@@ -909,12 +921,29 @@ config ARCH_RK3188
        select RK_TIMER
        select HAVE_SMP
        select MIGHT_HAVE_CACHE_L2X0
+       select ARM_ERRATA_761320
        select ARM_ERRATA_764369
        select ARM_ERRATA_754322
        select ARM_ERRATA_775420
        help
          Support for Rockchip's RK3188 SoCs.
 
+config ARCH_RK319X
+       bool "Rockchip RK319X"
+       select PLAT_RK
+       select CPU_V7
+       select ARM_GIC
+       select RK_PL330_DMA
+       select RK_TIMER
+       select HAVE_SMP
+       select MIGHT_HAVE_CACHE_L2X0
+       select ARM_ERRATA_761320 if SMP
+       select ARM_ERRATA_764369 if SMP
+       select ARM_ERRATA_754322
+       select ARM_ERRATA_775420
+       help
+         Support for Rockchip's RK319X SoCs.
+
 config PLAT_SPEAR
        bool "ST SPEAr"
        select ARM_AMBA
@@ -1018,8 +1047,10 @@ source "arch/arm/mach-realview/Kconfig"
 source "arch/arm/plat-rk/Kconfig"
 source "arch/arm/mach-rk29/Kconfig"
 source "arch/arm/mach-rk2928/Kconfig"
+source "arch/arm/mach-rk3026/Kconfig"
 source "arch/arm/mach-rk30/Kconfig"
 source "arch/arm/mach-rk3188/Kconfig"
+source "arch/arm/mach-rk319x/Kconfig"
 
 source "arch/arm/mach-sa1100/Kconfig"
 
@@ -1090,9 +1121,13 @@ config PLAT_PXA
 config PLAT_RK
        bool
        select CLKDEV_LOOKUP
+       select HAVE_SCHED_CLOCK
        select ARCH_HAS_CPUFREQ
        select GENERIC_CLOCKEVENTS
        select ARCH_REQUIRE_GPIOLIB
+       select SYNC
+       select SW_SYNC
+       select SW_SYNC_USER
 
 config PLAT_VERSATILE
        bool
@@ -1304,6 +1339,12 @@ config ARM_ERRATA_754327
          This workaround defines cpu_relax() as smp_mb(), preventing correctly
          written polling loops from denying visibility of updates to memory.
 
+config ARM_ERRATA_761320
+       bool "ARM errata: no direct eviction"
+       depends on CPU_V7 && SMP
+       help
+         This option enables the workaround for the 761320 Cortex-A9 erratum.
+
 config ARM_ERRATA_764369
        bool "ARM errata: Data cache line maintenance operation by MVA may not succeed"
        depends on CPU_V7 && SMP