summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlavio Suligoi <f.suligoi@asem.it>2021-01-08 16:24:47 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-01-22 16:31:01 +0100
commit731e97e0769805cdebfd7d2b19a7d3f6abcace09 (patch)
treed8d33477fff2bcbcec85d2c25cacea9610ebe853
parentLinux 5.11-rc4 (diff)
downloadlinux-731e97e0769805cdebfd7d2b19a7d3f6abcace09.tar.xz
linux-731e97e0769805cdebfd7d2b19a7d3f6abcace09.zip
Documentation: ACPI: add new rule for gpio-line-names
The gpio-line-names lists must respect some rules. This patch adds a new rule in documentation, to avoid the use of duplicate names in the same gpiochip. Signed-off-by: Flavio Suligoi <f.suligoi@asem.it> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--Documentation/firmware-guide/acpi/gpio-properties.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/firmware-guide/acpi/gpio-properties.rst b/Documentation/firmware-guide/acpi/gpio-properties.rst
index b36aa3e743d8..4e264c16ddff 100644
--- a/Documentation/firmware-guide/acpi/gpio-properties.rst
+++ b/Documentation/firmware-guide/acpi/gpio-properties.rst
@@ -146,6 +146,7 @@ following rules (see also the examples):
other words, it is not mandatory to fill all the GPIO lines
- empty names are allowed (two quotation marks ``""`` correspond to an empty
name)
+ - names inside one GPIO controller/expander must be unique
Example of a GPIO controller of 16 lines, with an incomplete list with two
empty names::