mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
On the Vexia EDU ATLA 10 tablet, which ships with Android + a custom Linux (guadalinex) using the custom Android kernel the I2C controllers are not enumerated as ACPI devices as they typically are. Instead they are enumerated as PCI devices which do not have ACPI firmware nodes associated with them, so getting the i2c_adapter by the ACPI path of its firmware node does not work. Add support for getting the i2c_adapter by the devname() of its PCI parent instead. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/r/20241104200848.58693-3-hdegoede@redhat.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
26 lines
937 B
Plaintext
26 lines
937 B
Plaintext
# 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
|
|
depends on GPIOLIB && PMIC_OPREGION
|
|
depends on ACPI && EFI && PCI
|
|
select NEW_LEDS
|
|
select LEDS_CLASS
|
|
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 configuration say M here.
|