Re: [PATCH] PCI: dwc: artpec6: Add reset-gpios for PERST# control

From: Rob Herring
Date: Mon Apr 16 2018 - 17:35:10 EST


On Sun, Apr 15, 2018 at 08:56:21PM +0200, Jesper Nilsson wrote:
> Some devices need an optional external gpio for controlling
> the PERST# signal to bring up for example a PCIe switch
> after a soft reset.
>
> Without this, some boards (the ARTPEC-6 master devboard)
> would not get the PCIe link back after a soft reset.
>
> Signed-off-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>
> ---
> .../devicetree/bindings/pci/axis,artpec6-pcie.txt | 4 ++++
> drivers/pci/dwc/pcie-artpec6.c | 20 +++++++++++++++++++-
> 2 files changed, 23 insertions(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>