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 CPU_HWMON
20	bool "Loongson CPU HWMon Driver"
21	depends on MACH_LOONGSON64
22	select HWMON
23	default y
24	help
25	  Loongson-3A/3B/3C CPU Hwmon (temperature sensor) driver.
26
27config LOONGSON_LAPTOP
28	tristate "Generic Loongson-3A Laptop Driver"
29	depends on ACPI
30	depends on BACKLIGHT_CLASS_DEVICE
31	depends on INPUT
32	depends on MACH_LOONGSON64
33	select INPUT_SPARSEKMAP
34	default y
35	help
36	  ACPI-based Loongson-3 family laptops generic driver.
37
38endif # LOONGARCH_PLATFORM_DEVICES
39