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