xref: /openbmc/linux/drivers/soc/loongson/Kconfig (revision 2579af94)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# Loongson-2 series SoC drivers
4#
5
6config LOONGSON2_GUTS
7	tristate "Loongson-2 SoC Global UtiliTieS (GUTS) register block"
8	depends on LOONGARCH || COMPILE_TEST
9	select SOC_BUS
10	help
11	 The global utilities block controls PCIE device enabling, alternate
12	 function selection for multiplexed signals, consistency of HDA, USB
13	 and PCIE, configuration of memory controller, rtc controller, lio
14	 controller, and clock control. This patch adds a driver to manage
15	 and access global utilities block for LoongArch architecture Loongson-2
16	 SoCs. Initially only reading SVR and registering soc device are
17	 supported. Other guts accesses, such as reading firmware configuration
18	 by default, should eventually be added into this driver as well.
19