Skip to content

Add JH7110 USB PHY driver support

Minda Chen linux-devicetree linux-phy linux-riscv lkml 9 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest5 patches 1 replyApplied
  2. v7 posting 2/20 of 7 patches 0 repliesSuperseded
  3. v7 posting 1/25 patches 6 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v67 patches12 repliesSuperseded
v57 patches12 repliesSuperseded
v47 patches12 repliesSuperseded
v35 patches25 repliesSuperseded
v23 patches6 repliesSuperseded
v13 patches8 repliesSuperseded

Changes in v8 from the cover letter

(patch 3) remame jh7110_usb2_mode_set to usb2_set_ls_keeplive . make function more accurate. (patch 4) remove depend on USB_PHY and fix compile robot error.

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/5dt-bindings: phy: Add StarFive JH7110 USB PHYDocumentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml+50 -00 replies
2/5dt-bindings: phy: Add StarFive JH7110 PCIe PHYDocumentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml+58 -00 replies
3/5phy: starfive: Add JH7110 USB 2.0 PHY driverMAINTAINERS drivers/phy/Kconfig drivers/phy/Makefile +3 more+176 -00 replies
4/5phy: starfive: Add JH7110 PCIE 2.0 PHY driverMAINTAINERS drivers/phy/starfive/Kconfig drivers/phy/starfive/Makefile +1 more+218 -10 replies
5/5riscv: dts: starfive: Add PCIe PHY dts configuration for JH7110arch/riscv/boot/dts/starfive/jh7110.dtsi+12 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchHal FengRob HerringRoger Quadros
1/5R-b R-b R-b
2/5R-b R-b R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [PATCH v8 0/5] Add JH7110 USB PHY driver support

This patchset adds USB and PCIe PHY for the StarFive JH7110 SoC. The patch has been tested on the VisionFive 2 board.

This patchset is base on v6.4-rc6

patch 1 is usb phy dt-binding document.
patch 2 is Pcie PHY dt-binding document.
patch 3 is USB 2.0 PHY driver.
patch 4 is PCIe PHY driver.
patch 5 is PCIe PHY dts

Previous version are merged with USB controller patch.
For USB controller patch is accepted. Now remove the USB controller patch. And remove the dependency.

previous change can be seen list below.
(start from old patch set v3)
v3: https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/
v4: https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/
v5: https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/
v6: https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/
v7: https://patchwork.kernel.org/project/linux-phy/cover/[email protected]/

changes:
v8:
(patch 3) remame jh7110_usb2_mode_set to usb2_set_ls_keeplive . make function more accurate. (patch 4) remove depend on USB_PHY and fix compile robot error.

v7:
(patch3 and patch 4) Add /driver/phy/starfive directory, Makefile and Kconfig. Remove the dependency. (patch 5) add PCIe PHY dts configuration. (USB 2.0 PHY clock reply on other patch, Dont add this first).

v6:
1. (patch 3) remove the platform remove function.
2. (patch 4)
- add switch to pcie mode function.
- remove the redundant init/exit function.

v5:
1. (patch 1) set correct model name and commit title.
2. (patch 2) change to '-item' in syscon property. change commit title.

v4:
1. (patch 1) split PCIe PHY dt-binding doc to patch 2.
2. (patch 2) PCIe PHY add stg and sys con configuration to dt-binding doc.
3. (patch 3)
- split PCIe PHY driver to patch 4.
- replace dr_mode to phy mode in jh7110_usb2_phy.
4. (patch 4)
- Makefile and Kconfig sorted by alphabet sequence.
- Add PCIe PHY stg and syscon PHY connection configuration for USB 3.0.

v3:
1. Add patch 1 - 4. Add USB PHY driver and dt-binding doc. USB PHY codes are moved to patch 3 and patch 4.

Minda Chen (5):
dt-bindings: phy: Add StarFive JH7110 USB PHY
dt-bindings: phy: Add StarFive JH7110 PCIe PHY
phy: starfive: Add JH7110 USB 2.0 PHY driver
phy: starfive: Add JH7110 PCIE 2.0 PHY driver
riscv: dts: starfive: Add PCIe PHY dts configuration for JH7110

 .../phy/starfive,jh7110-pcie-phy.yaml         |  58 +++++
 .../bindings/phy/starfive,jh7110-usb-phy.yaml |  50 +++++
 MAINTAINERS                                   |   8 +
 arch/riscv/boot/dts/starfive/jh7110.dtsi      |  12 ++
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/starfive/Kconfig                  |  24 +++
 drivers/phy/starfive/Makefile                 |   3 +
 drivers/phy/starfive/phy-jh7110-pcie.c        | 204 ++++++++++++++++++
 drivers/phy/starfive/phy-jh7110-usb.c         | 152 +++++++++++++
 10 files changed, 513 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-pcie-phy.yaml
 create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml
 create mode 100644 drivers/phy/starfive/Kconfig
 create mode 100644 drivers/phy/starfive/Makefile
 create mode 100644 drivers/phy/starfive/phy-jh7110-pcie.c
 create mode 100644 drivers/phy/starfive/phy-jh7110-usb.c

base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375

Signature · 7 lines
2.17.1


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy