diff options
author | Petr Štetiar <ynezz@true.cz> | 2015-11-27 11:56:34 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-12-04 14:05:05 -0600 |
commit | 5c5fb40de8f14391a1238db05cef88754faf9229 (patch) | |
tree | 322fe29af7fcae87e0f52ff9802f1635bf383352 /Documentation | |
parent | bd534e691adada9697b47b6c27acbca611c6fad4 (diff) | |
download | blackbird-op-linux-5c5fb40de8f14391a1238db05cef88754faf9229.tar.gz blackbird-op-linux-5c5fb40de8f14391a1238db05cef88754faf9229.zip |
PCI: imx6: Add support for active-low reset GPIO
We previously used of_get_named_gpio(), which ignores the OF flags cell, so
the reset GPIO defaulted to "active high." This doesn't work on the Toradex
Apalis SoM with Ixora base board, which has an active-low reset GPIO.
Use devm_gpiod_get_optional() instead so we pay attention to the active
high/low flag. This also adds support for GPIOs described via ACPI.
[bhelgaas: changelog]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions