Add StarFive JH7110 PCIe drvier support
v6 cover Add StarFive JH7110 PCIe drvier support
These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive V2 board.
The PCIe driver depends on gpio, pinctrl, clk and reset driver to do init. The PCIe dts configuation includes all these setting.
The PCIe drivers codes has been tested on the VisionFive V2 boards. The test devices includes M.2 NVMe SSD and Realtek 8169 Ethernet adapter.
previous patch version
v1: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v2: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v3: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v4: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v5: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
changes
v6
patch 2
1. Change one VisionFive2 config file.
patch 3
1. remove the pcie interrupt-controller. interrupts setting revert to origin.
setting.
v5
patch 1
1. split PLDA controller driver codes to pcie_plda_common.c
2. correct the codes of record secondary number.
patch 3
1. change the pcie dtsi config. make them the same with kernel.
v4
patch 1
1. Remove the IDS_REVISION_ID macros.
2. Replace sec_busno to first_busno in starfive_pcie
3. Remove starfive_pcie_off_conf function.
4. Replace "imply" to "depends on" in PCIe Kconfig. 5 .Check sec_busno in starfive_pcie_addr_valid.
v3
patch 1
1. remove the read vendor ID delay
2. remove starfive_pcie_hide_rc_bar function. do not hide host
bridge BAR write.
3. Using PCIE_ECAM_OFFSET and PCI_CLASS_BRIDGE_PCI_NORMAL macros.
4. Add comments for bus and address limitation reason in function starfive_pcie_addr_valid
5. Change the multiple line comments in Line 373
6. Using gpio_request_by_name to get PCIe reset gpio,and using dm_gpio_set_value set GPIO value.
patch 2
1. support PCIeboth 12a and 13b vf2 board.
patch 3
1. reset dts change to reset-gpio.
v2
1. remove clock commit. The pcie clocks change has been includeded in [1].
2. Using GENMASK marco1 in patch1.
3. remove the syscon dts node in patch3. The syscon dts dts node has been included in [1].
Mason Huo (3):
starfive: pci: Add StarFive JH7110 pcie driver
configs: starfive-jh7110: Add support for PCIe host driver
riscv: dts: starfive: Enable PCIe host controller
.../dts/jh7110-starfive-visionfive-2.dtsi | 11 + arch/riscv/dts/jh7110.dtsi | 74 ++++ configs/starfive_visionfive2_defconfig | 10 + drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++ drivers/pci/pcie_plda_common.h | 118 +++++++ drivers/pci/pcie_starfive_jh7110.c | 317 ++++++++++++++++++ 8 files changed, 661 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644 drivers/pci/pcie_plda_common.h create mode 100644 drivers/pci/pcie_starfive_jh7110.c
base-commit: c9c2c95d4cd27fe0cd41fe13a863899d268f973c
Signature · 1 line
2.17.1
PATCH v6 1/3 starfive: pci: Add StarFive JH7110 pcie driver
From: Mason Huo <[email protected]>
Add pcie driver for StarFive JH7110, Also add PLDA PCIe controller common driver functions.
Several devices are tested:
a) M.2 NVMe SSD
b) Realtek 8169 Ethernet adapter.
--- drivers/pci/Kconfig | 13 ++ drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++++++ drivers/pci/pcie_plda_common.h | 118 +++++++++++ drivers/pci/pcie_starfive_jh7110.c | 317 +++++++++++++++++++++++++++++ 5 files changed, 566 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644 drivers/pci/pcie_plda_common.h create mode 100644 drivers/pci/pcie_starfive_jh7110.c
drivers/pci/Kconfig +13 -0
@@ -374,4 +374,17 @@ config PCIE_UNIPHIER Say Y here if you want to enable PCIe controller support on UniPhier SoCs. +config PCIE_PLDA_COMMON + bool + +config PCIE_STARFIVE_JH7110 + bool "Enable Starfive JH7110 PCIe driver" + select PCIE_PLDA_COMMON + imply STARFIVE_JH7110 + imply CLK_JH7110 + imply RESET_JH7110 + help + Say Y here if you want to enable PLDA XpressRich PCIe controller + support on StarFive JH7110 SoC. + endif
drivers/pci/Makefile +2 -0
@@ -49,3 +49,5 @@ obj-$(CONFIG_PCI_OCTEONTX) += pci_octeontx.o obj-$(CONFIG_PCIE_OCTEON) += pcie_octeon.o obj-$(CONFIG_PCIE_DW_SIFIVE) += pcie_dw_sifive.o obj-$(CONFIG_PCIE_UNIPHIER) += pcie_uniphier.o +obj-$(CONFIG_PCIE_PLDA_COMMON) += pcie_plda_common.o +obj-$(CONFIG_PCIE_STARFIVE_JH7110) += pcie_starfive_jh7110.o
drivers/pci/pcie_plda_common.c new file +116 -0
116 lines not on this page · raw message
drivers/pci/pcie_plda_common.h new file +118 -0
118 lines not on this page · raw message
drivers/pci/pcie_starfive_jh7110.c new file +317 -0
317 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v6 2/3 configs: starfive-jh7110: Add support for PCIe host driver
In reply to Minda ChenFrom: Mason Huo <[email protected]>
also add the nvme driver and rtl8169 support.
--- configs/starfive_visionfive2_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)
configs/starfive_visionfive2_defconfig +10 -0
@@ -16,6 +16,7 @@ CONFIG_SPL=y CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x82000000 +CONFIG_SYS_PCI_64BIT=y CONFIG_TARGET_STARFIVE_VISIONFIVE2=y CONFIG_SPL_OPENSBI_LOAD_ADDR=0x40000000 CONFIG_ARCH_RV64I=y
@@ -49,9 +50,12 @@ CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_CBSIZE=256 CONFIG_SYS_PBSIZE=276 CONFIG_SYS_BOOTM_LEN=0x4000000 +CONFIG_CMD_PCI=y CONFIG_CMD_MEMINFO=y CONFIG_CMD_TFTPPUT=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_REGMAP=y +CONFIG_SYSCON=y CONFIG_SPL_CLK_COMPOSITE_CCF=y CONFIG_CLK_COMPOSITE_CCF=y CONFIG_SPL_CLK_JH7110=y
@@ -65,6 +69,12 @@ CONFIG_SPI_FLASH_EON=y CONFIG_SPI_FLASH_GIGADEVICE=y CONFIG_SPI_FLASH_ISSI=y CONFIG_SPI_FLASH_MACRONIX=y +CONFIG_RTL8169=y +CONFIG_NVME_PCI=y +CONFIG_PCI=y +CONFIG_DM_PCI_COMPAT=y +CONFIG_PCI_REGION_MULTI_ENTRY=y +CONFIG_PCIE_STARFIVE_JH7110=y CONFIG_PINCTRL=y CONFIG_PINCONF=y CONFIG_SPL_PINCTRL=y
Signature · 1 line
2.17.1
PATCH v6 3/3 riscv: dts: starfive: Enable PCIe host controller
In reply to Minda ChenFrom: Mason Huo <[email protected]>
Enable and add pinctrl configuration for PCIe host controller. Also add JH7110 stg syscon configuration.
--- .../dts/jh7110-starfive-visionfive-2.dtsi | 11 +++ arch/riscv/dts/jh7110.dtsi | 74 +++++++++++++++++++ 2 files changed, 85 insertions(+)
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi +11 -0
@@ -7,6 +7,7 @@ #include "jh7110.dtsi" #include <dt-bindings/pinctrl/pinctrl-starfive-jh7110.h> +#include <dt-bindings/gpio/gpio.h> / { aliases { serial0 = &uart0;
@@ -300,6 +301,16 @@ }; }; +&pcie0 { + reset-gpios = <&sysgpio 26 GPIO_ACTIVE_LOW>; + status = "disabled"; +}; + +&pcie1 { + reset-gpios = <&sysgpio 28 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + &syscrg { assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_ROOT>, <&syscrg JH7110_SYSCLK_BUS_ROOT>,
arch/riscv/dts/jh7110.dtsi +74 -0
79 lines not on this page · raw message
Signature · 1 line
2.17.1
Hi Rick and Leo
Could you review these series patches? Thanks.
Since patch 1 was acked by Pali, Does it mean patch 1 is accepted?
Quoted 82 lines · Minda Chen
These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive V2 board.
The PCIe driver depends on gpio, pinctrl, clk and reset driver to do init. The PCIe dts configuation includes all these setting.
The PCIe drivers codes has been tested on the VisionFive V2 boards. The test devices includes M.2 NVMe SSD and Realtek 8169 Ethernet adapter.
previous patch version
v1: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v2: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v3: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v4: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v5: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/changes
v6
patch 2
1. Change one VisionFive2 config file.
patch 3
1. remove the pcie interrupt-controller. interrupts setting revert to origin.setting.
v5
patch 1
1. split PLDA controller driver codes topcie_plda_common.c
2. correct the codes of record secondary number.
patch 3
1. change the pcie dtsi config. make them the same with kernel.v4
patch 1
1. Remove theIDS_REVISION_IDmacros.
2. Replacesec_busnotofirst_busnoinstarfive_pcie
3. Removestarfive_pcie_off_conffunction.
4. Replace "imply" to "depends on" in PCIeKconfig. 5 .Checksec_busnoinstarfive_pcie_addr_valid.v3
patch 1
1. remove the read vendor ID delay
2. removestarfive_pcie_hide_rc_barfunction. do not hide host
bridge BAR write.
3. UsingPCIE_ECAM_OFFSETandPCI_CLASS_BRIDGE_PCI_NORMALmacros.
4. Add comments for bus and address limitation reason in functionstarfive_pcie_addr_valid
5. Change the multiple line comments in Line 373
6. Usinggpio_request_by_nameto get PCIe reset gpio,and usingdm_gpio_set_valueset GPIO value.
patch 2
1. support PCIeboth 12a and 13b vf2 board.
patch 3
1. reset dts change to reset-gpio.v2
1. remove clock commit. The pcie clocks change has been includeded in [1].
2. Using GENMASK marco1 in patch1.
3. remove the syscon dts node in patch3. The syscon dts dts node has been included in [1].Mason Huo (3):
starfive: pci: Add StarFive JH7110 pcie driver
configs: starfive-jh7110: Add support for PCIe host driver
riscv: dts: starfive: Enable PCIe host controller.../dts/jh7110-starfive-visionfive-2.dtsi | 11 + arch/riscv/dts/jh7110.dtsi | 74 ++++ configs/starfive_visionfive2_defconfig | 10 + drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++ drivers/pci/pcie_plda_common.h | 118 +++++++ drivers/pci/pcie_starfive_jh7110.c | 317 ++++++++++++++++++ 8 files changed, 661 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644 drivers/pci/pcie_plda_common.h create mode 100644 drivers/pci/pcie_starfive_jh7110.cbase-commit:
c9c2c95d4cd27fe0cd41fe13a863899d268f973c
A message that is not in the archive (sent off-list or not yet received): SEZPR03MB8064B3AAE410B18637211327C150A@SEZPR03MB8064.apcprd03.prod.outlook.com
Hi Minda
Quoted 10 lines
From: Minda Chen <[email protected]>
Sent: Thursday, June 01, 2023 9:07 AM
To: Leo Yu-Chi Liang(梁育齊) <[email protected]>; Rick Jian-Zhi Chen(陳建志) <[email protected]>; Simon Glass <[email protected]>; Stefan Roese <[email protected]>; Andrew Scull <[email protected]>; Pali Rohár <[email protected]>; Mark Kettenis <[email protected]>
Cc: [email protected]; Mason Huo <[email protected]>; Leyfoon Tan <[email protected]>; Kevin Xie <[email protected]>
Subject: Re: [PATCH v6 0/3] Add StarFive JH7110 PCIe drvier supportHi Rick and Leo
Could you review these series patches? Thanks.
Since patch 1 was acked by Pali, Does it mean patch 1 is accepted?
OK, we will review these series patches ASAP and help to push.
Thanks,
Rick
Quoted 94 lines · Minda Chen
Quoted 92 lines
These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive V2 board.
The PCIe driver depends on gpio, pinctrl, clk and reset driver to do init. The PCIe dts configuation includes all these setting.
The PCIe drivers codes has been tested on the VisionFive V2 boards. The test devices includes M.2 NVMe SSD and Realtek 8169 Ethernet adapter.
previous patch version
v1:
https://patchwork.ozlabs.org/project/uboot/cover/20230223105240.15180-
[email protected]/
v2:
https://patchwork.ozlabs.org/project/uboot/cover/20230308054833.95730-
[email protected]/
v3:
https://patchwork.ozlabs.org/project/uboot/cover/20230329100143.10724-
[email protected]/
v4:
https://patchwork.ozlabs.org/project/uboot/cover/20230411010209.76561-
[email protected]/
v5:
https://patchwork.ozlabs.org/project/uboot/cover/20230423105859.125764
[email protected]/changes
v6
patch 2
1. Change one VisionFive2 config file.
patch 3
1. remove the pcie interrupt-controller. interrupts setting revert to origin.setting.
v5
patch 1
1. split PLDA controller driver codes topcie_plda_common.c
2. correct the codes of record secondary number.
patch 3
1. change the pcie dtsi config. make them the same with kernel.v4
patch 1
1. Remove theIDS_REVISION_IDmacros.
2. Replacesec_busnotofirst_busnoinstarfive_pcie
3. Removestarfive_pcie_off_conffunction.
4. Replace "imply" to "depends on" in PCIeKconfig. 5 .Checksec_busnoinstarfive_pcie_addr_valid.v3
patch 1
1. remove the read vendor ID delay
2. removestarfive_pcie_hide_rc_barfunction. do not hide host
bridge BAR write.
3. UsingPCIE_ECAM_OFFSETandPCI_CLASS_BRIDGE_PCI_NORMALmacros.
4. Add comments for bus and address limitation reason in functionstarfive_pcie_addr_valid
5. Change the multiple line comments in Line 373
6. Usinggpio_request_by_nameto get PCIe reset gpio,and usingdm_gpio_set_valueset GPIO value.
patch 2
1. support PCIeboth 12a and 13b vf2 board.
patch 3
1. reset dts change to reset-gpio.v2
1. remove clock commit. The pcie clocks change has been includeded in [1].
2. Using GENMASK marco1 in patch1.
3. remove the syscon dts node in patch3. The syscon dts dts node has been included in [1].Mason Huo (3):
starfive: pci: Add StarFive JH7110 pcie driver
configs: starfive-jh7110: Add support for PCIe host driver
riscv: dts: starfive: Enable PCIe host controller.../dts/jh7110-starfive-visionfive-2.dtsi | 11 + arch/riscv/dts/jh7110.dtsi | 74 ++++ configs/starfive_visionfive2_defconfig | 10 + drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++ drivers/pci/pcie_plda_common.h | 118 +++++++ drivers/pci/pcie_starfive_jh7110.c | 317 ++++++++++++++++++ 8 files changed, 661 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644
drivers/pci/pcie_plda_common.hcreate mode 100644drivers/pci/pcie_starfive_jh7110.cbase-commit:
c9c2c95d4cd27fe0cd41fe13a863899d268f973c
Hi Minda,
Quoted 4 lines · Minda Chen
Hi Rick and Leo
Could you review these series patches? Thanks.
Since patch 1 was acked by Pali, Does it mean patch 1 is accepted?
I think acked-by means that the patch is considered good enough to be merged.
Aside from that, your patchset caused CI error by enabling the RTL8169 driver. Could you take a look at it ? (https://source.denx.de/u-boot/custodians/u-boot-riscv/-/jobs/638021)
It's mostly compilation warnings that are being treated as errors.
The patchset looks good to me, I could merge the patchset as soon as the CI errors are fixed!
Thanks & best regards,
Leo
Quoted 83 lines · Minda Chen
Quoted 82 lines
These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive V2 board.
The PCIe driver depends on gpio, pinctrl, clk and reset driver to do init. The PCIe dts configuation includes all these setting.
The PCIe drivers codes has been tested on the VisionFive V2 boards. The test devices includes M.2 NVMe SSD and Realtek 8169 Ethernet adapter.
previous patch version
v1: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v2: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v3: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v4: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v5: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/changes
v6
patch 2
1. Change one VisionFive2 config file.
patch 3
1. remove the pcie interrupt-controller. interrupts setting revert to origin.setting.
v5
patch 1
1. split PLDA controller driver codes topcie_plda_common.c
2. correct the codes of record secondary number.
patch 3
1. change the pcie dtsi config. make them the same with kernel.v4
patch 1
1. Remove theIDS_REVISION_IDmacros.
2. Replacesec_busnotofirst_busnoinstarfive_pcie
3. Removestarfive_pcie_off_conffunction.
4. Replace "imply" to "depends on" in PCIeKconfig. 5 .Checksec_busnoinstarfive_pcie_addr_valid.v3
patch 1
1. remove the read vendor ID delay
2. removestarfive_pcie_hide_rc_barfunction. do not hide host
bridge BAR write.
3. UsingPCIE_ECAM_OFFSETandPCI_CLASS_BRIDGE_PCI_NORMALmacros.
4. Add comments for bus and address limitation reason in functionstarfive_pcie_addr_valid
5. Change the multiple line comments in Line 373
6. Usinggpio_request_by_nameto get PCIe reset gpio,and usingdm_gpio_set_valueset GPIO value.
patch 2
1. support PCIeboth 12a and 13b vf2 board.
patch 3
1. reset dts change to reset-gpio.v2
1. remove clock commit. The pcie clocks change has been includeded in [1].
2. Using GENMASK marco1 in patch1.
3. remove the syscon dts node in patch3. The syscon dts dts node has been included in [1].Mason Huo (3):
starfive: pci: Add StarFive JH7110 pcie driver
configs: starfive-jh7110: Add support for PCIe host driver
riscv: dts: starfive: Enable PCIe host controller.../dts/jh7110-starfive-visionfive-2.dtsi | 11 + arch/riscv/dts/jh7110.dtsi | 74 ++++ configs/starfive_visionfive2_defconfig | 10 + drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++ drivers/pci/pcie_plda_common.h | 118 +++++++ drivers/pci/pcie_starfive_jh7110.c | 317 ++++++++++++++++++ 8 files changed, 661 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644 drivers/pci/pcie_plda_common.h create mode 100644 drivers/pci/pcie_starfive_jh7110.cbase-commit:
c9c2c95d4cd27fe0cd41fe13a863899d268f973c
Quoted 10 lines · Leo Liang
Hi Minda,
Quoted 4 lines · Minda Chen
Hi Rick and Leo
Could you review these series patches? Thanks.
Since patch 1 was acked by Pali, Does it mean patch 1 is accepted?I think acked-by means that the patch is considered good enough to be merged.
Quoted 8 lines
Aside from that, your patchset caused CI error by enabling the RTL8169 driver. Could you take a look at it ? (https://source.denx.de/u-boot/custodians/u-boot-riscv/-/jobs/638021)
It's mostly compilation warnings that are being treated as errors.
The patchset looks good to me, I could merge the patchset as soon as the CI errors are fixed!Thanks & best regards,
Leo
Thanks. I will commit another patch to fix the warning.
Quoted 83 lines
Quoted 83 lines · Minda Chen
Quoted 82 lines
These PCIe series patches are based on the JH7110 RISC-V SoC and VisionFive V2 board.
The PCIe driver depends on gpio, pinctrl, clk and reset driver to do init. The PCIe dts configuation includes all these setting.
The PCIe drivers codes has been tested on the VisionFive V2 boards. The test devices includes M.2 NVMe SSD and Realtek 8169 Ethernet adapter.
previous patch version
v1: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v2: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v3: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v4: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
v5: https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/changes
v6
patch 2
1. Change one VisionFive2 config file.
patch 3
1. remove the pcie interrupt-controller. interrupts setting revert to origin.setting.
v5
patch 1
1. split PLDA controller driver codes topcie_plda_common.c
2. correct the codes of record secondary number.
patch 3
1. change the pcie dtsi config. make them the same with kernel.v4
patch 1
1. Remove theIDS_REVISION_IDmacros.
2. Replacesec_busnotofirst_busnoinstarfive_pcie
3. Removestarfive_pcie_off_conffunction.
4. Replace "imply" to "depends on" in PCIeKconfig. 5 .Checksec_busnoinstarfive_pcie_addr_valid.v3
patch 1
1. remove the read vendor ID delay
2. removestarfive_pcie_hide_rc_barfunction. do not hide host
bridge BAR write.
3. UsingPCIE_ECAM_OFFSETandPCI_CLASS_BRIDGE_PCI_NORMALmacros.
4. Add comments for bus and address limitation reason in functionstarfive_pcie_addr_valid
5. Change the multiple line comments in Line 373
6. Usinggpio_request_by_nameto get PCIe reset gpio,and usingdm_gpio_set_valueset GPIO value.
patch 2
1. support PCIeboth 12a and 13b vf2 board.
patch 3
1. reset dts change to reset-gpio.v2
1. remove clock commit. The pcie clocks change has been includeded in [1].
2. Using GENMASK marco1 in patch1.
3. remove the syscon dts node in patch3. The syscon dts dts node has been included in [1].Mason Huo (3):
starfive: pci: Add StarFive JH7110 pcie driver
configs: starfive-jh7110: Add support for PCIe host driver
riscv: dts: starfive: Enable PCIe host controller.../dts/jh7110-starfive-visionfive-2.dtsi | 11 + arch/riscv/dts/jh7110.dtsi | 74 ++++ configs/starfive_visionfive2_defconfig | 10 + drivers/pci/Kconfig | 13 + drivers/pci/Makefile | 2 + drivers/pci/pcie_plda_common.c | 116 +++++++ drivers/pci/pcie_plda_common.h | 118 +++++++ drivers/pci/pcie_starfive_jh7110.c | 317 ++++++++++++++++++ 8 files changed, 661 insertions(+) create mode 100644 drivers/pci/pcie_plda_common.c create mode 100644 drivers/pci/pcie_plda_common.h create mode 100644 drivers/pci/pcie_starfive_jh7110.cbase-commit:
c9c2c95d4cd27fe0cd41fe13a863899d268f973c