linux/drivers/platform/x86/x86-android-tablets
Hans de Goede c78dd25138
platform/x86: x86-android-tablets: Add Vexia EDU ATLA 10 EC battery driver
The Vexia EDU ATLA 10 tablet has an embedded controller instead of
giving the os direct access to the charger + fuel-gauge ICs as is normal
on tablets designed for Android.

There is ACPI Battery device in the DSDT using the EC which should work
except that it expects the I2C controller to be enumerated as an ACPI
device and the tablet's BIOS enumerates all LPSS devices as PCI devices
(and changing the LPSS BIOS settings from PCI -> ACPI does not work).

Add a power_supply class driver for the Atla 10 EC to expert battery info
to userspace. This is made part of the x86-android-tablets directory and
Kconfig option because the i2c_client it binds to is instantiated by
the x86-android-tablets kmod.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241204193442.65374-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>
2024-12-10 15:29:40 +02:00
..
asus.c platform/x86: x86-android-tablets: Store serdev-controller ACPI HID + UID in a union 2024-12-10 15:17:52 +02:00
core.c platform/x86: x86-android-tablets: Add support for getting serdev-controller by PCI parent 2024-12-10 15:17:53 +02:00
dmi.c platform/x86: x86-android-tablets: Add support for Vexia EDU ATLA 10 tablet 2024-11-06 15:20:58 +02:00
Kconfig platform/x86: x86-android-tablets: Add support for getting i2c_adapter by PCI parent devname() 2024-11-06 15:16:47 +02:00
lenovo.c platform/x86: x86-android-tablets: Store serdev-controller ACPI HID + UID in a union 2024-12-10 15:17:52 +02:00
Makefile platform/x86: x86-android-tablets: Add Vexia EDU ATLA 10 EC battery driver 2024-12-10 15:29:40 +02:00
other.c platform/x86: x86-android-tablets: Add Bluetooth support for Vexia EDU ATLA 10 2024-12-10 15:17:55 +02:00
shared-psy-info.c platform/x86: x86-android-tablets: Fix spelling in the comments 2024-09-04 20:19:20 +02:00
shared-psy-info.h
vexia_atla10_ec.c platform/x86: x86-android-tablets: Add Vexia EDU ATLA 10 EC battery driver 2024-12-10 15:29:40 +02:00
x86-android-tablets.h platform/x86: x86-android-tablets: Add support for getting serdev-controller by PCI parent 2024-12-10 15:17:53 +02:00