summaryrefslogtreecommitdiffstats
path: root/drivers/soc/loongson/Kconfig
blob: 368344943a93c5c08ef93a513a6b84eb4acb48c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: GPL-2.0+
#
# Loongson-2 series SoC drivers
#

config LOONGSON2_GUTS
	tristate "Loongson-2 SoC Global UtiliTieS (GUTS) register block"
	depends on LOONGARCH || COMPILE_TEST
	select SOC_BUS
	help
	 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.

config LOONGSON2_PM
	bool "Loongson-2 SoC Power Management Controller Driver"
	depends on LOONGARCH && OF
	depends on INPUT=y
	help
	  The Loongson-2's power management controller was ACPI, supports ACPI
	  S2Idle (Suspend To Idle), ACPI S3 (Suspend To RAM), ACPI S4 (Suspend To
	  Disk), ACPI S5 (Soft Shutdown) and supports multiple wake-up methods
	  (USB, GMAC, PWRBTN, etc.). This driver was to add power management
	  controller support that base on dts for Loongson-2 series SoCs.