Skip to content

Add support for USB phys in IPQ9650

Varadarajan Narayanan linux-arm-msm linux-devicetree linux-phy lkml 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260820-phy-664ed5ec0292

Versions newest first

  1. v6 Latest6 patches 5 repliesApplied
  2. v56 patches 0 repliesSuperseded
  3. v46 patches 8 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches1 replySuperseded
v25 patches2 repliesSuperseded
v15 patches5 repliesSuperseded

Changes in v6 from the cover letter

- #include <linux/bitfield.h> in drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c to avoid build breaks in other (non arm64) architectures
- Link to v5: https://lore.kernel.org/r/[email protected]

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: phy: qcom,qmp-usb: Add IPQ9650 USB3 PHYDocumentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml+2 -00 replies
2/6dt-bindings: phy: qcom,usb-snps-femto-v2: Add IPQ9650 compatibleDocumentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml+2 -00 replies
3/6phy: qcom: qmp-usb: Add IPQ9650 USB3 PHY configurationdrivers/phy/qualcomm/phy-qcom-qmp-usb.c+118 -00 replies
4/6phy: qcom: snps-femto-v2: Fix order of arguments to qcom_snps_hsphy_write_maskdrivers/phy/qualcomm/phy-qcom-snps-femto-v2.c+2 -21 reply
5/6phy: qcom: snps-femto-v2: Move PHY init registers to config tablesdrivers/phy/qualcomm/phy-qcom-snps-femto-v2.c+83 -461 reply
6/6phy: qcom: snps-femto-v2: Add IPQ9650 supportdrivers/phy/qualcomm/phy-qcom-snps-femto-v2.c+63 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KozlowskiAbel VesaDmitry BaryshkovKonrad DybcioManivannan Sadhasivam
SeriesR-b
1/6R-b
2/6R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b
6/6R-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 5 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/6] Add support for USB phys in IPQ9650

This series
- Adds dt-bindings and driver changes for the high speed and super speed phys in IPQ9650.
- IPQ9650 specific init tables to QMP super speed phy driver.
- The Femto high speed phy driver is refactored to accomodate differences in the init sequences between SoCs first and then support for IPQ9650 is included.

---
Changes in v6:
- #include <linux/bitfield.h> in drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c to avoid build breaks in other (non arm64) architectures
- Link to v5: https://lore.kernel.org/r/[email protected]

Changes in v5:
- Use FIELD_PREP_CONST to define FSEL_24MHZ
- Change commit subject to 'Fix order of arguments to qcom_snps_hsphy_write_mask'
- Use data->{pre,post}_tuning in qcom_snps_hsphy_init() instead of a temporary local variable
- Pick R-b from Dmitry for two patches
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Rebase to top of tree
- Split 4th patch 'phy: qcom: snps-femto-v2: Move PHY init registers to config tables' as follows:
phy: qcom: snps-femto-v2: Fix qcom_snps_hsphy_write_mask argument mixup
phy: qcom: snps-femto-v2: Move PHY init registers to config tables
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- No code changes
- Rebase to top of tree
- Pick two R-b tags
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Pick one R-b from Krzysztof
- Use qcom,ipq9650-usb-hs-phy directly instead of adding a 6nm compatible and falling back to it
- Change pre/post to pre_tuning/post_tuning
- Use array count instead of terminating entries
- Fix value/mask mixup in 2 places
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Varadarajan Narayanan (6):
dt-bindings: phy: qcom,qmp-usb: Add IPQ9650 USB3 PHY
dt-bindings: phy: qcom,usb-snps-femto-v2: Add IPQ9650 compatible
phy: qcom: qmp-usb: Add IPQ9650 USB3 PHY configuration
phy: qcom: snps-femto-v2: Fix order of arguments to qcom_snps_hsphy_write_mask
phy: qcom: snps-femto-v2: Move PHY init registers to config tables
phy: qcom: snps-femto-v2: Add IPQ9650 support

 .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml        |   2 +
 .../bindings/phy/qcom,usb-snps-femto-v2.yaml       |   2 +
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c            | 118 +++++++++++++
 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c      | 194 ++++++++++++++++-----
 4 files changed, 269 insertions(+), 47 deletions(-)

---
base-commit: ed06cc88c5e644da0f1ef397a836c7b1c10f41ac
change-id: 20260820-phy-664ed5ec0292

Best regards,

Signature · 1 line
Varadarajan Narayanan <[email protected]>