[PATCH v2] pci: imx: use reset-gpios if defined by device-tree

sbabic at denx.de sbabic at denx.de
Sat Jul 10 17:53:24 CEST 2021


> 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 at ge.com> (maintainer:GE BX50V3 BOARD)
> Cc: Sebastian Reichel <sebastian.reichel at collabora.com> (maintainer:GE BX50V3 BOARD)
> Cc: Fabio Estevam <festevam at gmail.com> (maintainer:MX6SABRESD BOARD)
> Cc: Marek Vasut <marex at denx.de> (maintainer:NOVENA BOARD)
> Cc: Soeren Moch <smoch at web.de> (maintainer:TBS2910 BOARD)
> Cc: Silvio Fricke <open-source at softing.de> (maintainer:VINING_2000 BOARD)
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list