phy: qcom: Introduce USB support for Hawi
v2 cover phy: qcom: Introduce USB support for Hawi
This series adds USB PHY support for the Hawi SoC. It documents the QMP USB3-DP combo PHY and M31 eUSB2 PHY bindings, adds the Hawi compatible to the DWC3 USB binding, and adds the PHY initialization sequences to the qmp-combo driver.
---
Changes in v2:
- Clarify in the QMP PHY binding commit message why Hawi needs a
dedicated compatible string vs previous targets
- Remove stray blank line in hawi_usb3_rx_tbl
- Link to v1: https://lore.kernel.org/all/[email protected]/
Ronak Raheja (4):
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Hawi QMP PHY
dt-bindings: phy: qcom,m31-eusb2-phy: Document M31 eUSB2 PHY for Hawi
dt-bindings: usb: qcom,snps-dwc3: Add Hawi compatible
phy: qualcomm: qmp-combo: Add support for Hawi SoC
.../bindings/phy/qcom,m31-eusb2-phy.yaml | 1 + .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 2 + .../bindings/usb/qcom,snps-dwc3.yaml | 3 + .../phy/qualcomm/phy-qcom-qmp-com-aon-v10.h | 15 ++ drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 231 +++++++++++++++++- .../phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h | 15 ++ .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h | 13 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h | 19 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 34 +++ .../qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 89 +++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 89 +++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 5 + 12 files changed, 512 insertions(+), 4 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h
Signature · 1 line
2.34.1
PATCH v2 1/4 dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Hawi QMP PHY
Document the Hawi compatible string for the QMP combo PHY.
Hawi uses a new QSERDES V10 register layout with a new COM AON module and hardware-specific PHY init sequences compared to previous targets, requiring a dedicated compatible string.
--- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml +2 -0
@@ -22,6 +22,7 @@ properties: - const: qcom,sm8750-qmp-usb3-dp-phy - enum: - qcom,glymur-qmp-usb3-dp-phy + - qcom,hawi-qmp-usb3-dp-phy - qcom,sar2130p-qmp-usb3-dp-phy - qcom,sc7180-qmp-usb3-dp-phy - qcom,sc7280-qmp-usb3-dp-phy
@@ -205,6 +206,7 @@ allOf: contains: enum: - qcom,glymur-qmp-usb3-dp-phy + - qcom,hawi-qmp-usb3-dp-phy - qcom,sar2130p-qmp-usb3-dp-phy - qcom,sc8280xp-qmp-usb43dp-phy - qcom,sm6350-qmp-usb3-dp-phy
Signature · 1 line
2.34.1
Re: [PATCH 1/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Hawi QMP PHY
Quoted 11 lines · Ronak Raheja
Document the Hawi compatible string for the QMP combo PHY.
Hawi uses a new QSERDES V10 register layout with a new COM AON module and hardware-specific PHY init sequences compared to previous targets, requiring a dedicated compatible string.
Signed-off-by Ronak Raheja <[email protected]>--- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 2 ++ 1 file changed, 2 insertions(+)
PATCH v2 2/4 dt-bindings: phy: qcom,m31-eusb2-phy: Document M31 eUSB2 PHY for Hawi
In reply to Ronak RahejaDocument the M31 eUSB2 PHY for Hawi which handles the USB2 path. Use fallback to indicate the compatibility of the M31 eUSB2 PHY on the Hawi with that on the SM8750.
--- Documentation/devicetree/bindings/phy/qcom,m31-eusb2-phy.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/qcom,m31-eusb2-phy.yaml +1 -0
@@ -19,6 +19,7 @@ properties: - items: - enum: - qcom,glymur-m31-eusb2-phy + - qcom,hawi-m31-eusb2-phy - qcom,kaanapali-m31-eusb2-phy - const: qcom,sm8750-m31-eusb2-phy - const: qcom,sm8750-m31-eusb2-phy
Signature · 1 line
2.34.1
PATCH v2 3/4 dt-bindings: usb: qcom,snps-dwc3: Add Hawi compatible
In reply to Ronak RahejaDocument the Synopsys DWC3 USB controller found on the Hawi platform.
--- Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml +3 -0
@@ -27,6 +27,7 @@ properties: - qcom,eliza-dwc3 - qcom,glymur-dwc3 - qcom,glymur-dwc3-mp + - qcom,hawi-dwc3 - qcom,ipq4019-dwc3 - qcom,ipq5018-dwc3 - qcom,ipq5332-dwc3
@@ -203,6 +204,7 @@ allOf: compatible: contains: enum: + - qcom,hawi-dwc3 - qcom,ipq5424-dwc3 - qcom,ipq9574-dwc3 - qcom,kaanapali-dwc3
@@ -540,6 +542,7 @@ allOf: contains: enum: - qcom,eliza-dwc3 + - qcom,hawi-dwc3 - qcom,ipq4019-dwc3 - qcom,ipq8064-dwc3 - qcom,kaanapali-dwc3
Signature · 1 line
2.34.1
PATCH v2 4/4 phy: qualcomm: qmp-combo: Add support for Hawi SoC
In reply to Ronak RahejaAdd support for the USB3-DP combo PHY found on Hawi platform.
The QMP PHY for Hawi uses QSERDES V10 register layouts. Add the required PHY sequences from the hardware programming guide and new V10 register header files. Also add a new v10 offset structure to incorporate the new COM AON register module.
--- .../phy/qualcomm/phy-qcom-qmp-com-aon-v10.h | 15 ++ drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 231 +++++++++++++++++- .../phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h | 15 ++ .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h | 13 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h | 19 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 34 +++ .../qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 89 +++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 89 +++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 5 + 9 files changed, 506 insertions(+), 4 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h
drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserved. +*/ + +#ifndef QCOM_PHY_QMP_COM_AON_V10_H_ +#define QCOM_PHY_QMP_COM_AON_V10_H_ + +/* Only for QMP V10 PHY - COM AON registers */ + +#define QPHY_V10_COM_AON_USB3_AON_TOGGLE_ENABLE 0x00 +#define QPHY_V10_COM_AON_DP_AON_TOGGLE_ENABLE 0x04 +#define QPHY_V10_COM_AON_DUMMY_STATUS 0x08 + +#endif
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +227 -4
318 lines not on this page · raw message
drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserved. +*/ + +#ifndef QCOM_PHY_QMP_DP_PHY_V10_H_ +#define QCOM_PHY_QMP_DP_PHY_V10_H_ + +/* Only for QMP V10 PHY - DP PHY registers */ + +#define QSERDES_V10_DP_PHY_VCO_DIV 0x070 +#define QSERDES_V10_DP_PHY_AUX_INTERRUPT_STATUS 0x0e0 +#define QSERDES_V10_DP_PHY_STATUS 0x0e4 + +#endif
drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h new file +13 -0
@@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserved. +*/ + +#ifndef QCOM_PHY_QMP_PCS_AON_V10_H_ +#define QCOM_PHY_QMP_PCS_AON_V10_H_ + +/* Only for QMP V10 PHY - PCS AON registers */ + +#define QPHY_V10_PCS_AON_CLAMP_ENABLE 0x00 + +#endif
drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h new file +19 -0
@@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserved. +*/ + +#ifndef QCOM_PHY_QMP_PCS_USB_V10_H_ +#define QCOM_PHY_QMP_PCS_USB_V10_H_ + +/* Only for QMP V10 PHY - USB PCS registers */ + +#define QPHY_V10_PCS_USB3_POWER_STATE_CONFIG1 0x00 +#define QPHY_V10_PCS_USB3_AUTONOMOUS_MODE_CTRL 0x08 +#define QPHY_V10_PCS_USB3_LFPS_RXTERM_IRQ_CLEAR 0x14 +#define QPHY_V10_PCS_USB3_LFPS_DET_HIGH_COUNT_VAL 0x18 +#define QPHY_V10_PCS_USB3_RXEQTRAINING_DFE_TIME_S2 0x3c +#define QPHY_V10_PCS_USB3_RCVR_DTCT_DLY_U3_L 0x40 +#define QPHY_V10_PCS_USB3_RCVR_DTCT_DLY_U3_H 0x44 + +#endif
drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h new file +34 -0
@@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* +* Copyright (c) 2026, Qualcomm Innovation Center, Inc. All rights reserved. +*/ + +#ifndef QCOM_PHY_QMP_PCS_V10_H_ +#define QCOM_PHY_QMP_PCS_V10_H_ + +/* Only for QMP V10 PHY - PCS registers */ + +#define QPHY_V10_PCS_SW_RESET 0x000 +#define QPHY_V10_PCS_PCS_STATUS1 0x014 +#define QPHY_V10_PCS_POWER_DOWN_CONTROL 0x040 +#define QPHY_V10_PCS_START_CONTROL 0x044 +#define QPHY_V10_PCS_POWER_STATE_CONFIG1 0x090 +#define QPHY_V10_PCS_LOCK_DETECT_CONFIG1 0x0c4 +#define QPHY_V10_PCS_LOCK_DETECT_CONFIG2 0x0c8 +#define QPHY_V10_PCS_LOCK_DETECT_CONFIG3 0x0cc +#define QPHY_V10_PCS_LOCK_DETECT_CONFIG6 0x0d8 +#define QPHY_V10_PCS_REFGEN_REQ_CONFIG1 0x0dc +#define QPHY_V10_PCS_RX_SIGDET_LVL 0x188 +#define QPHY_V10_PCS_RCVR_DTCT_DLY_P1U2_L 0x190 +#define QPHY_V10_PCS_RCVR_DTCT_DLY_P1U2_H 0x194 +#define QPHY_V10_PCS_RATE_SLEW_CNTRL1 0x198 +#define QPHY_V10_PCS_RX_CONFIG 0x1b0 +#define QPHY_V10_PCS_ALIGN_DETECT_CONFIG1 0x1c0 +#define QPHY_V10_PCS_ALIGN_DETECT_CONFIG2 0x1c4 +#define QPHY_V10_PCS_PCS_TX_RX_CONFIG 0x1d0 +#define QPHY_V10_PCS_PCS_TX_RX_CONFIG2 0x1d4 +#define QPHY_V10_PCS_EQ_CONFIG1 0x1e0 +#define QPHY_V10_PCS_EQ_CONFIG2 0x1e4 +#define QPHY_V10_PCS_EQ_CONFIG5 0x1f0 + +#endif
drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h new file +89 -0
89 lines not on this page · raw message
drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h new file +89 -0
89 lines not on this page · raw message
drivers/phy/qualcomm/phy-qcom-qmp.h +5 -0
@@ -39,6 +39,9 @@#include "phy-qcom-qmp-qserdes-txrx-v8.h" #include "phy-qcom-qmp-qserdes-lalb-v8.h" +#include "phy-qcom-qmp-qserdes-com-v10.h" +#include "phy-qcom-qmp-qserdes-txrx-v10.h" +#include "phy-qcom-qmp-qserdes-pll.h" #include "phy-qcom-qmp-pcs-v2.h"
@@ -65,6 +68,8 @@#include "phy-qcom-qmp-pcs-v8_50.h" +#include "phy-qcom-qmp-pcs-v10.h" +/* QPHY_SW_RESET bit */ #define SW_RESET BIT(0)/* QPHY_POWER_DOWN_CONTROL */
Signature · 1 line
2.34.1
Re: [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC
Quoted 9 lines · Ronak Raheja
Add support for the USB3-DP combo PHY found on Hawi platform.
The QMP PHY for Hawi uses QSERDES V10 register layouts. Add the required PHY sequences from the hardware programming guide and new V10 register header files. Also add a new v10 offset structure to incorporate the new COM AON register module.
Signed-off-by Ronak Raheja <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>
Re: [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC
In reply to Ronak RahejaQuoted 6 lines · Ronak Raheja
Add support for the USB3-DP combo PHY found on Hawi platform.
The QMP PHY for Hawi uses QSERDES V10 register layouts. Add the required PHY sequences from the hardware programming guide and new V10 register header files. Also add a new v10 offset structure to incorporate the new COM AON register module.
Was this tested with the DP too or did you test only the USB part?
Quoted 23 lines
Signed-off-by Ronak Raheja <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>--- .../phy/qualcomm/phy-qcom-qmp-com-aon-v10.h | 15 ++ drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 231 +++++++++++++++++- .../phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h | 15 ++ .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h | 13 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h | 19 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 34 +++ .../qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 89 +++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 89 +++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 5 + 9 files changed, 506 insertions(+), 4 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h
drivers/phy/qualcomm/phy-qcom-qmp-combo.c struct qmp_combo_offsets { · line 2371
Quoted 4 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +1
-0@@ -2198,6 +2368,7 @@ struct qmp_combo_offsets {u16 dp_txa;u16 dp_txb;u16 dp_dp_phy; +u16 aon_toggle;
Are there (or will there) be any other regs? Is it just one-register space?
Quoted 16 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +9
-0};struct qmp_phy_cfg {@@ -2705,6 +2895,27 @@ static const struct qmp_phy_cfg x1e80100_usb3dpphy_cfg = { .regs = qmp_v6_n4_usb3phy_regs_layout, }; +static const struct qmp_phy_cfg hawi_usb3dpphy_cfg = { + .offsets = &qmp_combo_offsets_v10, + + .serdes_tbl = hawi_usb3_serdes_tbl, + .serdes_tbl_num =ARRAY_SIZE (hawi_usb3_serdes_tbl), + .tx_tbl = hawi_usb3_tx_tbl, + .tx_tbl_num =ARRAY_SIZE (hawi_usb3_tx_tbl), + .rx_tbl = hawi_usb3_rx_tbl, + .rx_tbl_num =ARRAY_SIZE (hawi_usb3_rx_tbl),
drivers/phy/qualcomm/phy-qcom-qmp-combo.c static const struct qmp_phy_cfg x1e80100_usb3dpphy_cfg = { · line 2916
Quoted 10 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +10
-0+ .pcs_tbl = hawi_usb3_pcs_tbl, + .pcs_tbl_num = ARRAY_SIZE(hawi_usb3_pcs_tbl), + .pcs_usb_tbl = hawi_usb3_pcs_usb_tbl, + .pcs_usb_tbl_num = ARRAY_SIZE(hawi_usb3_pcs_usb_tbl), + + .regs = qmp_v10_usb3phy_regs_layout, + .reset_list = msm8996_usb3phy_reset_l, + .num_resets = ARRAY_SIZE(msm8996_usb3phy_reset_l), + .vreg_list = qmp_phy_vreg_l, + .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
No DP counterpart and no mention of it in the commit message.
Quoted 5 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +2
-0+}; +static const struct qmp_phy_cfg sm6350_usb3dpphy_cfg = { .offsets = &qmp_combo_offsets_v3,
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC
Quoted 10 lines · Dmitry Baryshkov
Quoted 6 lines · Ronak Raheja
Add support for the USB3-DP combo PHY found on Hawi platform.
The QMP PHY for Hawi uses QSERDES V10 register layouts. Add the required PHY sequences from the hardware programming guide and new V10 register header files. Also add a new v10 offset structure to incorporate the new COM AON register module.
Was this tested with the DP too or did you test only the USB part?
Only USB was tested. DP support will be added in a follow-up patch once the MDSS nodes are ready for Hawi.
Quoted 22 lines
Quoted 22 lines
Signed-off-by Ronak Raheja <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>--- .../phy/qualcomm/phy-qcom-qmp-com-aon-v10.h | 15 ++ drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 231 +++++++++++++++++- .../phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h | 15 ++ .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h | 13 + .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h | 19 ++ drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 34 +++ .../qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 89 +++++++ .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 89 +++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 5 + 9 files changed, 506 insertions(+), 4 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h
Quoted 9 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c struct qmp_combo_offsets { · line 2371
Quoted 5 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +1
-0@@ -2198,6 +2368,7 @@ struct qmp_combo_offsets {u16 dp_txa;u16 dp_txb;u16 dp_dp_phy; +u16 aon_toggle;Are there (or will there) be any other regs? Is it just one-register space?
The COM AON block has 3 registers: USB3_AON_TOGGLE_ENABLE (0x00), DP_AON_TOGGLE_ENABLE (0x04), and DUMMY_STATUS (0x08). Only the first two are currently used.
Quoted 20 lines
Quoted 20 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +13
-0};struct qmp_phy_cfg {@@ -2705,6 +2895,27 @@ static const struct qmp_phy_cfg x1e80100_usb3dpphy_cfg = { .regs = qmp_v6_n4_usb3phy_regs_layout, }; +static const struct qmp_phy_cfg hawi_usb3dpphy_cfg = { + .offsets = &qmp_combo_offsets_v10, + + .serdes_tbl = hawi_usb3_serdes_tbl, + .serdes_tbl_num =ARRAY_SIZE (hawi_usb3_serdes_tbl), + .tx_tbl = hawi_usb3_tx_tbl, + .tx_tbl_num =ARRAY_SIZE (hawi_usb3_tx_tbl), + .rx_tbl = hawi_usb3_rx_tbl, + .rx_tbl_num =ARRAY_SIZE (hawi_usb3_rx_tbl), + .pcs_tbl = hawi_usb3_pcs_tbl, + .pcs_tbl_num =ARRAY_SIZE (hawi_usb3_pcs_tbl), + .pcs_usb_tbl = hawi_usb3_pcs_usb_tbl, + .pcs_usb_tbl_num =ARRAY_SIZE (hawi_usb3_pcs_usb_tbl),
Quoted 9 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c static const struct qmp_phy_cfg x1e80100_usb3dpphy_cfg = { · line 2916
Quoted 6 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +6
-0+ + .regs = qmp_v10_usb3phy_regs_layout, + .reset_list = msm8996_usb3phy_reset_l, + .num_resets = ARRAY_SIZE(msm8996_usb3phy_reset_l), + .vreg_list = qmp_phy_vreg_l, + .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),No DP counterpart and no mention of it in the commit message.
The DP configuration will be added in a follow-up patch once the MDSS nodes are ready for Hawi.
Thanks,
Ronak
Quoted 6 lines
Quoted 5 lines
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +2
-0+}; +static const struct qmp_phy_cfg sm6350_usb3dpphy_cfg = { .offsets = &qmp_combo_offsets_v3,