[PW_SID:991198] Introduce SpacemiT K1 PCIe phy and host controller - #773
[PW_SID:991198] Introduce SpacemiT K1 PCIe phy and host controller#773linux-riscv-bot wants to merge 6 commits into
Conversation
Add the Device Tree binding for the PCIe/USB 3.0 combo PHY found in the SpacemiT K1 SoC. This is one of three PCIe PHYs, and is unusual in that only the combo PHY can perform a calibration step needed to determine settings used by the other two PCIe PHYs. Calibration must be done with the combo PHY in PCIe mode, and to allow this to occur independent of the eventual use for the PHY (PCIe or USB) some PCIe-related properties must be supplied: clocks; resets; and a syscon phandle. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add the Device Tree binding for two PCIe PHYs present on the SpacemiT K1 SoC. These PHYs are dependent on a separate combo PHY, which determines at probe time the calibration values used by the PCIe-only PHYs. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add the Device Tree binding for the PCIe root complex found on the SpacemiT K1 SoC. This device is derived from the Synopsys Designware PCIe IP. It supports up to three PCIe ports operating at PCIe gen 2 link speeds (5 GT/sec). One of the ports uses a combo PHY, which is typically used to support a USB 3 port. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Introduce a driver that supports three PHYs found on the SpacemiT K1 SoC. The first PHY is a combo PHY that can be configured for use for either USB 3 or PCIe. The other two PHYs support PCIe only. All three PHYs must be programmed with an 8 bit receiver termination value, which must be determined dynamically; only the combo PHY is able to determine this value. The combo PHY performs a special calibration step at probe time to discover this, and that value is used to program each PHY that operates in PCIe mode. The combo PHY must therefore be probed--first--if either of the PCIe-only PHYs will be used. During normal operation, the USB or PCIe driver using the PHY must ensure clocks and resets are set up properly. However clocks are enabled and resets are de-asserted temporarily by this driver to perform the calibration step on the combo PHY. Tested-by: Junzhong Pan <panjunzhong@linux.spacemit.com> Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Introduce a driver for the PCIe root complex found in the SpacemiT K1 SoC. The hardware is derived from the Synopsys DesignWare PCIe IP. The driver supports three PCIe ports that operate at PCIe v2 transfer rates (5 GT/sec). The first port uses a combo PHY, which may be configured for use for USB 3 instead. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Define PCIe and PHY-related Device Tree nodes for the SpacemiT K1 SoC. Enable the combo PHY and the two PCIe-only PHYs on the Banana Pi BPI-F3 board. The combo PHY is used for USB on this board, and that will be enabled when USB 3 support is accepted. Signed-off-by: Alex Elder <elder@riscstar.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY" |
|
Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY" |
|
Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY" |
|
Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY" |
|
Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
|
Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates" |
PR for series 991198 applied to workflow__riscv__fixes
Name: Introduce SpacemiT K1 PCIe phy and host controller
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=991198
Version: 1