On 04/16/2014 09:24 PM, Lan Tianyu wrote: > ACPI 5.0 spec(5.5.2.4.5) defines GenericSerialBus(i2c, spi, uart) operation > region. It allows ACPI aml code able to access such kind of devices to > implement some ACPI standard method. > > On the Asus T100TA, Bios use GenericSerialBus operation region to access > i2c device to get battery info. So battery function depends on the I2C > operation region support. Here is the bug link. > https://bugzilla.kernel.org/show_bug.cgi?id=69011 Completely fixing battery issue on the Asus T100TA also needs ACPI _DEP support. The feature is under developing. Attach a temporary patch for test. > > This patchset is to add I2C ACPI operation region handler support. > > [PATCH 1/9] ACPICA: Executer: Fix buffer allocation issue for > [PATCH 2/9] ACPICA: Export acpi_buffer_to_resource symbol > [PATCH 3/9] ACPI: Add acpi_bus_attach_private_data() to facilitate to > [PATCH 4/9] ACPI/Thermal: Use acpi_bus_attach_private_data() to > [PATCH 5/9] I2C: Add smbus quick read/write helper function > [PATCH 6/9] I2C: Add smbus word/block process call helper function > [PATCH 7/9] I2C/ACPI: Add i2c ACPI operation region support > [PATCH 8/9] I2C/ACPI: Move ACPI related code to i2c-acpi.c > [PATCH 9/9] I2C/ACPI: Add CONFIG_I2C_ACPI config >