Tim Harvey c1f6fd2bb7 pci: imx: use reset-gpios if defined by device-tree
If reset-gpio is defined by device-tree use that if
CONFIG_PCIE_IMX_PERST_GPIO is not defined.

Note that after this the following boards which define
CONFIG_PCIE_IMX_PERST_GPIO in their board header file as well as their
device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without
consequence:
 - mx6sabresd
 - mx6sxsabresd
 - novena
 - tbs2910
 - vining_2000

Note that the ge_bx50v3 board uses CONFIG_PCIE_IMX_PERST_GPIO and does
not have reset-gpios defined it it's pcie node in the dt thus removing
CONFIG_PCIE_IMX_PERST_GPIO globally can't be done until that board adds
reset-gpios.

Cc: Ian Ray <ian.ray@ge.com> (maintainer:GE BX50V3 BOARD)
Cc: Sebastian Reichel <sebastian.reichel@collabora.com> (maintainer:GE BX50V3 BOARD)
Cc: Fabio Estevam <festevam@gmail.com> (maintainer:MX6SABRESD BOARD)
Cc: Marek Vasut <marex@denx.de> (maintainer:NOVENA BOARD)
Cc: Soeren Moch <smoch@web.de> (maintainer:TBS2910 BOARD)
Cc: Silvio Fricke <open-source@softing.de> (maintainer:VINING_2000 BOARD)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2021-07-10 16:53:34 +02:00
..
2021-04-10 07:57:29 -04:00
2021-07-06 14:07:36 -04:00
2021-07-07 22:22:42 -04:00
2020-09-01 13:38:39 +08:00
2021-07-07 19:52:24 -04:00
2021-04-10 08:04:55 -04:00
2021-05-02 12:46:54 +02:00
2021-07-07 10:17:54 -04:00
2021-07-07 19:52:24 -04:00
2021-04-12 17:17:11 -04:00
2021-04-10 08:03:30 -04:00
2021-06-17 09:40:58 +08:00
2021-07-07 10:17:54 -04:00
2021-07-07 19:52:23 -04:00
2021-07-07 19:52:24 -04:00