summaryrefslogtreecommitdiffstats
path: root/drivers/soc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-16 01:47:39 +0100
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-04-03 19:49:52 +0200
commitc48c4a4c7eadb76593965e2b956e4e2b23a4e388 (patch)
tree31be2ea1d5a0208300a07d9052f98beaf89c6395 /drivers/soc/Kconfig
parentriscv: Add SOC early init support (diff)
downloadlinux-c48c4a4c7eadb76593965e2b956e4e2b23a4e388.tar.xz
linux-c48c4a4c7eadb76593965e2b956e4e2b23a4e388.zip
riscv: Add Kendryte K210 SoC support
Add support for the Kendryte K210 RISC-V SoC. For now, this support only provides a simple sysctl driver allowing to setup the CPU and uart clock. This support is enabled through the new Kconfig option SOC_KENDRYTE and defines the config option CONFIG_K210_SYSCTL to enable the K210 SoC sysctl driver compilation. The sysctl driver also registers an early SoC initialization function allowing enabling the general purpose use of the 2MB of SRAM normally reserved for the SoC AI engine. This initialization function is automatically called before the dt early initialization using the flat dt root node compatible property matching the value "kendryte,k210". Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> [Palmer: Add missing endmenu in Kconfig.socs] Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/soc/Kconfig')
-rw-r--r--drivers/soc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
index 1778f8c62861..425ab6f7e375 100644
--- a/drivers/soc/Kconfig
+++ b/drivers/soc/Kconfig
@@ -22,5 +22,6 @@ source "drivers/soc/ux500/Kconfig"
source "drivers/soc/versatile/Kconfig"
source "drivers/soc/xilinx/Kconfig"
source "drivers/soc/zte/Kconfig"
+source "drivers/soc/kendryte/Kconfig"
endmenu