Skip to content

Commit ec3576e

Browse files
andy-shevrafaeljw
authored andcommitted
Documentation: firmware-guide: gpio-properties: Add note to SPI CS case
Historically ACPI has no means of the GPIO polarity and thus the SPISerialBus() resource defines it on the per-chip basis. In order to avoid an ambiguity, the GPIO polarity is considered being always Active High. Add note about this to the respective documentation file. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent d8f9176 commit ec3576e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ native::
9999
}
100100
}
101101

102+
Note, that historically ACPI has no means of the GPIO polarity and thus
103+
the SPISerialBus() resource defines it on the per-chip basis. In order
104+
to avoid a chain of negations, the GPIO polarity is considered being
105+
Active High. Even for the cases when _DSD() is involved (see the example
106+
above) the GPIO CS polarity must be defined Active High to avoid ambiguity.
107+
102108
Other supported properties
103109
==========================
104110

0 commit comments

Comments
 (0)