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