diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index 7c29ae5afe97..93f3eff897b6 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -7,6 +7,16 @@ source "drivers/soc/rockchip/Kconfig.cpu" # Rockchip Soc drivers # +config ROCKCHIP_CPUINFO + tristate "Rockchip cpuinfo support" + depends on (ROCKCHIP_EFUSE || ROCKCHIP_OTP) && (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_GRF bool default y diff --git a/drivers/soc/rockchip/Makefile b/drivers/soc/rockchip/Makefile index f6dc129ce404..219bfae97c2b 100644 --- a/drivers/soc/rockchip/Makefile +++ b/drivers/soc/rockchip/Makefile @@ -2,6 +2,7 @@ # # Rockchip Soc drivers # +obj-$(CONFIG_ROCKCHIP_CPUINFO) += rockchip-cpuinfo.o obj-$(CONFIG_ROCKCHIP_GRF) += grf.o obj-$(CONFIG_ROCKCHIP_IODOMAIN) += io-domain.o obj-$(CONFIG_ROCKCHIP_PM_DOMAINS) += pm_domains.o