Skip to content

Commit 0d6c41c

Browse files
andy-shevrafaeljw
authored andcommitted
Documentation: firmware-guide: gpio-properties: active_low only for GpioIo()
It appears that people may misinterpret active_low field in _DSD for GpioInt() resource. Add a paragraph to clarify this. Reported-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 1bd3387 commit 0d6c41c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Documentation/firmware-guide/acpi/gpio-properties.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Since ACPI GpioIo() resource does not have a field saying whether it is
5555
active low or high, the "active_low" argument can be used here. Setting
5656
it to 1 marks the GPIO as active low.
5757

58+
Note, active_low in _DSD does not make sense for GpioInt() resource and
59+
must be 0. GpioInt() resource has its own means of defining it.
60+
5861
In our Bluetooth example the "reset-gpios" refers to the second GpioIo()
5962
resource, second pin in that resource with the GPIO number of 31.
6063

0 commit comments

Comments
 (0)