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