Commit afdcb535 authored by Hans de Goede's avatar Hans de Goede
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230301092331.7038-3-hdegoede@redhat.com
parent 2f0cf1e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22688,7 +22688,7 @@ M: Hans de Goede <hdegoede@redhat.com>
L:	platform-driver-x86@vger.kernel.org
S:	Maintained
T:	git git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
F:	drivers/platform/x86/x86-android-tablets.c
F:	drivers/platform/x86/x86-android-tablets/
X86 PLATFORM DRIVERS
M:	Hans de Goede <hdegoede@redhat.com>
+1 −16
Original line number Diff line number Diff line
@@ -978,22 +978,7 @@ config TOUCHSCREEN_DMI
	  the OS-image for the device. This option supplies the missing info.
	  Enable this for x86 tablets with Silead or Chipone touchscreens.

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.
source "drivers/platform/x86/x86-android-tablets/Kconfig"

config FW_ATTR_CLASS
	tristate
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ obj-$(CONFIG_SERIAL_MULTI_INSTANTIATE) += serial-multi-instantiate.o
obj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
obj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
obj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
obj-$(CONFIG_X86_ANDROID_TABLETS)	+= x86-android-tablets.o
obj-$(CONFIG_X86_ANDROID_TABLETS)	+= x86-android-tablets/

# Intel uncore drivers
obj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
+21 −0
Original line number Diff line number Diff line
# 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.
+8 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-or-later
#
# X86 Android tablet support Makefile
#

obj-$(CONFIG_X86_ANDROID_TABLETS) += x86-android-tablets.o

x86-android-tablets-y := x86-android-tablets-main.o
Loading