]> Git Repo - u-boot.git/commit
pci: imx: use reset-gpios if defined by device-tree
authorTim Harvey <[email protected]>
Tue, 6 Jul 2021 17:19:09 +0000 (10:19 -0700)
committerStefano Babic <[email protected]>
Sat, 10 Jul 2021 14:53:34 +0000 (16:53 +0200)
commitc1f6fd2bb7fa19ec166584c1cce50b5fde93e8ac
tree5134f573a6dd3b93ecb2ecd72b1774659f708efc
parent96f747b1f0e6762bc1b1ce41f4e315431f0c3279
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 <[email protected]> (maintainer:GE BX50V3 BOARD)
Cc: Sebastian Reichel <[email protected]> (maintainer:GE BX50V3 BOARD)
Cc: Fabio Estevam <[email protected]> (maintainer:MX6SABRESD BOARD)
Cc: Marek Vasut <[email protected]> (maintainer:NOVENA BOARD)
Cc: Soeren Moch <[email protected]> (maintainer:TBS2910 BOARD)
Cc: Silvio Fricke <[email protected]> (maintainer:VINING_2000 BOARD)
Signed-off-by: Tim Harvey <[email protected]>
arch/arm/include/asm/arch-mx6/sys_proto.h
board/gateworks/gw_ventana/gw_ventana.c
drivers/pci/pcie_imx.c
This page took 0.037637 seconds and 4 git commands to generate.