ACPI / gpio: Add hogging support
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 21 Oct 2016 14:21:30 +0000 (17:21 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Oct 2016 14:33:11 +0000 (16:33 +0200)
commitc80f1ba75df25837fb76044e06686b6587d33f6a
treef39b7fd7795bf25d0d6f19df7a86b57b667c0f06
parent6f7194a10bdba1588357342c6daaaeef98e0004f
ACPI / gpio: Add hogging support

GPIO hogging means that the GPIO controller can "hog" and configure certain
GPIOs without need for a driver or userspace to do that. This is useful in
open-connected boards where BIOS cannot possibly know beforehand which
devices will be connected to the board.

This adds GPIO hogging mechanism to ACPI analogous to Device Tree.

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>
Documentation/acpi/gpio-properties.txt
drivers/gpio/gpiolib-acpi.c