drivers/platform/x86/lenovo/Kconfig

Source file repositories/reference/linux-study-clean/drivers/platform/x86/lenovo/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/lenovo/Kconfig
Extension
[no extension]
Size
9095 bytes
Lines
277
Domain
Driver Families
Bucket
drivers/platform
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# Lenovo X86 Platform Specific Drivers
#

config IDEAPAD_LAPTOP
	tristate "Lenovo IdeaPad Laptop Extras"
	depends on ACPI
	depends on ACPI_BATTERY
	depends on RFKILL && INPUT
	depends on SERIO_I8042
	depends on BACKLIGHT_CLASS_DEVICE
	depends on ACPI_VIDEO || ACPI_VIDEO = n
	depends on ACPI_WMI || ACPI_WMI = n
	select ACPI_PLATFORM_PROFILE
	select INPUT_SPARSEKMAP
	select NEW_LEDS
	select LEDS_CLASS
	help
	  This is a driver for Lenovo IdeaPad netbooks contains drivers for
	  rfkill switch, hotkey, fan control and backlight control.

config LENOVO_WMI_HOTKEY_UTILITIES
	tristate "Lenovo Hotkey Utility WMI extras driver"
	depends on ACPI_WMI
	select NEW_LEDS
	select LEDS_CLASS
	imply IDEAPAD_LAPTOP
	help
	  This driver provides WMI support for Lenovo customized hotkeys function,
	  such as LED control for audio/mic mute event for Ideapad, YOGA, XiaoXin,
	  Gaming, ThinkBook and so on.

config LENOVO_WMI_CAMERA
	tristate "Lenovo WMI Camera Button driver"
	depends on ACPI_WMI
	depends on INPUT
	help
	  This driver provides support for Lenovo camera button. The Camera
	  button is a GPIO device. This driver receives ACPI notifications when
	  the camera button is switched on/off.

	  To compile this driver as a module, choose M here: the module
	  will be called lenovo-wmi-camera.

config LENOVO_YMC
	tristate "Lenovo Yoga Tablet Mode Control"
	depends on ACPI_WMI
	depends on INPUT
	depends on IDEAPAD_LAPTOP
	select INPUT_SPARSEKMAP
	help
	  This driver maps the Tablet Mode Control switch to SW_TABLET_MODE input
	  events for Lenovo Yoga notebooks.

config THINKPAD_ACPI
	tristate "ThinkPad ACPI Laptop Extras"
	depends on ACPI_EC
	depends on ACPI_BATTERY
	depends on INPUT
	depends on RFKILL || RFKILL = n
	depends on ACPI_VIDEO || ACPI_VIDEO = n
	depends on BACKLIGHT_CLASS_DEVICE
	depends on I2C
	depends on DRM
	select ACPI_PLATFORM_PROFILE
	select DRM_PRIVACY_SCREEN
	select HWMON
	select NVRAM
	select NEW_LEDS

Annotation

Implementation Notes