summaryrefslogtreecommitdiffstats
path: root/drivers/soc/Kconfig
diff options
context:
space:
mode:
authorYinbo Zhu <zhuyinbo@loongson.cn>2022-11-11 13:42:00 +0800
committerArnd Bergmann <arnd@arndb.de>2022-11-14 16:01:32 +0100
commitb82621ac8450d0de7570506c59f298dbf99ded64 (patch)
tree4abca6ba036c3dfdbac66364097c2668dbd2243a /drivers/soc/Kconfig
parent4c1c97fc70e44aa39cd409e952eba3ed35c429fd (diff)
downloadlinux-b82621ac8450d0de7570506c59f298dbf99ded64.tar.gz
linux-b82621ac8450d0de7570506c59f298dbf99ded64.tar.bz2
linux-b82621ac8450d0de7570506c59f298dbf99ded64.zip
soc: loongson: add GUTS driver for loongson-2 platforms
The global utilities block controls PCIE device enabling, alternate function selection for multiplexed signals, consistency of HDA, USB and PCIE, configuration of memory controller, rtc controller, lio controller, and clock control. This patch adds a driver to manage and access global utilities block for LoongArch architecture Loongson-2 SoCs. Initially only reading SVR and registering soc device are supported. Other guts accesses, such as reading firmware configuration by default, should eventually be added into this driver as well. Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
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 e461c071189b..5dbb09f843f7 100644
--- a/drivers/soc/Kconfig
+++ b/drivers/soc/Kconfig
@@ -13,6 +13,7 @@ source "drivers/soc/fujitsu/Kconfig"
source "drivers/soc/imx/Kconfig"
source "drivers/soc/ixp4xx/Kconfig"
source "drivers/soc/litex/Kconfig"
+source "drivers/soc/loongson/Kconfig"
source "drivers/soc/mediatek/Kconfig"
source "drivers/soc/microchip/Kconfig"
source "drivers/soc/pxa/Kconfig"