xref: /linux/drivers/platform/x86/x86-android-tablets/Kconfig (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1afdcb535SHans de Goede# SPDX-License-Identifier: GPL-2.0-or-later
2afdcb535SHans de Goede#
3afdcb535SHans de Goede# X86 Android tablet support Kconfig
4afdcb535SHans de Goede#
5afdcb535SHans de Goede
6afdcb535SHans de Goedeconfig X86_ANDROID_TABLETS
7afdcb535SHans de Goede	tristate "X86 Android tablet support"
8b59018c1SHans de Goede	depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB && PMIC_OPREGION
94d6ef1beSHans de Goede	select NEW_LEDS
104d6ef1beSHans de Goede	select LEDS_CLASS
11afdcb535SHans de Goede	help
12afdcb535SHans de Goede	  X86 tablets which ship with Android as (part of) the factory image
13afdcb535SHans de Goede	  typically have various problems with their DSDTs. The factory kernels
14afdcb535SHans de Goede	  shipped on these devices typically have device addresses and GPIOs
15afdcb535SHans de Goede	  hardcoded in the kernel, rather than specified in their DSDT.
16afdcb535SHans de Goede
17afdcb535SHans de Goede	  With the DSDT containing a random collection of devices which may or
18afdcb535SHans de Goede	  may not actually be present. This driver contains various fixes for
19afdcb535SHans de Goede	  such tablets, including instantiating kernel devices for devices which
20afdcb535SHans de Goede	  are missing from the DSDT.
21afdcb535SHans de Goede
22afdcb535SHans de Goede	  If you have a x86 Android tablet say Y or M here, for a generic x86
23*bb9c2e54SAndy Shevchenko	  distro configuration say M here.
24