summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/x86-android-tablets/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-02-19 19:06:14 +0300
committerHans de Goede <hdegoede@redhat.com>2023-03-07 14:08:30 +0300
commitafdcb5353f06cf5ddee3999f7e6353e889a50edc (patch)
tree20c086938872a1bf783940d4a1d27cba82141c9d /drivers/platform/x86/x86-android-tablets/Kconfig
parent2f0cf1e85ddb5ae17284050dc1adafb89e4f1d8f (diff)
downloadlinux-afdcb5353f06cf5ddee3999f7e6353e889a50edc.tar.xz
platform/x86: x86-android-tablets: Move into its own subdir
Move the x86-android-tablets code into its own subdir, this is a preparation patch for splitting the somewhat large file into multiple smaller files. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20230301092331.7038-3-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/x86-android-tablets/Kconfig')
-rw-r--r--drivers/platform/x86/x86-android-tablets/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/platform/x86/x86-android-tablets/Kconfig b/drivers/platform/x86/x86-android-tablets/Kconfig
new file mode 100644
index 000000000000..2b3daca5380b
--- /dev/null
+++ b/drivers/platform/x86/x86-android-tablets/Kconfig
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# X86 Android tablet support Kconfig
+#
+
+config X86_ANDROID_TABLETS
+ tristate "X86 Android tablet support"
+ depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB
+ help
+ X86 tablets which ship with Android as (part of) the factory image
+ typically have various problems with their DSDTs. The factory kernels
+ shipped on these devices typically have device addresses and GPIOs
+ hardcoded in the kernel, rather than specified in their DSDT.
+
+ With the DSDT containing a random collection of devices which may or
+ may not actually be present. This driver contains various fixes for
+ such tablets, including instantiating kernel devices for devices which
+ are missing from the DSDT.
+
+ If you have a x86 Android tablet say Y or M here, for a generic x86
+ distro config say M here.