linux/Documentation/acpi
Mika Westerberg 12028d2d21 gpiolib-acpi: introduce acpi_get_gpio_by_index() helper
Instead of open-coding ACPI GPIO resource lookup in each driver, we provide
a helper function analogous to Device Tree version that allows drivers to
specify which GPIO resource they are interested (using an index to the GPIO
resources). The function then finds out the correct resource, translates
the ACPI GPIO number to the corresponding Linux GPIO number and returns
that.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-04-12 00:31:18 +02:00
..
apei Update documentation for parameter *notrigger* in einj.txt 2012-03-30 03:30:19 -04:00
debug.txt
dsdt-override.txt
enumeration.txt gpiolib-acpi: introduce acpi_get_gpio_by_index() helper 2013-04-12 00:31:18 +02:00
initrd_table_override.txt ACPI: Document ACPI table overriding via initrd 2012-09-30 18:03:41 -07:00
method-customizing.txt ACPI: Split out custom_method functionality into an own driver 2011-05-29 01:50:40 -04:00
method-tracing.txt
scan_handlers.txt ACPI / scan: Introduce struct acpi_scan_handler 2013-01-30 14:27:29 +01:00