1#
2# LoongArch Platform Specific Drivers
3#
4
5menuconfig LOONGARCH_PLATFORM_DEVICES
6	bool "LoongArch Platform Specific Device Drivers"
7	default y
8	depends on LOONGARCH
9	help
10	  Say Y here to get to see options for device drivers of various
11	  LoongArch platforms, including vendor-specific laptop/desktop
12	  extension and hardware monitor drivers. This option itself does
13	  not add any kernel code.
14
15	  If you say N, all options in this submenu will be skipped and disabled.
16
17if LOONGARCH_PLATFORM_DEVICES
18
19config LOONGSON_LAPTOP
20	tristate "Generic Loongson-3 Laptop Driver"
21	depends on ACPI
22	depends on BACKLIGHT_CLASS_DEVICE
23	depends on INPUT
24	depends on MACH_LOONGSON64
25	select ACPI_VIDEO
26	select INPUT_SPARSEKMAP
27	default y
28	help
29	  ACPI-based Loongson-3 family laptops generic driver.
30
31endif # LOONGARCH_PLATFORM_DEVICES
32