xref: /openbmc/linux/drivers/platform/x86/Kconfig (revision c2138b25)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
241b16dceSLen Brown#
341b16dceSLen Brown# X86 Platform Specific Drivers
441b16dceSLen Brown#
541b16dceSLen Brown
641b16dceSLen Brownmenuconfig X86_PLATFORM_DEVICES
741b16dceSLen Brown	bool "X86 Platform Specific Device Drivers"
841b16dceSLen Brown	default y
9a00cd11bSJan Engelhardt	depends on X86
10a7f7f624SMasahiro Yamada	help
1141b16dceSLen Brown	  Say Y here to get to see options for device drivers for various
1241b16dceSLen Brown	  x86 platforms, including vendor-specific laptop extension drivers.
1341b16dceSLen Brown	  This option alone does not add any kernel code.
1441b16dceSLen Brown
1541b16dceSLen Brown	  If you say N, all options in this submenu will be skipped and disabled.
1641b16dceSLen Brown
1741b16dceSLen Brownif X86_PLATFORM_DEVICES
1841b16dceSLen Brown
1945a3d578SAndy Shevchenkoconfig ACPI_WMI
2045a3d578SAndy Shevchenko	tristate "WMI"
2141b16dceSLen Brown	depends on ACPI
2245a3d578SAndy Shevchenko	help
2345a3d578SAndy Shevchenko	  This driver adds support for the ACPI-WMI (Windows Management
2445a3d578SAndy Shevchenko	  Instrumentation) mapper device (PNP0C14) found on some systems.
2545a3d578SAndy Shevchenko
2645a3d578SAndy Shevchenko	  ACPI-WMI is a proprietary extension to ACPI to expose parts of the
2745a3d578SAndy Shevchenko	  ACPI firmware to userspace - this is done through various vendor
2845a3d578SAndy Shevchenko	  defined methods and data blocks in a PNP0C14 device, which are then
2945a3d578SAndy Shevchenko	  made available for userspace to call.
3045a3d578SAndy Shevchenko
3145a3d578SAndy Shevchenko	  The implementation of this in Linux currently only exposes this to
3245a3d578SAndy Shevchenko	  other kernel space drivers.
3345a3d578SAndy Shevchenko
3445a3d578SAndy Shevchenko	  This driver is a required dependency to build the firmware specific
3545a3d578SAndy Shevchenko	  drivers needed on many machines, including Acer and HP laptops.
3645a3d578SAndy Shevchenko
3745a3d578SAndy Shevchenko	  It is safe to enable this driver even if your DSDT doesn't define
3845a3d578SAndy Shevchenko	  any ACPI-WMI devices.
3945a3d578SAndy Shevchenko
4045a3d578SAndy Shevchenkoconfig WMI_BMOF
4145a3d578SAndy Shevchenko	tristate "WMI embedded Binary MOF driver"
42e98062edSSedat Dilek	depends on ACPI_WMI
4345a3d578SAndy Shevchenko	default ACPI_WMI
44a7f7f624SMasahiro Yamada	help
4545a3d578SAndy Shevchenko	  Say Y here if you want to be able to read a firmware-embedded
4645a3d578SAndy Shevchenko	  WMI Binary MOF data. Using this requires userspace tools and may be
4745a3d578SAndy Shevchenko	  rather tedious.
4841b16dceSLen Brown
4945a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module will
5045a3d578SAndy Shevchenko	  be called wmi-bmof.
5141b16dceSLen Brown
5245a3d578SAndy Shevchenkoconfig HUAWEI_WMI
5345a3d578SAndy Shevchenko	tristate "Huawei WMI laptop extras driver"
5445a3d578SAndy Shevchenko	depends on ACPI_BATTERY
5545a3d578SAndy Shevchenko	depends on ACPI_WMI
5645a3d578SAndy Shevchenko	depends on INPUT
5745a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
5845a3d578SAndy Shevchenko	select LEDS_CLASS
5945a3d578SAndy Shevchenko	select LEDS_TRIGGERS
6045a3d578SAndy Shevchenko	select LEDS_TRIGGER_AUDIO
6145a3d578SAndy Shevchenko	select NEW_LEDS
6245a3d578SAndy Shevchenko	help
6345a3d578SAndy Shevchenko	  This driver provides support for Huawei WMI hotkeys, battery charge
6445a3d578SAndy Shevchenko	  control, fn-lock, mic-mute LED, and other extra features.
6575971febSChris Chiu
6645a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module
6745a3d578SAndy Shevchenko	  will be called huawei-wmi.
6845a3d578SAndy Shevchenko
694fc2cf1fSJustin Ernstconfig UV_SYSFS
704fc2cf1fSJustin Ernst	tristate "Sysfs structure for UV systems"
714fc2cf1fSJustin Ernst	depends on X86_UV
724fc2cf1fSJustin Ernst	depends on SYSFS
734fc2cf1fSJustin Ernst	help
744fc2cf1fSJustin Ernst	  This driver supports a sysfs tree describing information about
754fc2cf1fSJustin Ernst	  UV systems at /sys/firmware/sgi_uv/.
764fc2cf1fSJustin Ernst
774fc2cf1fSJustin Ernst	  To compile this driver as a module, choose M here: the module will
784fc2cf1fSJustin Ernst	  be called uv_sysfs.
794fc2cf1fSJustin Ernst
8045a3d578SAndy Shevchenkoconfig MXM_WMI
8145a3d578SAndy Shevchenko       tristate "WMI support for MXM Laptop Graphics"
8245a3d578SAndy Shevchenko       depends on ACPI_WMI
83a7f7f624SMasahiro Yamada	help
8445a3d578SAndy Shevchenko          MXM is a standard for laptop graphics cards, the WMI interface
8545a3d578SAndy Shevchenko	  is required for switchable nvidia graphics machines
8645a3d578SAndy Shevchenko
8745a3d578SAndy Shevchenkoconfig PEAQ_WMI
8845a3d578SAndy Shevchenko	tristate "PEAQ 2-in-1 WMI hotkey driver"
8945a3d578SAndy Shevchenko	depends on ACPI_WMI
9045a3d578SAndy Shevchenko	depends on INPUT
9145a3d578SAndy Shevchenko	help
9245a3d578SAndy Shevchenko	 Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s.
9345a3d578SAndy Shevchenko
94ca16d33bSDaniel Dadapconfig NVIDIA_WMI_EC_BACKLIGHT
95ca16d33bSDaniel Dadap	tristate "EC Backlight Driver for Hybrid Graphics Notebook Systems"
96ad62cd93SDaniel Dadap	depends on ACPI_WMI
97ad62cd93SDaniel Dadap	depends on BACKLIGHT_CLASS_DEVICE
98ad62cd93SDaniel Dadap	help
99ca16d33bSDaniel Dadap	  This driver provides a sysfs backlight interface for notebook systems
100ca16d33bSDaniel Dadap	  which are equipped with NVIDIA hybrid graphics and drive LCD backlight
101ca16d33bSDaniel Dadap	  levels through the Embedded Controller (EC).
102ad62cd93SDaniel Dadap
103ad62cd93SDaniel Dadap	  Say Y or M here if you want to control the backlight on a notebook
104ca16d33bSDaniel Dadap	  system with an EC-driven backlight.
105ad62cd93SDaniel Dadap
106ad62cd93SDaniel Dadap	  If you choose to compile this driver as a module the module will be
107ca16d33bSDaniel Dadap	  called nvidia-wmi-ec-backlight.
108ad62cd93SDaniel Dadap
10945a3d578SAndy Shevchenkoconfig XIAOMI_WMI
11045a3d578SAndy Shevchenko	tristate "Xiaomi WMI key driver"
11145a3d578SAndy Shevchenko	depends on ACPI_WMI
11245a3d578SAndy Shevchenko	depends on INPUT
11345a3d578SAndy Shevchenko	help
11445a3d578SAndy Shevchenko	  Say Y here if you want to support WMI-based keys on Xiaomi notebooks.
11545a3d578SAndy Shevchenko
11645a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module will
11745a3d578SAndy Shevchenko	  be called xiaomi-wmi.
11875971febSChris Chiu
11957293197SThomas Weißschuhconfig GIGABYTE_WMI
12057293197SThomas Weißschuh	tristate "Gigabyte WMI temperature driver"
12157293197SThomas Weißschuh	depends on ACPI_WMI
12257293197SThomas Weißschuh	depends on HWMON
12357293197SThomas Weißschuh	help
12457293197SThomas Weißschuh	  Say Y here if you want to support WMI-based temperature reporting on
12557293197SThomas Weißschuh	  Gigabyte mainboards.
12657293197SThomas Weißschuh
12757293197SThomas Weißschuh	  To compile this driver as a module, choose M here: the module will
12857293197SThomas Weißschuh	  be called gigabyte-wmi.
12957293197SThomas Weißschuh
130c0549b72SYauhen Kharuzhyconfig YOGABOOK_WMI
131c0549b72SYauhen Kharuzhy	tristate "Lenovo Yoga Book tablet WMI key driver"
132c0549b72SYauhen Kharuzhy	depends on ACPI_WMI
133c0549b72SYauhen Kharuzhy	depends on INPUT
134c0549b72SYauhen Kharuzhy	select LEDS_CLASS
135c0549b72SYauhen Kharuzhy	select NEW_LEDS
136c0549b72SYauhen Kharuzhy	help
137c0549b72SYauhen Kharuzhy	  Say Y here if you want to support the 'Pen' key and keyboard backlight
138c0549b72SYauhen Kharuzhy	  control on the Lenovo Yoga Book tablets.
139c0549b72SYauhen Kharuzhy
140c0549b72SYauhen Kharuzhy	  To compile this driver as a module, choose M here: the module will
141c0549b72SYauhen Kharuzhy	  be called lenovo-yogabook-wmi.
142c0549b72SYauhen Kharuzhy
143e86435ebSPeter Feuererconfig ACERHDF
144e86435ebSPeter Feuerer	tristate "Acer Aspire One temperature and fan driver"
145200db647SRandy Dunlap	depends on ACPI && THERMAL
14648c8dd64SPeter Feuerer	select THERMAL_GOV_BANG_BANG
147a7f7f624SMasahiro Yamada	help
148e86435ebSPeter Feuerer	  This is a driver for Acer Aspire One netbooks. It allows to access
149e86435ebSPeter Feuerer	  the temperature sensor and to control the fan.
150e86435ebSPeter Feuerer
151e86435ebSPeter Feuerer	  After loading this driver the BIOS is still in control of the fan.
152e86435ebSPeter Feuerer	  To let the kernel handle the fan, do:
15314c20688SPaul Gortmaker	  echo -n enabled > /sys/class/thermal/thermal_zoneN/mode
15414c20688SPaul Gortmaker	  where N=0,1,2... depending on the number of thermal nodes and the
15514c20688SPaul Gortmaker	  detection order of your particular system.  The "type" parameter
15614c20688SPaul Gortmaker	  in the same node directory will tell you if it is "acerhdf".
157e86435ebSPeter Feuerer
158e86435ebSPeter Feuerer	  For more information about this driver see
15978d15eeaSAlexander A. Klimov	  <https://piie.net/files/acerhdf_README.txt>
160e86435ebSPeter Feuerer
161e86435ebSPeter Feuerer	  If you have an Acer Aspire One netbook, say Y or M
162e86435ebSPeter Feuerer	  here.
163e86435ebSPeter Feuerer
16445a3d578SAndy Shevchenkoconfig ACER_WIRELESS
16545a3d578SAndy Shevchenko        tristate "Acer Wireless Radio Control Driver"
166a46ad0f1SMario Limonciello        depends on ACPI
16745a3d578SAndy Shevchenko        depends on INPUT
168a7f7f624SMasahiro Yamada	help
16945a3d578SAndy Shevchenko          The Acer Wireless Radio Control handles the airplane mode hotkey
17045a3d578SAndy Shevchenko          present on new Acer laptops.
17145a3d578SAndy Shevchenko
17245a3d578SAndy Shevchenko          Say Y or M here if you have an Acer notebook with an airplane mode
17345a3d578SAndy Shevchenko          hotkey.
17445a3d578SAndy Shevchenko
17545a3d578SAndy Shevchenko          If you choose to compile this driver as a module the module will be
17645a3d578SAndy Shevchenko          called acer-wireless.
17745a3d578SAndy Shevchenko
17845a3d578SAndy Shevchenkoconfig ACER_WMI
17945a3d578SAndy Shevchenko	tristate "Acer WMI Laptop Extras"
18045a3d578SAndy Shevchenko	depends on ACPI
18145a3d578SAndy Shevchenko	select LEDS_CLASS
18245a3d578SAndy Shevchenko	select NEW_LEDS
18345a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
18445a3d578SAndy Shevchenko	depends on SERIO_I8042
18545a3d578SAndy Shevchenko	depends on INPUT
18645a3d578SAndy Shevchenko	depends on RFKILL || RFKILL = n
18745a3d578SAndy Shevchenko	depends on ACPI_WMI
18845a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
18945a3d578SAndy Shevchenko	# Acer WMI depends on ACPI_VIDEO when ACPI is enabled
19045a3d578SAndy Shevchenko        select ACPI_VIDEO if ACPI
191a7f7f624SMasahiro Yamada	help
19245a3d578SAndy Shevchenko	  This is a driver for newer Acer (and Wistron) laptops. It adds
19345a3d578SAndy Shevchenko	  wireless radio and bluetooth control, and on some laptops,
19445a3d578SAndy Shevchenko	  exposes the mail LED and LCD backlight.
19545a3d578SAndy Shevchenko
19645a3d578SAndy Shevchenko	  If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
19745a3d578SAndy Shevchenko	  here.
19845a3d578SAndy Shevchenko
199156ec473SShyam Sundar S Kconfig AMD_PMC
200156ec473SShyam Sundar S K	tristate "AMD SoC PMC driver"
201707f0c29SHans de Goede	depends on ACPI && PCI && RTC_CLASS
202156ec473SShyam Sundar S K	help
203156ec473SShyam Sundar S K	  The driver provides support for AMD Power Management Controller
204156ec473SShyam Sundar S K	  primarily responsible for S2Idle transactions that are driven from
205156ec473SShyam Sundar S K	  a platform firmware running on SMU. This driver also provides a debug
206156ec473SShyam Sundar S K	  mechanism to investigate the S2Idle transactions and failures.
207156ec473SShyam Sundar S K
208156ec473SShyam Sundar S K	  Say Y or M here if you have a notebook powered by AMD RYZEN CPU/APU.
209156ec473SShyam Sundar S K
210156ec473SShyam Sundar S K	  If you choose to compile this driver as a module the module will be
211156ec473SShyam Sundar S K	  called amd-pmc.
212156ec473SShyam Sundar S K
2133d904005SAndrea.Hoconfig ADV_SWBUTTON
2143d904005SAndrea.Ho	tristate "Advantech ACPI Software Button Driver"
2153d904005SAndrea.Ho	depends on ACPI && INPUT
2163d904005SAndrea.Ho	help
2173d904005SAndrea.Ho	  Say Y here to enable support for Advantech software defined
2183d904005SAndrea.Ho	  button feature. More information can be found at
2193d904005SAndrea.Ho	  <http://www.advantech.com.tw/products/>
2203d904005SAndrea.Ho
2213d904005SAndrea.Ho	  To compile this driver as a module, choose M here. The module will
2223d904005SAndrea.Ho	  be called adv_swbutton.
2233d904005SAndrea.Ho
22445a3d578SAndy Shevchenkoconfig APPLE_GMUX
22545a3d578SAndy Shevchenko	tristate "Apple Gmux Driver"
22645a3d578SAndy Shevchenko	depends on ACPI && PCI
22745a3d578SAndy Shevchenko	depends on PNP
22845a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
22945a3d578SAndy Shevchenko	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
23045a3d578SAndy Shevchenko	depends on ACPI_VIDEO=n || ACPI_VIDEO
231a7f7f624SMasahiro Yamada	help
23245a3d578SAndy Shevchenko	  This driver provides support for the gmux device found on many
23345a3d578SAndy Shevchenko	  Apple laptops, which controls the display mux for the hybrid
23445a3d578SAndy Shevchenko	  graphics as well as the backlight. Currently only backlight
23545a3d578SAndy Shevchenko	  control is supported by the driver.
236a46ad0f1SMario Limonciello
23741b16dceSLen Brownconfig ASUS_LAPTOP
2386122af37SCorentin Chary	tristate "Asus Laptop Extras"
23941b16dceSLen Brown	depends on ACPI
240e73e2c62SCorentin Chary	select LEDS_CLASS
241e73e2c62SCorentin Chary	select NEW_LEDS
24214ca7a47SHans de Goede	depends on BACKLIGHT_CLASS_DEVICE
24312d6f35bSCorentin Chary	depends on INPUT
24418e1311eSCorentin Chary	depends on RFKILL || RFKILL = n
24514ca7a47SHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
24666a71dd1SCorentin Chary	select INPUT_SPARSEKMAP
247a7f7f624SMasahiro Yamada	help
2488819de7fSAndy Ross	  This is a driver for Asus laptops, Lenovo SL and the Pegatron
2498819de7fSAndy Ross	  Lucid tablet. It may also support some MEDION, JVC or VICTOR
2508819de7fSAndy Ross	  laptops. It makes all the extra buttons generate standard
251b23910c2SAndy Ross	  ACPI events and input events, and on the Lucid the built-in
252b23910c2SAndy Ross	  accelerometer appears as an input device.  It also adds
253b23910c2SAndy Ross	  support for video output switching, LCD backlight control,
254b23910c2SAndy Ross	  Bluetooth and Wlan control, and most importantly, allows you
255b23910c2SAndy Ross	  to blink those fancy LEDs.
25641b16dceSLen Brown
2578819de7fSAndy Ross	  For more information see <http://acpi4asus.sf.net>.
25841b16dceSLen Brown
25941b16dceSLen Brown	  If you have an ACPI-compatible ASUS laptop, say Y or M here.
26041b16dceSLen Brown
26145a3d578SAndy Shevchenkoconfig ASUS_WIRELESS
26245a3d578SAndy Shevchenko	tristate "Asus Wireless Radio Control Driver"
26345a3d578SAndy Shevchenko	depends on ACPI
26445a3d578SAndy Shevchenko	depends on INPUT
26545a3d578SAndy Shevchenko	select NEW_LEDS
26645a3d578SAndy Shevchenko	select LEDS_CLASS
267a7f7f624SMasahiro Yamada	help
26845a3d578SAndy Shevchenko	  The Asus Wireless Radio Control handles the airplane mode hotkey
26945a3d578SAndy Shevchenko	  present on some Asus laptops.
27045a3d578SAndy Shevchenko
27145a3d578SAndy Shevchenko	  Say Y or M here if you have an ASUS notebook with an airplane mode
27245a3d578SAndy Shevchenko	  hotkey.
27345a3d578SAndy Shevchenko
27445a3d578SAndy Shevchenko	  If you choose to compile this driver as a module the module will be
27545a3d578SAndy Shevchenko	  called asus-wireless.
27645a3d578SAndy Shevchenko
27745a3d578SAndy Shevchenkoconfig ASUS_WMI
27845a3d578SAndy Shevchenko	tristate "ASUS WMI Driver"
27945a3d578SAndy Shevchenko	depends on ACPI_WMI
28045a3d578SAndy Shevchenko	depends on ACPI_BATTERY
28145a3d578SAndy Shevchenko	depends on INPUT
28245a3d578SAndy Shevchenko	depends on HWMON
28345a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
28445a3d578SAndy Shevchenko	depends on RFKILL || RFKILL = n
28545a3d578SAndy Shevchenko	depends on HOTPLUG_PCI
28645a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
28745a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
28845a3d578SAndy Shevchenko	select LEDS_CLASS
28945a3d578SAndy Shevchenko	select NEW_LEDS
290c63d44aeSLuke D. Jones	select ACPI_PLATFORM_PROFILE
291a7f7f624SMasahiro Yamada	help
29245a3d578SAndy Shevchenko	  Say Y here if you have a WMI aware Asus laptop (like Eee PCs or new
29345a3d578SAndy Shevchenko	  Asus Notebooks).
29445a3d578SAndy Shevchenko
29545a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module will
29645a3d578SAndy Shevchenko	  be called asus-wmi.
29745a3d578SAndy Shevchenko
29845a3d578SAndy Shevchenkoconfig ASUS_NB_WMI
29945a3d578SAndy Shevchenko	tristate "Asus Notebook WMI Driver"
30045a3d578SAndy Shevchenko	depends on ASUS_WMI
30145a3d578SAndy Shevchenko	depends on SERIO_I8042 || SERIO_I8042 = n
302a7f7f624SMasahiro Yamada	help
30345a3d578SAndy Shevchenko	  This is a driver for newer Asus notebooks. It adds extra features
30445a3d578SAndy Shevchenko	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
30545a3d578SAndy Shevchenko
30645a3d578SAndy Shevchenko	  For more information, see
30745a3d578SAndy Shevchenko	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
30845a3d578SAndy Shevchenko
30945a3d578SAndy Shevchenko	  If you have an ACPI-WMI compatible Asus Notebook, say Y or M
31045a3d578SAndy Shevchenko	  here.
31145a3d578SAndy Shevchenko
312636a1e69SChris Blakeconfig MERAKI_MX100
313636a1e69SChris Blake	tristate "Cisco Meraki MX100 Platform Driver"
314636a1e69SChris Blake	depends on GPIOLIB
315636a1e69SChris Blake	depends on GPIO_ICH
316636a1e69SChris Blake	depends on LEDS_CLASS
317636a1e69SChris Blake	select LEDS_GPIO
318636a1e69SChris Blake	help
319636a1e69SChris Blake	  This driver provides support for the front button and LEDs on
320636a1e69SChris Blake	  the Cisco Meraki MX100 (Tinkerbell) 1U appliance.
321636a1e69SChris Blake
322636a1e69SChris Blake	  To compile this driver as a module, choose M here: the module
323636a1e69SChris Blake	  will be called meraki-mx100.
324636a1e69SChris Blake
32545a3d578SAndy Shevchenkoconfig EEEPC_LAPTOP
32645a3d578SAndy Shevchenko	tristate "Eee PC Hotkey Driver"
32745a3d578SAndy Shevchenko	depends on ACPI
32845a3d578SAndy Shevchenko	depends on INPUT
32945a3d578SAndy Shevchenko	depends on RFKILL || RFKILL = n
33045a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
33145a3d578SAndy Shevchenko	depends on HOTPLUG_PCI
33245a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
33345a3d578SAndy Shevchenko	select HWMON
33445a3d578SAndy Shevchenko	select LEDS_CLASS
33545a3d578SAndy Shevchenko	select NEW_LEDS
33645a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
337a7f7f624SMasahiro Yamada	help
33845a3d578SAndy Shevchenko	  This driver supports the Fn-Fx keys on Eee PC laptops.
33945a3d578SAndy Shevchenko
34045a3d578SAndy Shevchenko	  It  also gives access to some extra laptop functionalities like
34145a3d578SAndy Shevchenko	  Bluetooth, backlight and allows powering on/off some other
34245a3d578SAndy Shevchenko	  devices.
34345a3d578SAndy Shevchenko
34445a3d578SAndy Shevchenko	  If you have an Eee PC laptop, say Y or M here. If this driver
34545a3d578SAndy Shevchenko	  doesn't work on your Eee PC, try eeepc-wmi instead.
34645a3d578SAndy Shevchenko
34745a3d578SAndy Shevchenkoconfig EEEPC_WMI
34845a3d578SAndy Shevchenko	tristate "Eee PC WMI Driver"
34945a3d578SAndy Shevchenko	depends on ASUS_WMI
350a7f7f624SMasahiro Yamada	help
35145a3d578SAndy Shevchenko	  This is a driver for newer Eee PC laptops. It adds extra features
35245a3d578SAndy Shevchenko	  like wireless radio and bluetooth control, leds, hotkeys, backlight...
35345a3d578SAndy Shevchenko
35445a3d578SAndy Shevchenko	  For more information, see
35545a3d578SAndy Shevchenko	  <file:Documentation/ABI/testing/sysfs-platform-asus-wmi>
35645a3d578SAndy Shevchenko
35745a3d578SAndy Shevchenko	  If you have an ACPI-WMI compatible Eee PC laptop (>= 1000), say Y or M
35845a3d578SAndy Shevchenko	  here.
35945a3d578SAndy Shevchenko
360f1e1ea51SMario Limonciellosource "drivers/platform/x86/dell/Kconfig"
3617a3319c1SMichał Kępień
36245a3d578SAndy Shevchenkoconfig AMILO_RFKILL
36345a3d578SAndy Shevchenko	tristate "Fujitsu-Siemens Amilo rfkill support"
364817a5cdbSPali Rohár	depends on RFKILL
36545a3d578SAndy Shevchenko	depends on SERIO_I8042
366a7f7f624SMasahiro Yamada	help
36745a3d578SAndy Shevchenko	  This is a driver for enabling wifi on some Fujitsu-Siemens Amilo
36845a3d578SAndy Shevchenko	  laptops.
369820787fcSColin Ian King
37041b16dceSLen Brownconfig FUJITSU_LAPTOP
37141b16dceSLen Brown	tristate "Fujitsu Laptop Extras"
37241b16dceSLen Brown	depends on ACPI
37341b16dceSLen Brown	depends on INPUT
37441b16dceSLen Brown	depends on BACKLIGHT_CLASS_DEVICE
37514ca7a47SHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
376f2252672SMichał Kępień	select INPUT_SPARSEKMAP
377afdd1ebbSNecip Fazil Yildiran	select NEW_LEDS
378d89bcc83SMichał Kępień	select LEDS_CLASS
379a7f7f624SMasahiro Yamada	help
38041b16dceSLen Brown	  This is a driver for laptops built by Fujitsu:
38141b16dceSLen Brown
38241b16dceSLen Brown	    * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks
38341b16dceSLen Brown	    * Possibly other Fujitsu laptop models
38441b16dceSLen Brown	    * Tested with S6410 and S7020
38541b16dceSLen Brown
38641b16dceSLen Brown	  It adds support for LCD brightness control and some hotkeys.
38741b16dceSLen Brown
38841b16dceSLen Brown	  If you have a Fujitsu laptop, say Y or M here.
38941b16dceSLen Brown
3902d24c490SRobert Gerlachconfig FUJITSU_TABLET
3912d24c490SRobert Gerlach       tristate "Fujitsu Tablet Extras"
3922d24c490SRobert Gerlach       depends on ACPI
3932d24c490SRobert Gerlach       depends on INPUT
394a7f7f624SMasahiro Yamada	help
3952d24c490SRobert Gerlach         This is a driver for tablets built by Fujitsu:
3962d24c490SRobert Gerlach
3972d24c490SRobert Gerlach           * Lifebook P1510/P1610/P1620/Txxxx
3982d24c490SRobert Gerlach           * Stylistic ST5xxx
3992d24c490SRobert Gerlach           * Possibly other Fujitsu tablet models
4002d24c490SRobert Gerlach
4012d24c490SRobert Gerlach         It adds support for the panel buttons, docking station detection,
4022d24c490SRobert Gerlach         tablet/notebook mode detection for convertible and
4032d24c490SRobert Gerlach         orientation detection for docked slates.
4042d24c490SRobert Gerlach
4052d24c490SRobert Gerlach         If you have a Fujitsu convertible or slate, say Y or M here.
4062d24c490SRobert Gerlach
4071b46f17dSHans de Goedeconfig GPD_POCKET_FAN
4081b46f17dSHans de Goede	tristate "GPD Pocket Fan Controller support"
4091b46f17dSHans de Goede	depends on ACPI
4101b46f17dSHans de Goede	depends on THERMAL
411a7f7f624SMasahiro Yamada	help
4121b46f17dSHans de Goede	  Driver for the GPD Pocket vendor specific FAN02501 ACPI device
4131b46f17dSHans de Goede	  which controls the fan speed on the GPD Pocket.
4141b46f17dSHans de Goede
4151b46f17dSHans de Goede	  Without this driver the fan on the Pocket will stay off independent
4161b46f17dSHans de Goede	  of the CPU temperature. Say Y or M if the kernel may be used on a
4171b46f17dSHans de Goede	  GPD pocket.
4181b46f17dSHans de Goede
419efcfed9bSJean Delvareconfig HP_ACCEL
420efcfed9bSJean Delvare	tristate "HP laptop accelerometer"
421efcfed9bSJean Delvare	depends on INPUT && ACPI
4220cdbcd6dSGiedrius Statkevicius	depends on SERIO_I8042
423efcfed9bSJean Delvare	select SENSORS_LIS3LV02D
424efcfed9bSJean Delvare	select NEW_LEDS
425efcfed9bSJean Delvare	select LEDS_CLASS
426efcfed9bSJean Delvare	help
427efcfed9bSJean Delvare	  This driver provides support for the "Mobile Data Protection System 3D"
428efcfed9bSJean Delvare	  or "3D DriveGuard" feature of HP laptops. On such systems the driver
429efcfed9bSJean Delvare	  should load automatically (via ACPI alias).
430efcfed9bSJean Delvare
431efcfed9bSJean Delvare	  Support for a led indicating disk protection will be provided as
432efcfed9bSJean Delvare	  hp::hddprotect. For more information on the feature, refer to
4339b5db89eSMauro Carvalho Chehab	  Documentation/misc-devices/lis3lv02d.rst.
434efcfed9bSJean Delvare
435efcfed9bSJean Delvare	  To compile this driver as a module, choose M here: the module will
436efcfed9bSJean Delvare	  be called hp_accel.
437efcfed9bSJean Delvare
438a558ea42SMario Limoncielloconfig WIRELESS_HOTKEY
439a558ea42SMario Limonciello	tristate "Wireless hotkey button"
44054290fa6SAlex Hung	depends on ACPI
44154290fa6SAlex Hung	depends on INPUT
44254290fa6SAlex Hung	help
443a558ea42SMario Limonciello	 This driver provides supports for the wireless buttons found on some AMD,
444a558ea42SMario Limonciello	 HP, & Xioami laptops.
44554290fa6SAlex Hung	 On such systems the driver should load automatically (via ACPI alias).
44654290fa6SAlex Hung
44754290fa6SAlex Hung	 To compile this driver as a module, choose M here: the module will
448a558ea42SMario Limonciello	 be called wireless-hotkey.
44954290fa6SAlex Hung
45041b16dceSLen Brownconfig HP_WMI
45141b16dceSLen Brown	tristate "HP WMI extras"
45241b16dceSLen Brown	depends on ACPI_WMI
45341b16dceSLen Brown	depends on INPUT
45419d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
4554d291ed7SDmitry Torokhov	select INPUT_SPARSEKMAP
4564296f679SElia Devito	select ACPI_PLATFORM_PROFILE
4574c51ba9aSEnver Balalic	select HWMON
45841b16dceSLen Brown	help
45941b16dceSLen Brown	 Say Y here if you want to support WMI-based hotkeys on HP laptops and
46041b16dceSLen Brown	 to read data from WMI such as docking or ambient light sensor state.
46141b16dceSLen Brown
46241b16dceSLen Brown	 To compile this driver as a module, choose M here: the module will
46341b16dceSLen Brown	 be called hp-wmi.
46441b16dceSLen Brown
46545a3d578SAndy Shevchenkoconfig TC1100_WMI
46645a3d578SAndy Shevchenko	tristate "HP Compaq TC1100 Tablet WMI Extras"
46745a3d578SAndy Shevchenko	depends on !X86_64
468dbf0c5a6SMatan Ziv-Av	depends on ACPI
469dbf0c5a6SMatan Ziv-Av	depends on ACPI_WMI
470a7f7f624SMasahiro Yamada	help
47145a3d578SAndy Shevchenko	  This is a driver for the WMI extensions (wireless and bluetooth power
47245a3d578SAndy Shevchenko	  control) of the HP Compaq TC1100 tablet.
47341b16dceSLen Brown
47445a3d578SAndy Shevchenkoconfig IBM_RTL
47545a3d578SAndy Shevchenko	tristate "Device driver to enable PRTL support"
47645a3d578SAndy Shevchenko	depends on PCI
477a7f7f624SMasahiro Yamada	help
47845a3d578SAndy Shevchenko	 Enable support for IBM Premium Real Time Mode (PRTM).
47945a3d578SAndy Shevchenko	 This module will allow you the enter and exit PRTM in the BIOS via
48045a3d578SAndy Shevchenko	 sysfs on platforms that support this feature.  System in PRTM will
48145a3d578SAndy Shevchenko	 not receive CPU-generated SMIs for recoverable errors.  Use of this
48245a3d578SAndy Shevchenko	 feature without proper support may void your hardware warranty.
48341b16dceSLen Brown
48445a3d578SAndy Shevchenko	 If the proper BIOS support is found the driver will load and create
48545a3d578SAndy Shevchenko	 /sys/devices/system/ibm_rtl/.  The "state" variable will indicate
48645a3d578SAndy Shevchenko	 whether or not the BIOS is in PRTM.
48745a3d578SAndy Shevchenko	 state = 0 (BIOS SMIs on)
48845a3d578SAndy Shevchenko	 state = 1 (BIOS SMIs off)
48941b16dceSLen Brown
49057ac3b05SIke Panhcconfig IDEAPAD_LAPTOP
49157ac3b05SIke Panhc	tristate "Lenovo IdeaPad Laptop Extras"
49258ac7aa0SDavid Woodhouse	depends on ACPI
493ad0f4306SRandy Dunlap	depends on RFKILL && INPUT
49407a4a4fcSMaxim Mikityanskiy	depends on SERIO_I8042
495445e8d00SMatthew Garrett	depends on BACKLIGHT_CLASS_DEVICE
49614ca7a47SHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
49774caab99SArnd Bergmann	depends on ACPI_WMI || ACPI_WMI = n
49821f05a43SMaximilian Luz	select ACPI_PLATFORM_PROFILE
499f63409aeSIke Panhc	select INPUT_SPARSEKMAP
500d8f5c5eaSBarnabás Pőcze	select NEW_LEDS
501d8f5c5eaSBarnabás Pőcze	select LEDS_CLASS
50258ac7aa0SDavid Woodhouse	help
50316fd91e0SIke Panhc	  This is a driver for Lenovo IdeaPad netbooks contains drivers for
50416fd91e0SIke Panhc	  rfkill switch, hotkey, fan control and backlight control.
50558ac7aa0SDavid Woodhouse
50645a3d578SAndy Shevchenkoconfig SENSORS_HDAPS
50745a3d578SAndy Shevchenko	tristate "Thinkpad Hard Drive Active Protection System (hdaps)"
5083dda3b37SBenjamin Tissoires	depends on INPUT
50945a3d578SAndy Shevchenko	help
51045a3d578SAndy Shevchenko	  This driver provides support for the IBM Hard Drive Active Protection
51145a3d578SAndy Shevchenko	  System (hdaps), which provides an accelerometer and other misc. data.
51245a3d578SAndy Shevchenko	  ThinkPads starting with the R50, T41, and X40 are supported.  The
51345a3d578SAndy Shevchenko	  accelerometer data is readable via sysfs.
5143dda3b37SBenjamin Tissoires
51545a3d578SAndy Shevchenko	  This driver also provides an absolute input class device, allowing
51645a3d578SAndy Shevchenko	  the laptop to act as a pinball machine-esque joystick.
51745a3d578SAndy Shevchenko
51845a3d578SAndy Shevchenko	  If your ThinkPad is not recognized by the driver, please update to latest
51945a3d578SAndy Shevchenko	  BIOS. This is especially the case for some R52 ThinkPads.
52045a3d578SAndy Shevchenko
52145a3d578SAndy Shevchenko	  Say Y here if you have an applicable laptop and want to experience
52245a3d578SAndy Shevchenko	  the awesome power of hdaps.
5233dda3b37SBenjamin Tissoires
52441b16dceSLen Brownconfig THINKPAD_ACPI
52541b16dceSLen Brown	tristate "ThinkPad ACPI Laptop Extras"
52641b16dceSLen Brown	depends on ACPI
5272801b968SOgnjen Galic	depends on ACPI_BATTERY
528d263da31SCorentin Chary	depends on INPUT
52919d337dfSJohannes Berg	depends on RFKILL || RFKILL = n
53014ca7a47SHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
53114ca7a47SHans de Goede	depends on BACKLIGHT_CLASS_DEVICE
532153cca9cSHans de Goede	depends on I2C
53321f05a43SMaximilian Luz	select ACPI_PLATFORM_PROFILE
53441b16dceSLen Brown	select HWMON
53541b16dceSLen Brown	select NVRAM
53641b16dceSLen Brown	select NEW_LEDS
53741b16dceSLen Brown	select LEDS_CLASS
5384e1d0924STakashi Iwai	select LEDS_TRIGGERS
5394e1d0924STakashi Iwai	select LEDS_TRIGGER_AUDIO
540a7f7f624SMasahiro Yamada	help
54141b16dceSLen Brown	  This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
54241b16dceSLen Brown	  support for Fn-Fx key combinations, Bluetooth control, video
54341b16dceSLen Brown	  output switching, ThinkLight control, UltraBay eject and more.
54441b16dceSLen Brown	  For more information about this driver see
5459e1cbedeSMauro Carvalho Chehab	  <file:Documentation/admin-guide/laptops/thinkpad-acpi.rst> and
54641b16dceSLen Brown	  <http://ibm-acpi.sf.net/> .
54741b16dceSLen Brown
54841b16dceSLen Brown	  This driver was formerly known as ibm-acpi.
54941b16dceSLen Brown
5506e5b08eeSHenrique de Moraes Holschuh	  Extra functionality will be available if the rfkill (CONFIG_RFKILL)
5516e5b08eeSHenrique de Moraes Holschuh	  and/or ALSA (CONFIG_SND) subsystems are available in the kernel.
5526e5b08eeSHenrique de Moraes Holschuh	  Note that if you want ThinkPad-ACPI to be built-in instead of
5536e5b08eeSHenrique de Moraes Holschuh	  modular, ALSA and rfkill will also have to be built-in.
5546e5b08eeSHenrique de Moraes Holschuh
55541b16dceSLen Brown	  If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
55641b16dceSLen Brown
557ff850c33SHenrique de Moraes Holschuhconfig THINKPAD_ACPI_ALSA_SUPPORT
558ff850c33SHenrique de Moraes Holschuh	bool "Console audio control ALSA interface"
559ff850c33SHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
560ff850c33SHenrique de Moraes Holschuh	depends on SND
561ff850c33SHenrique de Moraes Holschuh	depends on SND = y || THINKPAD_ACPI = SND
562ff850c33SHenrique de Moraes Holschuh	default y
563a7f7f624SMasahiro Yamada	help
564ff850c33SHenrique de Moraes Holschuh	  Enables monitoring of the built-in console audio output control
565ff850c33SHenrique de Moraes Holschuh	  (headphone and speakers), which is operated by the mute and (in
566ff850c33SHenrique de Moraes Holschuh	  some ThinkPad models) volume hotkeys.
567ff850c33SHenrique de Moraes Holschuh
568ff850c33SHenrique de Moraes Holschuh	  If this option is enabled, ThinkPad-ACPI will export an ALSA card
569ff850c33SHenrique de Moraes Holschuh	  with a single read-only mixer control, which should be used for
570ff850c33SHenrique de Moraes Holschuh	  on-screen-display feedback purposes by the Desktop Environment.
571ff850c33SHenrique de Moraes Holschuh
572ff850c33SHenrique de Moraes Holschuh	  Optionally, the driver will also allow software control (the
573ff850c33SHenrique de Moraes Holschuh	  ALSA mixer will be made read-write).  Please refer to the driver
574ff850c33SHenrique de Moraes Holschuh	  documentation for details.
575ff850c33SHenrique de Moraes Holschuh
576ff850c33SHenrique de Moraes Holschuh	  All IBM models have both volume and mute control.  Newer Lenovo
577ff850c33SHenrique de Moraes Holschuh	  models only have mute control (the volume hotkeys are just normal
578ff850c33SHenrique de Moraes Holschuh	  keys and volume control is done through the main HDA mixer).
579ff850c33SHenrique de Moraes Holschuh
580a73f3091SHenrique de Moraes Holschuhconfig THINKPAD_ACPI_DEBUGFACILITIES
581a73f3091SHenrique de Moraes Holschuh	bool "Maintainer debug facilities"
582a73f3091SHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
583a7f7f624SMasahiro Yamada	help
584a73f3091SHenrique de Moraes Holschuh	  Enables extra stuff in the thinkpad-acpi which is completely useless
585a73f3091SHenrique de Moraes Holschuh	  for normal use.  Read the driver source to find out what it does.
586a73f3091SHenrique de Moraes Holschuh
587a73f3091SHenrique de Moraes Holschuh	  Say N here, unless you were told by a kernel maintainer to do
588a73f3091SHenrique de Moraes Holschuh	  otherwise.
589a73f3091SHenrique de Moraes Holschuh
59041b16dceSLen Brownconfig THINKPAD_ACPI_DEBUG
59141b16dceSLen Brown	bool "Verbose debug mode"
59241b16dceSLen Brown	depends on THINKPAD_ACPI
593a7f7f624SMasahiro Yamada	help
59441b16dceSLen Brown	  Enables extra debugging information, at the expense of a slightly
59541b16dceSLen Brown	  increase in driver size.
59641b16dceSLen Brown
59741b16dceSLen Brown	  If you are not sure, say N here.
59841b16dceSLen Brown
599a4d5effcSHenrique de Moraes Holschuhconfig THINKPAD_ACPI_UNSAFE_LEDS
600a4d5effcSHenrique de Moraes Holschuh	bool "Allow control of important LEDs (unsafe)"
601a4d5effcSHenrique de Moraes Holschuh	depends on THINKPAD_ACPI
602a7f7f624SMasahiro Yamada	help
603a4d5effcSHenrique de Moraes Holschuh	  Overriding LED state on ThinkPads can mask important
604a4d5effcSHenrique de Moraes Holschuh	  firmware alerts (like critical battery condition), or misled
605a4d5effcSHenrique de Moraes Holschuh	  the user into damaging the hardware (undocking or ejecting
606a4d5effcSHenrique de Moraes Holschuh	  the bay while buses are still active), etc.
607a4d5effcSHenrique de Moraes Holschuh
608a4d5effcSHenrique de Moraes Holschuh	  LED control on the ThinkPad is write-only (with very few
609a4d5effcSHenrique de Moraes Holschuh	  exceptions on very ancient models), which makes it
610a4d5effcSHenrique de Moraes Holschuh	  impossible to know beforehand if important information will
611a4d5effcSHenrique de Moraes Holschuh	  be lost when one changes LED state.
612a4d5effcSHenrique de Moraes Holschuh
613a4d5effcSHenrique de Moraes Holschuh	  Users that know what they are doing can enable this option
614a4d5effcSHenrique de Moraes Holschuh	  and the driver will allow control of every LED, including
615a4d5effcSHenrique de Moraes Holschuh	  the ones on the dock stations.
616a4d5effcSHenrique de Moraes Holschuh
617a4d5effcSHenrique de Moraes Holschuh	  Never enable this option on a distribution kernel.
618a4d5effcSHenrique de Moraes Holschuh
619a4d5effcSHenrique de Moraes Holschuh	  Say N here, unless you are building a kernel for your own
620a4d5effcSHenrique de Moraes Holschuh	  use, and need to control the important firmware LEDs.
621a4d5effcSHenrique de Moraes Holschuh
62241b16dceSLen Brownconfig THINKPAD_ACPI_VIDEO
62341b16dceSLen Brown	bool "Video output control support"
62441b16dceSLen Brown	depends on THINKPAD_ACPI
62541b16dceSLen Brown	default y
626a7f7f624SMasahiro Yamada	help
62741b16dceSLen Brown	  Allows the thinkpad_acpi driver to provide an interface to control
62841b16dceSLen Brown	  the various video output ports.
62941b16dceSLen Brown
63041b16dceSLen Brown	  This feature often won't work well, depending on ThinkPad model,
63141b16dceSLen Brown	  display state, video output devices in use, whether there is a X
63241b16dceSLen Brown	  server running, phase of the moon, and the current mood of
63341b16dceSLen Brown	  Schroedinger's cat.  If you can use X.org's RandR to control
63441b16dceSLen Brown	  your ThinkPad's video output ports instead of this feature,
635b525c06cSHenrique de Moraes Holschuh	  don't think twice: do it and say N here to save memory and avoid
636b525c06cSHenrique de Moraes Holschuh	  bad interactions with X.org.
63741b16dceSLen Brown
638b525c06cSHenrique de Moraes Holschuh	  NOTE: access to this feature is limited to processes with the
639b525c06cSHenrique de Moraes Holschuh	  CAP_SYS_ADMIN capability, to avoid local DoS issues in platforms
640b525c06cSHenrique de Moraes Holschuh	  where it interacts badly with X.org.
641b525c06cSHenrique de Moraes Holschuh
642b525c06cSHenrique de Moraes Holschuh	  If you are not sure, say Y here but do try to check if you could
643b525c06cSHenrique de Moraes Holschuh	  be using X.org RandR instead.
64441b16dceSLen Brown
64541b16dceSLen Brownconfig THINKPAD_ACPI_HOTKEY_POLL
64641b16dceSLen Brown	bool "Support NVRAM polling for hot keys"
64741b16dceSLen Brown	depends on THINKPAD_ACPI
64841b16dceSLen Brown	default y
649a7f7f624SMasahiro Yamada	help
65041b16dceSLen Brown	  Some thinkpad models benefit from NVRAM polling to detect a few of
65141b16dceSLen Brown	  the hot key press events.  If you know your ThinkPad model does not
65241b16dceSLen Brown	  need to do NVRAM polling to support any of the hot keys you use,
65341b16dceSLen Brown	  unselecting this option will save about 1kB of memory.
65441b16dceSLen Brown
65541b16dceSLen Brown	  ThinkPads T40 and newer, R52 and newer, and X31 and newer are
65641b16dceSLen Brown	  unlikely to need NVRAM polling in their latest BIOS versions.
65741b16dceSLen Brown
65841b16dceSLen Brown	  NVRAM polling can detect at most the following keys: ThinkPad/Access
65941b16dceSLen Brown	  IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
66041b16dceSLen Brown	  Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
66141b16dceSLen Brown
66241b16dceSLen Brown	  If you are not sure, say Y here.  The driver enables polling only if
66341b16dceSLen Brown	  it is strictly necessary to do so.
66441b16dceSLen Brown
665a40cd7efSMark Pearsonconfig THINKPAD_LMI
666a40cd7efSMark Pearson	tristate "Lenovo WMI-based systems management driver"
667a40cd7efSMark Pearson	depends on ACPI_WMI
668a40cd7efSMark Pearson	select FW_ATTR_CLASS
669a40cd7efSMark Pearson	help
670a40cd7efSMark Pearson	  This driver allows changing BIOS settings on Lenovo machines whose
671a40cd7efSMark Pearson	  BIOS support the WMI interface.
672a40cd7efSMark Pearson
673a40cd7efSMark Pearson	  To compile this driver as a module, choose M here: the module will
674a40cd7efSMark Pearson	  be called think-lmi.
675a40cd7efSMark Pearson
6768bd836feSAndy Shevchenkosource "drivers/platform/x86/intel/Kconfig"
6778bd836feSAndy Shevchenko
67845a3d578SAndy Shevchenkoconfig MSI_LAPTOP
67945a3d578SAndy Shevchenko	tristate "MSI Laptop Extras"
68045a3d578SAndy Shevchenko	depends on ACPI
68114ca7a47SHans de Goede	depends on BACKLIGHT_CLASS_DEVICE
68245a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
68345a3d578SAndy Shevchenko	depends on RFKILL
68445a3d578SAndy Shevchenko	depends on INPUT && SERIO_I8042
685642e0447SDmitry Torokhov	select INPUT_SPARSEKMAP
686a7f7f624SMasahiro Yamada	help
68745a3d578SAndy Shevchenko	  This is a driver for laptops built by MSI (MICRO-STAR
68845a3d578SAndy Shevchenko	  INTERNATIONAL):
68976593d6fSCorentin Chary
69045a3d578SAndy Shevchenko	  MSI MegaBook S270 (MS-1013)
69145a3d578SAndy Shevchenko	  Cytron/TCM/Medion/Tchibo MD96100/SAM2000
69241b16dceSLen Brown
69345a3d578SAndy Shevchenko	  It adds support for Bluetooth, WLAN and LCD brightness control.
69441b16dceSLen Brown
69545a3d578SAndy Shevchenko	  More information about this driver is available at
69645a3d578SAndy Shevchenko	  <http://0pointer.de/lennart/tchibo.html>.
697ee027e4aSYong Wang
69845a3d578SAndy Shevchenko	  If you have an MSI S270 laptop, say Y or M here.
699edb73f4fSMattias Jacobsson
700d12d8bafSThomas Renningerconfig MSI_WMI
701d12d8bafSThomas Renninger	tristate "MSI WMI extras"
702d12d8bafSThomas Renninger	depends on ACPI_WMI
703d12d8bafSThomas Renninger	depends on INPUT
704de078e57SAnisse Astier	depends on BACKLIGHT_CLASS_DEVICE
70514ca7a47SHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
706c30116c6SAnisse Astier	select INPUT_SPARSEKMAP
707d12d8bafSThomas Renninger	help
708d12d8bafSThomas Renninger	 Say Y here if you want to support WMI-based hotkeys on MSI laptops.
709d12d8bafSThomas Renninger
710d12d8bafSThomas Renninger	 To compile this driver as a module, choose M here: the module will
711d12d8bafSThomas Renninger	 be called msi-wmi.
712d12d8bafSThomas Renninger
71345a3d578SAndy Shevchenkoconfig XO15_EBOOK
71445a3d578SAndy Shevchenko	tristate "OLPC XO-1.5 ebook switch"
71545a3d578SAndy Shevchenko	depends on OLPC || COMPILE_TEST
71645a3d578SAndy Shevchenko	depends on ACPI && INPUT
717a7f7f624SMasahiro Yamada	help
71845a3d578SAndy Shevchenko	  Support for the ebook switch on the OLPC XO-1.5 laptop.
71913bb0fd5SHans de Goede
72045a3d578SAndy Shevchenko	  This switch is triggered as the screen is rotated and folded down to
72145a3d578SAndy Shevchenko	  convert the device into ebook form.
72245a3d578SAndy Shevchenko
72345a3d578SAndy Shevchenkoconfig XO1_RFKILL
72445a3d578SAndy Shevchenko	tristate "OLPC XO-1 software RF kill switch"
72545a3d578SAndy Shevchenko	depends on OLPC || COMPILE_TEST
72645a3d578SAndy Shevchenko	depends on RFKILL
727a7f7f624SMasahiro Yamada	help
72845a3d578SAndy Shevchenko	  Support for enabling/disabling the WLAN interface on the OLPC XO-1
72945a3d578SAndy Shevchenko	  laptop.
73045a3d578SAndy Shevchenko
73145a3d578SAndy Shevchenkoconfig PCENGINES_APU2
73245a3d578SAndy Shevchenko	tristate "PC Engines APUv2/3 front button and LEDs driver"
73345a3d578SAndy Shevchenko	depends on INPUT && INPUT_KEYBOARD && GPIOLIB
73445a3d578SAndy Shevchenko	depends on LEDS_CLASS
73545a3d578SAndy Shevchenko	select GPIO_AMD_FCH
73645a3d578SAndy Shevchenko	select KEYBOARD_GPIO_POLLED
73745a3d578SAndy Shevchenko	select LEDS_GPIO
73845a3d578SAndy Shevchenko	help
73945a3d578SAndy Shevchenko	  This driver provides support for the front button and LEDs on
74045a3d578SAndy Shevchenko	  PC Engines APUv2/APUv3 board.
74145a3d578SAndy Shevchenko
74245a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module
74345a3d578SAndy Shevchenko	  will be called pcengines-apuv2.
74445a3d578SAndy Shevchenko
74586af1d02SSantosh Kumar Yadavconfig BARCO_P50_GPIO
74686af1d02SSantosh Kumar Yadav	tristate "Barco P50 GPIO driver for identify LED/button"
74786af1d02SSantosh Kumar Yadav	depends on GPIOLIB
74886af1d02SSantosh Kumar Yadav	help
74986af1d02SSantosh Kumar Yadav	  This driver provides access to the GPIOs for the identify button
75086af1d02SSantosh Kumar Yadav	  and led present on Barco P50 board.
75186af1d02SSantosh Kumar Yadav
75286af1d02SSantosh Kumar Yadav	  To compile this driver as a module, choose M here: the module
75386af1d02SSantosh Kumar Yadav	  will be called barco-p50-gpio.
75486af1d02SSantosh Kumar Yadav
75545a3d578SAndy Shevchenkoconfig SAMSUNG_LAPTOP
75645a3d578SAndy Shevchenko	tristate "Samsung Laptop driver"
75745a3d578SAndy Shevchenko	depends on RFKILL || RFKILL = n
75845a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
75945a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
760bf8f65daSGuillaume Douézan-Grard	select LEDS_CLASS
761bf8f65daSGuillaume Douézan-Grard	select NEW_LEDS
762a7f7f624SMasahiro Yamada	help
76345a3d578SAndy Shevchenko	  This module implements a driver for a wide range of different
76445a3d578SAndy Shevchenko	  Samsung laptops.  It offers control over the different
76545a3d578SAndy Shevchenko	  function keys, wireless LED, LCD backlight level.
7669caeb532SHerton Ronaldo Krzesinski
76745a3d578SAndy Shevchenko	  It may also provide some sysfs files described in
76845a3d578SAndy Shevchenko	  <file:Documentation/ABI/testing/sysfs-driver-samsung-laptop>
76945a3d578SAndy Shevchenko
77045a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module
77145a3d578SAndy Shevchenko	  will be called samsung-laptop.
77245a3d578SAndy Shevchenko
77345a3d578SAndy Shevchenkoconfig SAMSUNG_Q10
77445a3d578SAndy Shevchenko	tristate "Samsung Q10 Extras"
77545a3d578SAndy Shevchenko	depends on ACPI
77645a3d578SAndy Shevchenko	select BACKLIGHT_CLASS_DEVICE
777a7f7f624SMasahiro Yamada	help
77845a3d578SAndy Shevchenko	  This driver provides support for backlight control on Samsung Q10
77945a3d578SAndy Shevchenko	  and related laptops, including Dell Latitude X200.
7809caeb532SHerton Ronaldo Krzesinski
781b4f9fe12SLen Brownconfig ACPI_TOSHIBA
782b4f9fe12SLen Brown	tristate "Toshiba Laptop Extras"
783b4f9fe12SLen Brown	depends on ACPI
784f11f999eSSeth Forshee	depends on ACPI_WMI
7850c51a4d8SMark Brown	select LEDS_CLASS
7860c51a4d8SMark Brown	select NEW_LEDS
787c76a3e1dSJonathan Corbet	depends on BACKLIGHT_CLASS_DEVICE
788b4f9fe12SLen Brown	depends on INPUT
789283672e4SSeth Forshee	depends on SERIO_I8042 || SERIO_I8042 = n
790358d6a2cSHans de Goede	depends on ACPI_VIDEO || ACPI_VIDEO = n
791dc4522beSAzael Avalos	depends on RFKILL || RFKILL = n
79298010f1eSAzael Avalos	depends on IIO
793384a7cd9SDmitry Torokhov	select INPUT_SPARSEKMAP
794a7f7f624SMasahiro Yamada	help
795b4f9fe12SLen Brown	  This driver adds support for access to certain system settings
796b4f9fe12SLen Brown	  on "legacy free" Toshiba laptops.  These laptops can be recognized by
797b4f9fe12SLen Brown	  their lack of a BIOS setup menu and APM support.
798b4f9fe12SLen Brown
799b4f9fe12SLen Brown	  On these machines, all system configuration is handled through the
800b4f9fe12SLen Brown	  ACPI.  This driver is required for access to controls not covered
801b4f9fe12SLen Brown	  by the general ACPI drivers, such as LCD brightness, video output,
802b4f9fe12SLen Brown	  etc.
803b4f9fe12SLen Brown
804b4f9fe12SLen Brown	  This driver differs from the non-ACPI Toshiba laptop driver (located
805b4f9fe12SLen Brown	  under "Processor type and features") in several aspects.
806b4f9fe12SLen Brown	  Configuration is accessed by reading and writing text files in the
807b4f9fe12SLen Brown	  /proc tree instead of by program interface to /dev.  Furthermore, no
808b4f9fe12SLen Brown	  power management functions are exposed, as those are handled by the
809b4f9fe12SLen Brown	  general ACPI drivers.
810b4f9fe12SLen Brown
811b4f9fe12SLen Brown	  More information about this driver is available at
812b4f9fe12SLen Brown	  <http://memebeam.org/toys/ToshibaAcpiDriver>.
813b4f9fe12SLen Brown
814b4f9fe12SLen Brown	  If you have a legacy free Toshiba laptop (such as the Libretto L1
815b4f9fe12SLen Brown	  series), say Y.
81642b4e9eeSJes Sorensen
81742b4e9eeSJes Sorensenconfig TOSHIBA_BT_RFKILL
81842b4e9eeSJes Sorensen	tristate "Toshiba Bluetooth RFKill switch support"
81942b4e9eeSJes Sorensen	depends on ACPI
8207ee8cd33SAzael Avalos	depends on RFKILL || RFKILL = n
821a7f7f624SMasahiro Yamada	help
82242b4e9eeSJes Sorensen	  This driver adds support for Bluetooth events for the RFKill
82342b4e9eeSJes Sorensen	  switch on modern Toshiba laptops with full ACPI support and
82442b4e9eeSJes Sorensen	  an RFKill switch.
82542b4e9eeSJes Sorensen
82642b4e9eeSJes Sorensen	  This driver handles RFKill events for the TOS6205 Bluetooth,
82742b4e9eeSJes Sorensen	  and re-enables it when the switch is set back to the 'on'
82842b4e9eeSJes Sorensen	  position.
82942b4e9eeSJes Sorensen
83042b4e9eeSJes Sorensen	  If you have a modern Toshiba laptop with a Bluetooth and an
83142b4e9eeSJes Sorensen	  RFKill switch (such as the Portege R500), say Y.
832529aa8cbSThadeu Lima de Souza Cascardo
833186e4e89SAzael Avalosconfig TOSHIBA_HAPS
834186e4e89SAzael Avalos	tristate "Toshiba HDD Active Protection Sensor"
835186e4e89SAzael Avalos	depends on ACPI
836a7f7f624SMasahiro Yamada	help
837186e4e89SAzael Avalos	  This driver adds support for the built-in accelerometer
838769a12a9SMasanari Iida	  found on recent Toshiba laptops equipped with HID TOS620A
839186e4e89SAzael Avalos	  device.
840186e4e89SAzael Avalos
841186e4e89SAzael Avalos	  This driver receives ACPI notify events 0x80 when the sensor
842186e4e89SAzael Avalos	  detects a sudden move or a harsh vibration, as well as an
843186e4e89SAzael Avalos	  ACPI notify event 0x81 whenever the movement or vibration has
844186e4e89SAzael Avalos	  been stabilized.
845186e4e89SAzael Avalos
846186e4e89SAzael Avalos	  Also provides sysfs entries to get/set the desired protection
847769a12a9SMasanari Iida	  level and resetting the HDD protection interface.
848186e4e89SAzael Avalos
849186e4e89SAzael Avalos	  If you have a recent Toshiba laptop with a built-in accelerometer
850186e4e89SAzael Avalos	  device, say Y.
851186e4e89SAzael Avalos
85214991fc7SAzael Avalosconfig TOSHIBA_WMI
85314991fc7SAzael Avalos	tristate "Toshiba WMI Hotkeys Driver (EXPERIMENTAL)"
85414991fc7SAzael Avalos	depends on ACPI_WMI
85514991fc7SAzael Avalos	depends on INPUT
85614991fc7SAzael Avalos	select INPUT_SPARSEKMAP
857a7f7f624SMasahiro Yamada	help
85814991fc7SAzael Avalos	  This driver adds hotkey monitoring support to some Toshiba models
85914991fc7SAzael Avalos	  that manage the hotkeys via WMI events.
86014991fc7SAzael Avalos
86114991fc7SAzael Avalos	  WARNING: This driver is incomplete as it lacks a proper keymap and the
86214991fc7SAzael Avalos	  *notify function only prints the ACPI event type value. Be warned that
86314991fc7SAzael Avalos	  you will need to provide some information if you have a Toshiba model
86483fc61a5SMasanari Iida	  with WMI event hotkeys and want to help with the development of this
86514991fc7SAzael Avalos	  driver.
86614991fc7SAzael Avalos
86714991fc7SAzael Avalos	  If you have a WMI-based hotkeys Toshiba laptop, say Y or M here.
86814991fc7SAzael Avalos
869529aa8cbSThadeu Lima de Souza Cascardoconfig ACPI_CMPC
870529aa8cbSThadeu Lima de Souza Cascardo	tristate "CMPC Laptop Extras"
8714f258cf4SRandy Dunlap	depends on ACPI && INPUT
872f35843edSThadeu Lima de Souza Cascardo	depends on RFKILL || RFKILL=n
873529aa8cbSThadeu Lima de Souza Cascardo	select BACKLIGHT_CLASS_DEVICE
874529aa8cbSThadeu Lima de Souza Cascardo	help
875529aa8cbSThadeu Lima de Souza Cascardo	  Support for Intel Classmate PC ACPI devices, including some
876529aa8cbSThadeu Lima de Souza Cascardo	  keys as input device, backlight device, tablet and accelerometer
877529aa8cbSThadeu Lima de Souza Cascardo	  devices.
878529aa8cbSThadeu Lima de Souza Cascardo
87945a3d578SAndy Shevchenkoconfig COMPAL_LAPTOP
88045a3d578SAndy Shevchenko	tristate "Compal (and others) Laptop Extras"
88145a3d578SAndy Shevchenko	depends on ACPI
88245a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
88345a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
88445a3d578SAndy Shevchenko	depends on RFKILL
88545a3d578SAndy Shevchenko	depends on HWMON
88645a3d578SAndy Shevchenko	depends on POWER_SUPPLY
887a7f7f624SMasahiro Yamada	help
88845a3d578SAndy Shevchenko	  This is a driver for laptops built by Compal, and some models by
88945a3d578SAndy Shevchenko	  other brands (e.g. Dell, Toshiba).
8901cd706dfSHans de Goede
89145a3d578SAndy Shevchenko	  It adds support for rfkill, Bluetooth, WLAN, LCD brightness, hwmon
89245a3d578SAndy Shevchenko	  and battery charging level control.
893d740795dSYauhen Kharuzhy
89445a3d578SAndy Shevchenkoconfig LG_LAPTOP
89545a3d578SAndy Shevchenko	tristate "LG Laptop Extras"
89645a3d578SAndy Shevchenko	depends on ACPI
89745a3d578SAndy Shevchenko	depends on ACPI_WMI
89845a3d578SAndy Shevchenko	depends on INPUT
89945a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
9008f0c01e6SNecip Fazil Yildiran	select NEW_LEDS
90145a3d578SAndy Shevchenko	select LEDS_CLASS
90245a3d578SAndy Shevchenko	help
90345a3d578SAndy Shevchenko	 This driver adds support for hotkeys as well as control of keyboard
90445a3d578SAndy Shevchenko	 backlight, battery maximum charge level and various other ACPI
90545a3d578SAndy Shevchenko	 features.
9061cd706dfSHans de Goede
90745a3d578SAndy Shevchenko	 If you have an LG Gram laptop, say Y or M here.
908d740795dSYauhen Kharuzhy
90945a3d578SAndy Shevchenkoconfig PANASONIC_LAPTOP
91045a3d578SAndy Shevchenko	tristate "Panasonic Laptop Extras"
91145a3d578SAndy Shevchenko	depends on INPUT && ACPI
91245a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
91345a3d578SAndy Shevchenko	select INPUT_SPARSEKMAP
914a7f7f624SMasahiro Yamada	help
91545a3d578SAndy Shevchenko	  This driver adds support for access to backlight control and hotkeys
91645a3d578SAndy Shevchenko	  on Panasonic Let's Note laptops.
91763dada87SHans de Goede
91845a3d578SAndy Shevchenko	  If you have a Panasonic Let's note laptop (such as the R1(N variant),
91945a3d578SAndy Shevchenko	  R2, R3, R5, T2, W2 and Y2 series), say Y.
92063dada87SHans de Goede
92145a3d578SAndy Shevchenkoconfig SONY_LAPTOP
92245a3d578SAndy Shevchenko	tristate "Sony Laptop Extras"
92345a3d578SAndy Shevchenko	depends on ACPI
92445a3d578SAndy Shevchenko	depends on ACPI_VIDEO || ACPI_VIDEO = n
92545a3d578SAndy Shevchenko	depends on BACKLIGHT_CLASS_DEVICE
92645a3d578SAndy Shevchenko	depends on INPUT
92745a3d578SAndy Shevchenko	depends on RFKILL
928a7f7f624SMasahiro Yamada	help
92945a3d578SAndy Shevchenko	  This mini-driver drives the SNC and SPIC devices present in the ACPI
93045a3d578SAndy Shevchenko	  BIOS of the Sony Vaio laptops.
93163dada87SHans de Goede
93245a3d578SAndy Shevchenko	  It gives access to some extra laptop functionalities like Bluetooth,
93345a3d578SAndy Shevchenko	  screen brightness control, Fn keys and allows powering on/off some
93445a3d578SAndy Shevchenko	  devices.
93545a3d578SAndy Shevchenko
93645a3d578SAndy Shevchenko	  Read <file:Documentation/admin-guide/laptops/sony-laptop.rst> for more information.
93745a3d578SAndy Shevchenko
93845a3d578SAndy Shevchenkoconfig SONYPI_COMPAT
93945a3d578SAndy Shevchenko	bool "Sonypi compatibility"
94045a3d578SAndy Shevchenko	depends on SONY_LAPTOP
941a7f7f624SMasahiro Yamada	help
94245a3d578SAndy Shevchenko	  Build the sonypi driver compatibility code into the sony-laptop driver.
94345a3d578SAndy Shevchenko
94445a3d578SAndy Shevchenkoconfig SYSTEM76_ACPI
94545a3d578SAndy Shevchenko	tristate "System76 ACPI Driver"
94645a3d578SAndy Shevchenko	depends on ACPI
947fc3341b4SArnd Bergmann	depends on ACPI_BATTERY
948fc3341b4SArnd Bergmann	depends on HWMON
949fc3341b4SArnd Bergmann	depends on INPUT
95045a3d578SAndy Shevchenko	select NEW_LEDS
95145a3d578SAndy Shevchenko	select LEDS_CLASS
95245a3d578SAndy Shevchenko	select LEDS_TRIGGERS
95345a3d578SAndy Shevchenko	help
95445a3d578SAndy Shevchenko	  This is a driver for System76 laptops running open firmware. It adds
95545a3d578SAndy Shevchenko	  support for Fn-Fx key combinations, keyboard backlight, and airplane mode
95645a3d578SAndy Shevchenko	  LEDs.
95745a3d578SAndy Shevchenko
95845a3d578SAndy Shevchenko	  If you have a System76 laptop running open firmware, say Y or M here.
95945a3d578SAndy Shevchenko
96045a3d578SAndy Shevchenkoconfig TOPSTAR_LAPTOP
96145a3d578SAndy Shevchenko	tristate "Topstar Laptop Extras"
962ecc83e52SAlex Hung	depends on ACPI
963ecc83e52SAlex Hung	depends on INPUT
964ecc83e52SAlex Hung	select INPUT_SPARSEKMAP
96545a3d578SAndy Shevchenko	select LEDS_CLASS
96645a3d578SAndy Shevchenko	select NEW_LEDS
967a7f7f624SMasahiro Yamada	help
96845a3d578SAndy Shevchenko	  This driver adds support for hotkeys found on Topstar laptops.
9699a58a333SSreedhara DS
97045a3d578SAndy Shevchenko	  If you have a Topstar laptop, say Y or M here.
9715369c02dSSreedhara DS
97245a3d578SAndy Shevchenkoconfig I2C_MULTI_INSTANTIATE
97345a3d578SAndy Shevchenko	tristate "I2C multi instantiate pseudo device driver"
97445a3d578SAndy Shevchenko	depends on I2C && ACPI
9758eec8a11SHong Liu	help
97645a3d578SAndy Shevchenko	  Some ACPI-based systems list multiple i2c-devices in a single ACPI
97745a3d578SAndy Shevchenko	  firmware-node. This driver will instantiate separate i2c-clients
97845a3d578SAndy Shevchenko	  for each device in the firmware-node.
9798eec8a11SHong Liu
98045a3d578SAndy Shevchenko	  To compile this driver as a module, choose M here: the module
98145a3d578SAndy Shevchenko	  will be called i2c-multi-instantiate.
9828eec8a11SHong Liu
98345a3d578SAndy Shevchenkoconfig MLX_PLATFORM
98445a3d578SAndy Shevchenko	tristate "Mellanox Technologies platform support"
98545a3d578SAndy Shevchenko	depends on I2C && REGMAP
986a7f7f624SMasahiro Yamada	help
98745a3d578SAndy Shevchenko	  This option enables system support for the Mellanox Technologies
98845a3d578SAndy Shevchenko	  platform. The Mellanox systems provide data center networking
98945a3d578SAndy Shevchenko	  solutions based on Virtual Protocol Interconnect (VPI) technology
99045a3d578SAndy Shevchenko	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
99145a3d578SAndy Shevchenko	  connection.
99245a3d578SAndy Shevchenko
99345a3d578SAndy Shevchenko	  If you have a Mellanox system, say Y or M here.
99445a3d578SAndy Shevchenko
99545a3d578SAndy Shevchenkoconfig TOUCHSCREEN_DMI
99645a3d578SAndy Shevchenko	bool "DMI based touchscreen configuration info"
99745a3d578SAndy Shevchenko	depends on ACPI && DMI && I2C=y && TOUCHSCREEN_SILEAD
998dba43fc4SLinus Torvalds	select EFI_EMBEDDED_FIRMWARE if EFI
999a7f7f624SMasahiro Yamada	help
100045a3d578SAndy Shevchenko	  Certain ACPI based tablets with e.g. Silead or Chipone touchscreens
100145a3d578SAndy Shevchenko	  do not have enough data in ACPI tables for the touchscreen driver to
100245a3d578SAndy Shevchenko	  handle the touchscreen properly, as OEMs expect the data to be baked
100345a3d578SAndy Shevchenko	  into the tablet model specific version of the driver shipped with the
100445a3d578SAndy Shevchenko	  the OS-image for the device. This option supplies the missing info.
100545a3d578SAndy Shevchenko	  Enable this for x86 tablets with Silead or Chipone touchscreens.
1006aa7ffc01SJesse Barnes
100755fa3c96SHans de Goedeconfig X86_ANDROID_TABLETS
100855fa3c96SHans de Goede	tristate "X86 Android tablet support"
1009*c2138b25SHans de Goede	depends on I2C && SERIAL_DEV_BUS && ACPI && GPIOLIB
101055fa3c96SHans de Goede	help
101155fa3c96SHans de Goede	  X86 tablets which ship with Android as (part of) the factory image
101255fa3c96SHans de Goede	  typically have various problems with their DSDTs. The factory kernels
101355fa3c96SHans de Goede	  shipped on these devices typically have device addresses and GPIOs
101455fa3c96SHans de Goede	  hardcoded in the kernel, rather than specified in their DSDT.
101555fa3c96SHans de Goede
101655fa3c96SHans de Goede	  With the DSDT containing a random collection of devices which may or
101755fa3c96SHans de Goede	  may not actually be present. This driver contains various fixes for
101855fa3c96SHans de Goede	  such tablets, including instantiating kernel devices for devices which
101955fa3c96SHans de Goede	  are missing from the DSDT.
102055fa3c96SHans de Goede
102155fa3c96SHans de Goede	  If you have a x86 Android tablet say Y or M here, for a generic x86
102255fa3c96SHans de Goede	  distro config say M here.
102355fa3c96SHans de Goede
102417b707feSMark Pearsonconfig FW_ATTR_CLASS
102517b707feSMark Pearson	tristate
102617b707feSMark Pearson
102728a375dfSBryan O'Donoghueconfig INTEL_IMR
102828a375dfSBryan O'Donoghue	bool "Intel Isolated Memory Region support"
102928a375dfSBryan O'Donoghue	depends on X86_INTEL_QUARK && IOSF_MBI
1030a7f7f624SMasahiro Yamada	help
103128a375dfSBryan O'Donoghue	  This option provides a means to manipulate Isolated Memory Regions.
103228a375dfSBryan O'Donoghue	  IMRs are a set of registers that define read and write access masks
103328a375dfSBryan O'Donoghue	  to prohibit certain system agents from accessing memory with 1 KiB
103428a375dfSBryan O'Donoghue	  granularity.
103528a375dfSBryan O'Donoghue
103628a375dfSBryan O'Donoghue	  IMRs make it possible to control read/write access to an address
103728a375dfSBryan O'Donoghue	  by hardware agents inside the SoC. Read and write masks can be
103828a375dfSBryan O'Donoghue	  defined for:
103928a375dfSBryan O'Donoghue		- eSRAM flush
104028a375dfSBryan O'Donoghue		- Dirty CPU snoop (write only)
104128a375dfSBryan O'Donoghue		- RMU access
104228a375dfSBryan O'Donoghue		- PCI Virtual Channel 0/Virtual Channel 1
104328a375dfSBryan O'Donoghue		- SMM mode
104428a375dfSBryan O'Donoghue		- Non SMM mode
104528a375dfSBryan O'Donoghue
104628a375dfSBryan O'Donoghue	  Quark contains a set of eight IMR registers and makes use of those
104728a375dfSBryan O'Donoghue	  registers during its bootup process.
104828a375dfSBryan O'Donoghue
104928a375dfSBryan O'Donoghue	  If you are running on a Galileo/Quark say Y here.
105028a375dfSBryan O'Donoghue
105145a3d578SAndy Shevchenkoconfig INTEL_IPS
105245a3d578SAndy Shevchenko	tristate "Intel Intelligent Power Sharing"
10537934d76cSSinan Kaya	depends on ACPI && PCI
1054a7f7f624SMasahiro Yamada	help
105545a3d578SAndy Shevchenko	  Intel Calpella platforms support dynamic power sharing between the
105645a3d578SAndy Shevchenko	  CPU and GPU, maximizing performance in a given TDP.  This driver,
105745a3d578SAndy Shevchenko	  along with the CPU frequency and i915 drivers, provides that
105845a3d578SAndy Shevchenko	  functionality.  If in doubt, say Y here; it will only load on
105945a3d578SAndy Shevchenko	  supported platforms.
1060917ee75aSSeth Forshee
106145a3d578SAndy Shevchenkoconfig INTEL_SCU_IPC
106254b34aa0SMika Westerberg	bool
106354b34aa0SMika Westerberg
106454b34aa0SMika Westerbergconfig INTEL_SCU
106554b34aa0SMika Westerberg	bool
106654b34aa0SMika Westerberg	select INTEL_SCU_IPC
106754b34aa0SMika Westerberg
106854b34aa0SMika Westerbergconfig INTEL_SCU_PCI
106954b34aa0SMika Westerberg	bool "Intel SCU PCI driver"
1070b8da68f4SMika Westerberg	depends on PCI
107154b34aa0SMika Westerberg	select INTEL_SCU
107254b34aa0SMika Westerberg	help
107354b34aa0SMika Westerberg	  This driver is used to bridge the communications between kernel
107454b34aa0SMika Westerberg	  and SCU on some embedded Intel x86 platforms. It also creates
1075b8da68f4SMika Westerberg	  devices that are connected to the SoC through the SCU.
1076b8da68f4SMika Westerberg	  Platforms supported:
1077b8da68f4SMika Westerberg	    Medfield
1078b8da68f4SMika Westerberg	    Clovertrail
1079b8da68f4SMika Westerberg	    Merrifield
1080b8da68f4SMika Westerberg	    Broxton
1081b8da68f4SMika Westerberg	    Apollo Lake
108245a3d578SAndy Shevchenko
10837a61f05eSMika Westerbergconfig INTEL_SCU_PLATFORM
10847a61f05eSMika Westerberg	tristate "Intel SCU platform driver"
10857a61f05eSMika Westerberg	depends on ACPI
10867a61f05eSMika Westerberg	select INTEL_SCU
10877a61f05eSMika Westerberg	help
10887a61f05eSMika Westerberg	  This driver is used to bridge the communications between kernel
10897a61f05eSMika Westerberg	  and SCU (sometimes called PMC as well). The driver currently
10907a61f05eSMika Westerberg	  supports Intel Elkhart Lake and compatible platforms.
10917a61f05eSMika Westerberg
109218365d68SAndy Shevchenkoconfig INTEL_SCU_WDT
109318365d68SAndy Shevchenko	bool
109418365d68SAndy Shevchenko	default INTEL_SCU_PCI
109518365d68SAndy Shevchenko	depends on INTEL_MID_WATCHDOG
109618365d68SAndy Shevchenko	help
109718365d68SAndy Shevchenko	  This is a specific platform code to instantiate watchdog device
109818365d68SAndy Shevchenko	  on ACPI-based Intel MID platforms.
109918365d68SAndy Shevchenko
110045a3d578SAndy Shevchenkoconfig INTEL_SCU_IPC_UTIL
110145a3d578SAndy Shevchenko	tristate "Intel SCU IPC utility driver"
110254b34aa0SMika Westerberg	depends on INTEL_SCU
1103a7f7f624SMasahiro Yamada	help
110445a3d578SAndy Shevchenko	  The IPC Util driver provides an interface with the SCU enabling
110545a3d578SAndy Shevchenko	  low level access for debug work and updating the firmware. Say
110645a3d578SAndy Shevchenko	  N unless you will be doing this on an Intel MID platform.
110745a3d578SAndy Shevchenko
1108dd123e62SHenning Schildconfig SIEMENS_SIMATIC_IPC
1109dd123e62SHenning Schild	tristate "Siemens Simatic IPC Class driver"
1110dd123e62SHenning Schild	depends on PCI
1111dd123e62SHenning Schild	help
1112dd123e62SHenning Schild	  This Simatic IPC class driver is the central of several drivers. It
1113dd123e62SHenning Schild	  is mainly used for system identification, after which drivers in other
1114dd123e62SHenning Schild	  classes will take care of driving specifics of those machines.
1115dd123e62SHenning Schild	  i.e. LEDs and watchdog.
1116dd123e62SHenning Schild
1117dd123e62SHenning Schild	  To compile this driver as a module, choose M here: the module
1118dd123e62SHenning Schild	  will be called simatic-ipc.
1119dd123e62SHenning Schild
112041b16dceSLen Brownendif # X86_PLATFORM_DEVICES
112180a7581fSIrina Tirdea
112280a7581fSIrina Tirdeaconfig PMC_ATOM
112380a7581fSIrina Tirdea       def_bool y
112480a7581fSIrina Tirdea       depends on PCI
1125282a4e4cSIrina Tirdea       select COMMON_CLK
1126