18c2ecf20Sopenharmony_ci#
28c2ecf20Sopenharmony_ci# LoongArch Platform Specific Drivers
38c2ecf20Sopenharmony_ci#
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cimenuconfig LOONGARCH_PLATFORM_DEVICES
68c2ecf20Sopenharmony_ci	bool "LoongArch Platform Specific Device Drivers"
78c2ecf20Sopenharmony_ci	default y
88c2ecf20Sopenharmony_ci	depends on LOONGARCH
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Say Y here to get to see options for device drivers of various
118c2ecf20Sopenharmony_ci	  LoongArch platforms, including vendor-specific laptop/desktop
128c2ecf20Sopenharmony_ci	  extension and hardware monitor drivers. This option itself does
138c2ecf20Sopenharmony_ci	  not add any kernel code.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci	  If you say N, all options in this submenu will be skipped and disabled.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciif LOONGARCH_PLATFORM_DEVICES
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig CPU_HWMON
208c2ecf20Sopenharmony_ci	bool "Loongson CPU HWMon Driver"
218c2ecf20Sopenharmony_ci	depends on MACH_LOONGSON64
228c2ecf20Sopenharmony_ci	select HWMON
238c2ecf20Sopenharmony_ci	default y
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Loongson-3A/3B/3C CPU Hwmon (temperature sensor) driver.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig LOONGSON_LAPTOP
288c2ecf20Sopenharmony_ci	tristate "Generic Loongson-3A Laptop Driver"
298c2ecf20Sopenharmony_ci	depends on ACPI
308c2ecf20Sopenharmony_ci	depends on BACKLIGHT_CLASS_DEVICE
318c2ecf20Sopenharmony_ci	depends on INPUT
328c2ecf20Sopenharmony_ci	depends on MACH_LOONGSON64
338c2ecf20Sopenharmony_ci	select INPUT_SPARSEKMAP
348c2ecf20Sopenharmony_ci	default y
358c2ecf20Sopenharmony_ci	help
368c2ecf20Sopenharmony_ci	  ACPI-based Loongson-3 family laptops generic driver.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciendif # LOONGARCH_PLATFORM_DEVICES
39