RE: [PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for layerscape
From: M.h. Lian
Date: Thu Nov 02 2017 - 05:31:43 EST
Acked-by: Minghuan Lian <minghuan.Lian@xxxxxxx>
> -----Original Message-----
> From: Bao Xiaowei [mailto:xiaowei.bao@xxxxxxx]
> Sent: Tuesday, October 24, 2017 4:31 PM
> To: robh+dt@xxxxxxxxxx; mark.rutland@xxxxxxx; catalin.marinas@xxxxxxx;
> will.deacon@xxxxxxx; bhelgaas@xxxxxxxxxx; shawnguo@xxxxxxxxxx;
> Madalin-cristian Bucur <madalin.bucur@xxxxxxx>; Sumit Garg
> <sumit.garg@xxxxxxx>; Y.b. Lu <yangbo.lu@xxxxxxx>; hongtao.jia@xxxxxxx;
> Andy Tang <andy.tang@xxxxxxx>; Leo Li <leoyang.li@xxxxxxx>;
> kishon@xxxxxx; jingoohan1@xxxxxxxxx; pbrobinson@xxxxxxxxx;
> songxiaowei@xxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-arm-
> kernel@xxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linux-
> pci@xxxxxxxxxxxxxxx; linuxppc-dev@xxxxxxxxxxxxxxxx; Z.q. Hou
> <zhiqiang.hou@xxxxxxx>; Mingkai Hu <mingkai.hu@xxxxxxx>; M.h. Lian
> <minghuan.lian@xxxxxxx>
> Cc: Xiaowei Bao <xiaowei.bao@xxxxxxx>
> Subject: [PATCH 3/3] ARMv8: pcie: make the DWC EP driver support for
> layerscape
>
> Layerscape pcie controllers support RC or EP mode, Add the EP mode support in
> Kconfig, the driver will support both RC and EP mode, and the driver is able to
> judge the pcie controllers work on RC or EP mode.
>
> Signed-off-by: Bao Xiaowei <xiaowei.bao@xxxxxxx>
> ---
> drivers/pci/dwc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/dwc/Kconfig b/drivers/pci/dwc/Kconfig index
> 22ec82fcdea2..b5f507795779 100644
> --- a/drivers/pci/dwc/Kconfig
> +++ b/drivers/pci/dwc/Kconfig
> @@ -108,6 +108,7 @@ config PCI_LAYERSCAPE
> depends on PCI_MSI_IRQ_DOMAIN
> select MFD_SYSCON
> select PCIE_DW_HOST
> + select PCIE_DW_EP
> help
> Say Y here if you want PCIe controller support on Layerscape SoCs.
>
> --
> 2.14.1