soc: rockchip: add cpuinfo support
[firefly-linux-kernel-4.4.55.git] / drivers / soc / rockchip / Kconfig
index 7140ff8255987bb458a8c00d86eb2001cbb3d488..ae4cf24a8f70b95ee56f786f176bf6e7ac35e8f1 100644 (file)
@@ -3,6 +3,23 @@ if ARCH_ROCKCHIP || COMPILE_TEST
 #
 # Rockchip Soc drivers
 #
+config ROCKCHIP_CPUINFO
+       tristate "Rockchip cpuinfo support"
+       depends on ROCKCHIP_EFUSE && (ARM64 || ARM)
+       help
+         Say y here to enable Rockchip cpuinfo support.
+         Set system_serial_low/high from eFuse ID.
+         Serial can read from /proc/cpuinfo.
+
+         If unsure, say N.
+
+config ROCKCHIP_PM_TEST
+       bool "Rockchip pm_test support"
+       default n
+       help
+         Say y here to enable pm_test support.
+         Add /sys/pm_tests/ node, only for internal testing.
+
 config ROCKCHIP_PM_DOMAINS
         bool "Rockchip generic power domain"
         depends on PM
@@ -15,4 +32,18 @@ config ROCKCHIP_PM_DOMAINS
 
           If unsure, say N.
 
+config ROCKCHIP_PVTM
+       bool "Rockchip PVTM support"
+       help
+         Say y here to enable pvtm support.
+         The Process-Voltage-Temperature Monitor (PVTM) is used to monitor
+         the chip performance variance caused by chip process, voltage and
+         temperature.
+
+config ROCKCHIP_SUSPEND_MODE
+       bool "Rockchip suspend mode config"
+       depends on ROCKCHIP_SIP
+       help
+         Say Y here if you want to set the suspend mode to the ATF.
+
 endif