* [PATCH 0/4] Add USB Support for QCS8300
@ 2024-10-09 19:53 Krishna Kurapati
2024-10-09 19:53 ` [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings Krishna Kurapati
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: Krishna Kurapati @ 2024-10-09 19:53 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka,
Abel Vesa, Greg Kroah-Hartman
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati
This series aims at enabling USB on QCS8300 which has 2 USB controllers.
The primary controller is SuperSpeed capable and secondary one is
High Speed only capable. Both the High Speed Phys are Femto phys and the
SuperSpeed Phy is a QMP Uni Phy.
Device tree patches will sent separately. DT Binding checks done on
the binding patches. Flashed and verified working of NCM over primary
usb controller.
Krishna Kurapati (4):
dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings
dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300
dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible
phy: qcom: qmp: Add qmp configuration for QCS8300
.../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 +
.../bindings/phy/qcom,usb-snps-femto-v2.yaml | 1 +
.../devicetree/bindings/usb/qcom,dwc3.yaml | 4 ++
drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 65 +++++++++++++++++++
4 files changed, 72 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati @ 2024-10-09 19:53 ` Krishna Kurapati 2024-10-09 21:31 ` Rob Herring 2024-10-09 19:53 ` [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 Krishna Kurapati ` (3 subsequent siblings) 4 siblings, 1 reply; 10+ messages in thread From: Krishna Kurapati @ 2024-10-09 19:53 UTC (permalink / raw) To: Vinod Koul, Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp, Krishna Kurapati Update dt-bindings to add QCS8300 to USB DWC3 controller list. The second controller of QCS8300 is High speed only capable and doesn't have ss_phy_irq. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 18758efb8d29..f7be05641930 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -26,6 +26,7 @@ properties: - qcom,msm8998-dwc3 - qcom,qcm2290-dwc3 - qcom,qcs404-dwc3 + - qcom,qcs8300-dwc3 - qcom,qdu1000-dwc3 - qcom,sa8775p-dwc3 - qcom,sc7180-dwc3 @@ -201,6 +202,7 @@ allOf: - qcom,msm8953-dwc3 - qcom,msm8996-dwc3 - qcom,msm8998-dwc3 + - qcom,qcs8300-dwc3 - qcom,sa8775p-dwc3 - qcom,sc7180-dwc3 - qcom,sc7280-dwc3 @@ -465,6 +467,7 @@ allOf: - qcom,ipq4019-dwc3 - qcom,ipq8064-dwc3 - qcom,msm8994-dwc3 + - qcom,qcs8300-dwc3 - qcom,qdu1000-dwc3 - qcom,sa8775p-dwc3 - qcom,sc7180-dwc3 @@ -490,6 +493,7 @@ allOf: minItems: 4 maxItems: 5 interrupt-names: + minItems: 4 items: - const: pwr_event - const: hs_phy_irq -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings 2024-10-09 19:53 ` [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings Krishna Kurapati @ 2024-10-09 21:31 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2024-10-09 21:31 UTC (permalink / raw) To: Krishna Kurapati Cc: Vinod Koul, Krzysztof Kozlowski, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp On Thu, Oct 10, 2024 at 01:23:45AM +0530, Krishna Kurapati wrote: > Update dt-bindings to add QCS8300 to USB DWC3 controller list. > The second controller of QCS8300 is High speed only capable and > doesn't have ss_phy_irq. > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> > --- > Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati 2024-10-09 19:53 ` [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings Krishna Kurapati @ 2024-10-09 19:53 ` Krishna Kurapati 2024-10-09 21:25 ` Rob Herring (Arm) 2024-10-09 19:53 ` [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible Krishna Kurapati ` (2 subsequent siblings) 4 siblings, 1 reply; 10+ messages in thread From: Krishna Kurapati @ 2024-10-09 19:53 UTC (permalink / raw) To: Vinod Koul, Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp, Krishna Kurapati Update dt-bindings to add QCS8300 to USB2 SNPS Femto Phy list. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> --- .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml index 519c2b403f66..661759b25064 100644 --- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml @@ -22,6 +22,7 @@ properties: - const: qcom,usb-snps-hs-5nm-phy - items: - enum: + - qcom,qcs8300-usb-hs-phy - qcom,qdu1000-usb-hs-phy - qcom,sc7280-usb-hs-phy - qcom,sc8180x-usb-hs-phy -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 2024-10-09 19:53 ` [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 Krishna Kurapati @ 2024-10-09 21:25 ` Rob Herring (Arm) 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring (Arm) @ 2024-10-09 21:25 UTC (permalink / raw) To: Krishna Kurapati Cc: Conor Dooley, Bjorn Andersson, Kishon Vijay Abraham I, Dmitry Baryshkov, quic_jackp, linux-phy, Konrad Dybcio, devicetree, Wesley Cheng, Abel Vesa, Mantas Pucka, Greg Kroah-Hartman, quic_ppratap, linux-usb, linux-kernel, linux-arm-msm, Krzysztof Kozlowski, Vinod Koul On Thu, 10 Oct 2024 01:23:46 +0530, Krishna Kurapati wrote: > Update dt-bindings to add QCS8300 to USB2 SNPS Femto Phy list. > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> > --- > .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati 2024-10-09 19:53 ` [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings Krishna Kurapati 2024-10-09 19:53 ` [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 Krishna Kurapati @ 2024-10-09 19:53 ` Krishna Kurapati 2024-10-09 21:32 ` Rob Herring (Arm) 2024-10-09 19:53 ` [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 Krishna Kurapati 2024-10-12 17:50 ` [PATCH 0/4] Add USB Support " Vinod Koul 4 siblings, 1 reply; 10+ messages in thread From: Krishna Kurapati @ 2024-10-09 19:53 UTC (permalink / raw) To: Vinod Koul, Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp, Krishna Kurapati Update dt-bindings to add QCS8300 to QMP Uni Phy list. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> --- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml index 0e0b6cae07bc..baf5134ea3d8 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml @@ -20,6 +20,7 @@ properties: - qcom,ipq8074-qmp-usb3-phy - qcom,ipq9574-qmp-usb3-phy - qcom,msm8996-qmp-usb3-phy + - qcom,qcs8300-qmp-usb3-uni-phy - qcom,qdu1000-qmp-usb3-uni-phy - qcom,sa8775p-qmp-usb3-uni-phy - qcom,sc8180x-qmp-usb3-uni-phy @@ -111,6 +112,7 @@ allOf: compatible: contains: enum: + - qcom,qcs8300-qmp-usb3-uni-phy - qcom,qdu1000-qmp-usb3-uni-phy - qcom,sa8775p-qmp-usb3-uni-phy - qcom,sc8180x-qmp-usb3-uni-phy -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible 2024-10-09 19:53 ` [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible Krishna Kurapati @ 2024-10-09 21:32 ` Rob Herring (Arm) 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring (Arm) @ 2024-10-09 21:32 UTC (permalink / raw) To: Krishna Kurapati Cc: linux-kernel, linux-phy, linux-usb, Mantas Pucka, quic_ppratap, Vinod Koul, Wesley Cheng, Conor Dooley, Dmitry Baryshkov, linux-arm-msm, devicetree, Kishon Vijay Abraham I, Abel Vesa, Krzysztof Kozlowski, Greg Kroah-Hartman, quic_jackp, Konrad Dybcio, Bjorn Andersson On Thu, 10 Oct 2024 01:23:47 +0530, Krishna Kurapati wrote: > Update dt-bindings to add QCS8300 to QMP Uni Phy list. > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> > --- > .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati ` (2 preceding siblings ...) 2024-10-09 19:53 ` [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible Krishna Kurapati @ 2024-10-09 19:53 ` Krishna Kurapati 2024-10-10 13:56 ` Dmitry Baryshkov 2024-10-12 17:50 ` [PATCH 0/4] Add USB Support " Vinod Koul 4 siblings, 1 reply; 10+ messages in thread From: Krishna Kurapati @ 2024-10-09 19:53 UTC (permalink / raw) To: Vinod Koul, Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp, Krishna Kurapati Add qmp configuration for QCS8300. It is similar to SA8775P and SC8280XP except for some Lane configuration settings specific to QCS8300. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> --- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c index 2fd49355aa37..a8f90159395f 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c @@ -871,6 +871,16 @@ static const struct qmp_phy_init_tbl sdx75_usb3_uniphy_pcs_usb_tbl[] = { QMP_PHY_INIT_CFG(QPHY_V6_PCS_USB3_RCVR_DTCT_DLY_U3_H, 0x00), }; +static const struct qmp_phy_init_tbl qcs8300_usb3_uniphy_tx_tbl[] = { + QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_1, 0xa5), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_2, 0xf2), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_3, 0x3f), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_4, 0x3f), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_PI_QEC_CTRL, 0x21), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_RES_CODE_LANE_OFFSET_TX, 0x10), + QMP_PHY_INIT_CFG(QSERDES_V5_TX_RES_CODE_LANE_OFFSET_RX, 0x0e), +}; + static const struct qmp_phy_init_tbl sm8350_usb3_uniphy_tx_tbl[] = { QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_1, 0xa5), QMP_PHY_INIT_CFG(QSERDES_V5_TX_LANE_MODE_2, 0x82), @@ -989,6 +999,40 @@ static const struct qmp_phy_init_tbl sc8280xp_usb3_uniphy_tx_tbl[] = { QMP_PHY_INIT_CFG(QSERDES_V5_TX_RES_CODE_LANE_OFFSET_RX, 0x0e), }; +static const struct qmp_phy_init_tbl qcs8300_usb3_uniphy_rx_tbl[] = { + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH4, 0xec), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH3, 0xbd), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH2, 0x7f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH, 0x3f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_LOW, 0x3f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_01_HIGH4, 0xa9), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_01_HIGH3, 0x7b), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_01_HIGH2, 0xe4), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_01_HIGH, 0x24), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_01_LOW, 0x64), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_PI_CONTROLS, 0x99), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SB2_THRESH1, 0x08), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SB2_THRESH2, 0x08), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SB2_GAIN1, 0x00), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SB2_GAIN2, 0x04), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_FASTLOCK_FO_GAIN, 0x2f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_FASTLOCK_COUNT_LOW, 0xff), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_FASTLOCK_COUNT_HIGH, 0x0f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_FO_GAIN, 0x09), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_VGA_CAL_CNTRL1, 0x54), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_VGA_CAL_CNTRL2, 0x0f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_EQU_ADAPTOR_CNTRL2, 0x0f), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_EQU_ADAPTOR_CNTRL4, 0x0a), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_EQ_OFFSET_ADAPTOR_CNTRL1, 0x47), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_OFFSET_ADAPTOR_CNTRL2, 0x80), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_SIGDET_CNTRL, 0x04), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_SIGDET_DEGLITCH_CNTRL, 0x0e), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_DFE_CTLE_POST_CAL_OFFSET, 0x38), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_UCDR_SO_GAIN, 0x06), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_GM_CAL, 0x19), + QMP_PHY_INIT_CFG(QSERDES_V5_RX_SIGDET_ENABLES, 0x00), +}; + static const struct qmp_phy_init_tbl sc8280xp_usb3_uniphy_rx_tbl[] = { QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH4, 0xdc), QMP_PHY_INIT_CFG(QSERDES_V5_RX_RX_MODE_00_HIGH3, 0xbd), @@ -1462,6 +1506,24 @@ static const struct qmp_phy_cfg sa8775p_usb3_uniphy_cfg = { .regs = qmp_v5_usb3phy_regs_layout, }; +static const struct qmp_phy_cfg qcs8300_usb3_uniphy_cfg = { + .offsets = &qmp_usb_offsets_v5, + + .serdes_tbl = sc8280xp_usb3_uniphy_serdes_tbl, + .serdes_tbl_num = ARRAY_SIZE(sc8280xp_usb3_uniphy_serdes_tbl), + .tx_tbl = qcs8300_usb3_uniphy_tx_tbl, + .tx_tbl_num = ARRAY_SIZE(qcs8300_usb3_uniphy_tx_tbl), + .rx_tbl = qcs8300_usb3_uniphy_rx_tbl, + .rx_tbl_num = ARRAY_SIZE(qcs8300_usb3_uniphy_rx_tbl), + .pcs_tbl = sa8775p_usb3_uniphy_pcs_tbl, + .pcs_tbl_num = ARRAY_SIZE(sa8775p_usb3_uniphy_pcs_tbl), + .pcs_usb_tbl = sa8775p_usb3_uniphy_pcs_usb_tbl, + .pcs_usb_tbl_num = ARRAY_SIZE(sa8775p_usb3_uniphy_pcs_usb_tbl), + .vreg_list = qmp_phy_vreg_l, + .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l), + .regs = qmp_v5_usb3phy_regs_layout, +}; + static const struct qmp_phy_cfg sc8280xp_usb3_uniphy_cfg = { .offsets = &qmp_usb_offsets_v5, @@ -2246,6 +2308,9 @@ static const struct of_device_id qmp_usb_of_match_table[] = { }, { .compatible = "qcom,msm8996-qmp-usb3-phy", .data = &msm8996_usb3phy_cfg, + }, { + .compatible = "qcom,qcs8300-qmp-usb3-uni-phy", + .data = &qcs8300_usb3_uniphy_cfg, }, { .compatible = "qcom,qdu1000-qmp-usb3-uni-phy", .data = &qdu1000_usb3_uniphy_cfg, -- 2.34.1 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 2024-10-09 19:53 ` [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 Krishna Kurapati @ 2024-10-10 13:56 ` Dmitry Baryshkov 0 siblings, 0 replies; 10+ messages in thread From: Dmitry Baryshkov @ 2024-10-10 13:56 UTC (permalink / raw) To: Krishna Kurapati Cc: Vinod Koul, Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp On Thu, Oct 10, 2024 at 01:23:48AM GMT, Krishna Kurapati wrote: > Add qmp configuration for QCS8300. It is similar to SA8775P and > SC8280XP except for some Lane configuration settings specific to > QCS8300. > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> > --- > drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 65 +++++++++++++++++++++++++ > 1 file changed, 65 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/4] Add USB Support for QCS8300 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati ` (3 preceding siblings ...) 2024-10-09 19:53 ` [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 Krishna Kurapati @ 2024-10-12 17:50 ` Vinod Koul 4 siblings, 0 replies; 10+ messages in thread From: Vinod Koul @ 2024-10-12 17:50 UTC (permalink / raw) To: Krzysztof Kozlowski, Rob Herring, Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng, Konrad Dybcio, Dmitry Baryshkov, Conor Dooley, Mantas Pucka, Abel Vesa, Greg Kroah-Hartman, Krishna Kurapati Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy, quic_ppratap, quic_jackp On Thu, 10 Oct 2024 01:23:44 +0530, Krishna Kurapati wrote: > This series aims at enabling USB on QCS8300 which has 2 USB controllers. > The primary controller is SuperSpeed capable and secondary one is > High Speed only capable. Both the High Speed Phys are Femto phys and the > SuperSpeed Phy is a QMP Uni Phy. > > Device tree patches will sent separately. DT Binding checks done on > the binding patches. Flashed and verified working of NCM over primary > usb controller. > > [...] Applied, thanks! [1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings commit: 3624fa00ae76be6a93d46071db12bf9218090cb4 [2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 commit: c5a3519eae7c491646a87c4861e91f1a1a9f461e [3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible commit: c2b174209bbb3341444c899f0a06f21eb953b1f0 [4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 commit: 5ee213bdbc6c784c28fc9e2dbb5243906e1f8217 Best regards, -- ~Vinod ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-10-12 17:50 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-10-09 19:53 [PATCH 0/4] Add USB Support for QCS8300 Krishna Kurapati 2024-10-09 19:53 ` [PATCH 1/4] dt-bindings: usb: qcom,dwc3: Add QCS8300 to USB DWC3 bindings Krishna Kurapati 2024-10-09 21:31 ` Rob Herring 2024-10-09 19:53 ` [PATCH 2/4] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for QCS8300 Krishna Kurapati 2024-10-09 21:25 ` Rob Herring (Arm) 2024-10-09 19:53 ` [PATCH 3/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add QCS8300 compatible Krishna Kurapati 2024-10-09 21:32 ` Rob Herring (Arm) 2024-10-09 19:53 ` [PATCH 4/4] phy: qcom: qmp: Add qmp configuration for QCS8300 Krishna Kurapati 2024-10-10 13:56 ` Dmitry Baryshkov 2024-10-12 17:50 ` [PATCH 0/4] Add USB Support " Vinod Koul
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).