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
Acked-by: Minghuan Lian
---
v2:
no change
v3:
no change
Add the pcie controller ep function support of layerscape base on
pcie ep framework.
Signed-off-by: Bao Xiaowei
---
v2:
- fix the ioremap function used but no ioumap issue
- optimize the code structure
- add code comments
v3:
- fix the msi outband window request failed issue
v4
Add the property of inbound and outbound windows number for ep
driver.
Signed-off-by: Bao Xiaowei
Acked-by: Minghuan Lian
---
v2:
- no change
v3:
- modify the commit message
v4:
- no change
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff
Depend on http://patchwork.ozlabs.org/patch/815382/
Bao Xiaowei (3):
ARMv8: dts: ls1046a: add the property of IB and OB
ARMv8: layerscape: add the pcie ep function support
ARMv8: pcie: make the DWC EP driver support for layerscape
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6
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
Acked-by: Minghuan Lian
---
v2:
no change
v3:
no change
Add the pcie controller ep function support of layerscape base on
pcie ep framework.
Signed-off-by: Bao Xiaowei
---
v2:
- fix the ioremap function used but no ioumap issue
- optimize the code structure
- add code comments
v3:
- fix the msi outband window request failed issue
Add the property of inbound and outbound windows number for ep
driver.
Signed-off-by: Bao Xiaowei
Acked-by: Minghuan Lian
---
v2:
- no change
v3:
- modify the commit message
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64
Depend on http://patchwork.ozlabs.org/patch/815382/
Bao Xiaowei (3):
ARMv8: dts: ls1046a: add the property of IB and OB
ARMv8: layerscape: add the pcie ep function support
ARMv8: pcie: make the DWC EP driver support for layerscape
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6
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
Acked-by: Minghuan Lian
---
v2:
- no change
drivers/pci
Add the pcie controller ep function support of layerscape base on
pcie ep framework.
Signed-off-by: Bao Xiaowei
---
v2:
- fix the ioremap function used but no ioumap issue
- optimize the code structure
- add code comments
drivers/pci/dwc/pci-layerscape.c | 122
Add the property of inbind and outbind windows number for ep
driver.
add the inband or outband window entry for pcie controller
ep driver used in dts.
Signed-off-by: Bao Xiaowei
Acked-by: Minghuan Lian
---
v2:
- no change
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++
1 file
Depend on http://patchwork.ozlabs.org/patch/815382/
Bao Xiaowei (3):
ARMv8: dts: ls1046a: add the property of IB and OB
ARMv8: layerscape: add the pcie ep function support
ARMv8: pcie: make the DWC EP driver support for layerscape
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6
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
---
drivers/pci/dwc/Kconfig | 1 +
1 file changed, 1
Add the pcie controller ep function support of layerscape base on
pcie ep framework.
Signed-off-by: Bao Xiaowei
---
drivers/pci/dwc/pci-layerscape.c | 137 +--
1 file changed, 131 insertions(+), 6 deletions(-)
diff --git a/drivers/pci/dwc/pci-layerscape.c b
Add the property of inbind and outbind windows number for ep
driver.
add the inband or outband window entry for pcie controller
ep driver used in dts.
Signed-off-by: Bao Xiaowei
---
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch
Depend on http://patchwork.ozlabs.org/patch/815382/
Bao Xiaowei (3):
ARMv8: dts: ls1046a: add the property of IB and OB
ARMv8: layerscape: add the pcie ep function support
ARMv8: pcie: make the DWC EP driver support for layerscape
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6
16 matches
Mail list logo