PCI: imx6: Allow probe deferral by reset GPIO
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 28 Mar 2017 15:42:50 +0000 (08:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Apr 2017 22:54:21 +0000 (17:54 -0500)
commitbde4a5a00e761f55be92f62378cf5024ced79ee3
tree43ad74ab81da00a4bd69d3e3dad521ff1806aa20
parent9b3fe6796d7c0e0c2b87243ce0c7f4744c54efad
PCI: imx6: Allow probe deferral by reset GPIO

Some designs implement reset GPIO via a GPIO expander connected to a
peripheral bus.  One such example would be i.MX7 Sabre board where said
GPIO is provided by SPI shift register connected to a bitbanged SPI bus.
To support such designs, allow reset GPIO request to defer probing of the
driver.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Cc: yurovsky@gmail.com
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Dong Aisheng <dongas86@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
drivers/pci/dwc/pci-imx6.c