diff options
author | Yinbo Zhu <zhuyinbo@loongson.cn> | 2022-11-11 13:42:00 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-11-14 16:01:32 +0100 |
commit | b82621ac8450d0de7570506c59f298dbf99ded64 (patch) | |
tree | 4abca6ba036c3dfdbac66364097c2668dbd2243a /drivers/soc/Makefile | |
parent | 4c1c97fc70e44aa39cd409e952eba3ed35c429fd (diff) | |
download | lwn-b82621ac8450d0de7570506c59f298dbf99ded64.tar.gz lwn-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/Makefile')
-rw-r--r-- | drivers/soc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 69ba6508cf2c..fff513bd522d 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -18,6 +18,7 @@ obj-y += imx/ obj-y += ixp4xx/ obj-$(CONFIG_SOC_XWAY) += lantiq/ obj-$(CONFIG_LITEX_SOC_CONTROLLER) += litex/ +obj-y += loongson/ obj-y += mediatek/ obj-y += microchip/ obj-y += pxa/ |