summaryrefslogtreecommitdiff
path: root/drivers/platform/mips/Kconfig
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-04-20 21:45:26 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-20 19:36:40 +0200
commit0cfd2440aa03ea3d4b04cc2565561cecadcb1257 (patch)
tree975f983b42ccc7f0a9278eb02854db3ba9805eb6 /drivers/platform/mips/Kconfig
parenta746f50d69bf1cb13b17c1d0855471dc4c9fbd4f (diff)
MIPS: Loongson64: Make RS780E ACPI as a platform driver
Make RS780E ACPI as a platform driver so we can enable it by DeviceTree selectively. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/platform/mips/Kconfig')
-rw-r--r--drivers/platform/mips/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig
index 5e77b0dc5fd6..8ac149173c64 100644
--- a/drivers/platform/mips/Kconfig
+++ b/drivers/platform/mips/Kconfig
@@ -24,4 +24,10 @@ config CPU_HWMON
help
Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
+config RS780E_ACPI
+ bool "Loongson RS780E ACPI Controller"
+ depends on MACH_LOONGSON64 || COMPILE_TEST
+ help
+ Loongson RS780E PCH ACPI Controller driver.
+
endif # MIPS_PLATFORM_DEVICES