summaryrefslogtreecommitdiff
path: root/Documentation/acpi/gpio-properties.txt
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2016-10-21 17:21:32 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-10-24 17:33:11 +0300
commit4035cc15b99f4f4a4e29081b82aca010137e33da (patch)
tree763f6b5ed713deb78cd277704fb6ba02f82d1fd4 /Documentation/acpi/gpio-properties.txt
parent9427ecbed46cc8425338084ae42ce8749566586f (diff)
downloadlinux-4035cc15b99f4f4a4e29081b82aca010137e33da.tar.xz
ACPI / gpio: Add support for naming GPIOs
Now that we have the new helper function that sets nice names for GPIO lines based on "gpio-line-names" device property, we can take advantage of this in acpi_gpiochip_add(). Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/acpi/gpio-properties.txt')
-rw-r--r--Documentation/acpi/gpio-properties.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/acpi/gpio-properties.txt b/Documentation/acpi/gpio-properties.txt
index d9076af271f5..2aff0349facd 100644
--- a/Documentation/acpi/gpio-properties.txt
+++ b/Documentation/acpi/gpio-properties.txt
@@ -98,6 +98,18 @@ Example:
}
})
+- gpio-line-names
+
+Example:
+
+ Package () {
+ "gpio-line-names",
+ Package () {
+ "SPI0_CS_N", "EXP2_INT", "MUX6_IO", "UART0_RXD", "MUX7_IO",
+ "LVL_C_A1", "MUX0_IO", "SPI1_MISO"
+ }
+ }
+
See Documentation/devicetree/bindings/gpio/gpio.txt for more information
about these properties.