[Resend Patch 0/9] I2C ACPI operation region handler support

From: Lan Tianyu
Date: Tue Apr 22 2014 - 02:32:16 EST


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

This patchset is to add I2C ACPI operation region handler support.

[Resend Patch 1/9] ACPICA: Executer: Fix buffer allocation issue for
[Resend Patch 2/9] ACPICA: Export acpi_buffer_to_resource symbol
[Resend Patch 3/9] ACPI: Add acpi_bus_attach_private_data() to
[Resend Patch 4/9] ACPI/Thermal: Use acpi_bus_attach_private_data()
[Resend Patch 5/9] I2C: Add smbus quick read/write helper function
[Resend Patch 6/9] I2C: Add smbus word/block process call helper
[Resend Patch 7/9] I2C/ACPI: Add i2c ACPI operation region support
[Resend Patch 8/9] I2C/ACPI: Move ACPI related code to i2c-acpi.c
[Resend Patch 9/9] I2C/ACPI: Add CONFIG_I2C_ACPI config

drivers/acpi/acpica/exfield.c | 104 +++++++++++++++++++++++++++++++++++++++++++++----
drivers/acpi/acpica/rscreate.c | 1 +
drivers/acpi/bus.c | 18 ++++++++-
drivers/acpi/thermal.c | 9 ++---
drivers/i2c/Kconfig | 17 +++++++-
drivers/i2c/Makefile | 5 ++-
drivers/i2c/i2c-acpi.c | 371 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/i2c/i2c-core.c | 183 +++++++++++++++++++++++++++++++++++++++++--------------------------------------------
include/acpi/acpi_bus.h | 1 +
include/linux/acpi.h | 11 ++++++
include/linux/i2c.h | 19 +++++++++
11 files changed, 628 insertions(+), 111 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/