brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 3683449 Raw
30 lines · plain
1# SPDX-License-Identifier: GPL-2.0+2#3# Loongson-2 series SoC drivers4#5 6config LOONGSON2_GUTS7	tristate "Loongson-2 SoC Global UtiliTieS (GUTS) register block"8	depends on LOONGARCH || COMPILE_TEST9	select SOC_BUS10	help11	 The global utilities block controls PCIE device enabling, alternate12	 function selection for multiplexed signals, consistency of HDA, USB13	 and PCIE, configuration of memory controller, rtc controller, lio14	 controller, and clock control. This patch adds a driver to manage15	 and access global utilities block for LoongArch architecture Loongson-216	 SoCs. Initially only reading SVR and registering soc device are17	 supported. Other guts accesses, such as reading firmware configuration18	 by default, should eventually be added into this driver as well.19 20config LOONGSON2_PM21	bool "Loongson-2 SoC Power Management Controller Driver"22	depends on LOONGARCH && OF23	depends on INPUT=y24	help25	  The Loongson-2's power management controller was ACPI, supports ACPI26	  S2Idle (Suspend To Idle), ACPI S3 (Suspend To RAM), ACPI S4 (Suspend To27	  Disk), ACPI S5 (Soft Shutdown) and supports multiple wake-up methods28	  (USB, GMAC, PWRBTN, etc.). This driver was to add power management29	  controller support that base on dts for Loongson-2 series SoCs.30