* [PATCH v2 1/5] dt-bindings: usb: qcom,dwc3: Add QCS615 to USB DWC3 bindings
2024-10-17 13:06 [PATCH v2 0/5] Add support for primary USB controller on QCS615 Krishna Kurapati
@ 2024-10-17 13:06 ` Krishna Kurapati
2024-10-17 13:06 ` [PATCH v2 2/5] dt-bindings: phy: qcom,qusb2: Add bindings for QCS615 Krishna Kurapati
` (3 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-17 13:06 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley,
Greg Kroah-Hartman, Manivannan Sadhasivam
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati, Krzysztof Kozlowski
Update dt-bindings to add primary controller of QCS615 to USB
DWC3 controller list.
Although this controller has a QUSB2 Phy, it belongs to a
generation of SoCs like SDM670/SDM845/SM6350 where DP/DM is
used for wakeup instead of qusb2_phy interrupt.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
index f7be05641930..76f78ed6ac9b 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,qcs615-dwc3
- qcom,qcs8300-dwc3
- qcom,qdu1000-dwc3
- qcom,sa8775p-dwc3
@@ -340,6 +341,7 @@ allOf:
contains:
enum:
- qcom,qcm2290-dwc3
+ - qcom,qcs615-dwc3
- qcom,sc8180x-dwc3
- qcom,sc8180x-dwc3-mp
- qcom,sm6115-dwc3
@@ -467,6 +469,7 @@ allOf:
- qcom,ipq4019-dwc3
- qcom,ipq8064-dwc3
- qcom,msm8994-dwc3
+ - qcom,qcs615-dwc3
- qcom,qcs8300-dwc3
- qcom,qdu1000-dwc3
- qcom,sa8775p-dwc3
--
2.34.1
^ permalink raw reply [flat|nested] 14+ messages in thread* [PATCH v2 2/5] dt-bindings: phy: qcom,qusb2: Add bindings for QCS615
2024-10-17 13:06 [PATCH v2 0/5] Add support for primary USB controller on QCS615 Krishna Kurapati
2024-10-17 13:06 ` [PATCH v2 1/5] dt-bindings: usb: qcom,dwc3: Add QCS615 to USB DWC3 bindings Krishna Kurapati
@ 2024-10-17 13:06 ` Krishna Kurapati
2024-10-17 13:06 ` [PATCH v2 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support " Krishna Kurapati
` (2 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-17 13:06 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley,
Greg Kroah-Hartman, Manivannan Sadhasivam
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati, Krzysztof Kozlowski
Update dt-bindings to add QCS615 to QUSB2 Phy list.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
index 95eecbaef05c..4aed4b5d65ec 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
@@ -25,6 +25,7 @@ properties:
- qcom,msm8996-qusb2-phy
- qcom,msm8998-qusb2-phy
- qcom,qcm2290-qusb2-phy
+ - qcom,qcs615-qusb2-phy
- qcom,sdm660-qusb2-phy
- qcom,sm4250-qusb2-phy
- qcom,sm6115-qusb2-phy
--
2.34.1
^ permalink raw reply [flat|nested] 14+ messages in thread* [PATCH v2 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support for QCS615
2024-10-17 13:06 [PATCH v2 0/5] Add support for primary USB controller on QCS615 Krishna Kurapati
2024-10-17 13:06 ` [PATCH v2 1/5] dt-bindings: usb: qcom,dwc3: Add QCS615 to USB DWC3 bindings Krishna Kurapati
2024-10-17 13:06 ` [PATCH v2 2/5] dt-bindings: phy: qcom,qusb2: Add bindings for QCS615 Krishna Kurapati
@ 2024-10-17 13:06 ` Krishna Kurapati
2024-10-17 13:07 ` [PATCH v2 4/5] phy: qcom-qusb2: " Krishna Kurapati
2024-10-17 13:07 ` [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Krishna Kurapati
4 siblings, 0 replies; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-17 13:06 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley,
Greg Kroah-Hartman, Manivannan Sadhasivam
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati, Krzysztof Kozlowski
Update dt-bindings to add QCS615 to QMP Phy list.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
index f1f4e4f83352..1636285fbe53 100644
--- a/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
@@ -18,6 +18,7 @@ properties:
enum:
- qcom,msm8998-qmp-usb3-phy
- qcom,qcm2290-qmp-usb3-phy
+ - qcom,qcs615-qmp-usb3-phy
- qcom,sdm660-qmp-usb3-phy
- qcom,sm6115-qmp-usb3-phy
@@ -96,6 +97,7 @@ allOf:
contains:
enum:
- qcom,msm8998-qmp-usb3-phy
+ - qcom,qcs615-qmp-usb3-phy
- qcom,sdm660-qmp-usb3-phy
then:
properties:
--
2.34.1
^ permalink raw reply [flat|nested] 14+ messages in thread* [PATCH v2 4/5] phy: qcom-qusb2: Add support for QCS615
2024-10-17 13:06 [PATCH v2 0/5] Add support for primary USB controller on QCS615 Krishna Kurapati
` (2 preceding siblings ...)
2024-10-17 13:06 ` [PATCH v2 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support " Krishna Kurapati
@ 2024-10-17 13:07 ` Krishna Kurapati
2024-10-18 10:48 ` Dmitry Baryshkov
2024-10-17 13:07 ` [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Krishna Kurapati
4 siblings, 1 reply; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-17 13:07 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley,
Greg Kroah-Hartman, Manivannan Sadhasivam
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati
Add init sequence and phy configuration for QCS615.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
---
drivers/phy/qualcomm/phy-qcom-qusb2.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c
index c52655a383ce..81b9e9349c3e 100644
--- a/drivers/phy/qualcomm/phy-qcom-qusb2.c
+++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c
@@ -151,6 +151,19 @@ static const struct qusb2_phy_init_tbl ipq6018_init_tbl[] = {
QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9F),
};
+static const struct qusb2_phy_init_tbl qcs615_init_tbl[] = {
+ QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0xc8),
+ QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0xb3),
+ QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE3, 0x83),
+ QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE4, 0xc0),
+ QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TUNE, 0x30),
+ QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL1, 0x79),
+ QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL2, 0x21),
+ QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TEST2, 0x14),
+ QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9f),
+ QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_PWR_CTRL, 0x00),
+};
+
static const unsigned int ipq6018_regs_layout[] = {
[QUSB2PHY_PLL_STATUS] = 0x38,
[QUSB2PHY_PORT_TUNE1] = 0x80,
@@ -331,6 +344,17 @@ static const struct qusb2_phy_cfg ipq6018_phy_cfg = {
.autoresume_en = BIT(0),
};
+static const struct qusb2_phy_cfg qcs615_phy_cfg = {
+ .tbl = qcs615_init_tbl,
+ .tbl_num = ARRAY_SIZE(qcs615_init_tbl),
+ .regs = ipq6018_regs_layout,
+
+ .disable_ctrl = (CLAMP_N_EN | FREEZIO_N | POWER_DOWN),
+ .mask_core_ready = PLL_LOCKED,
+ /* autoresume not used */
+ .autoresume_en = BIT(0),
+};
+
static const struct qusb2_phy_cfg qusb2_v2_phy_cfg = {
.tbl = qusb2_v2_init_tbl,
.tbl_num = ARRAY_SIZE(qusb2_v2_init_tbl),
@@ -922,6 +946,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = {
}, {
.compatible = "qcom,msm8998-qusb2-phy",
.data = &msm8998_phy_cfg,
+ }, {
+ .compatible = "qcom,qcs615-qusb2-phy",
+ .data = &qcs615_phy_cfg,
}, {
.compatible = "qcom,qcm2290-qusb2-phy",
.data = &sm6115_phy_cfg,
--
2.34.1
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 4/5] phy: qcom-qusb2: Add support for QCS615
2024-10-17 13:07 ` [PATCH v2 4/5] phy: qcom-qusb2: " Krishna Kurapati
@ 2024-10-18 10:48 ` Dmitry Baryshkov
0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-10-18 10:48 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, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On Thu, Oct 17, 2024 at 06:37:00PM +0530, Krishna Kurapati wrote:
> Add init sequence and phy configuration for QCS615.
>
> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> ---
> drivers/phy/qualcomm/phy-qcom-qusb2.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-17 13:06 [PATCH v2 0/5] Add support for primary USB controller on QCS615 Krishna Kurapati
` (3 preceding siblings ...)
2024-10-17 13:07 ` [PATCH v2 4/5] phy: qcom-qusb2: " Krishna Kurapati
@ 2024-10-17 13:07 ` Krishna Kurapati
2024-10-17 18:27 ` Dmitry Baryshkov
4 siblings, 1 reply; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-17 13:07 UTC (permalink / raw)
To: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Dmitry Baryshkov, Conor Dooley,
Greg Kroah-Hartman, Manivannan Sadhasivam
Cc: linux-usb, linux-kernel, linux-arm-msm, devicetree, linux-phy,
quic_ppratap, quic_jackp, Krishna Kurapati
Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
index d4fa1063ea61..c56ba8468538 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
@@ -1123,6 +1123,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
}, {
.compatible = "qcom,qcm2290-qmp-usb3-phy",
.data = &qcm2290_usb3phy_cfg,
+ }, {
+ .compatible = "qcom,qcs615-qmp-usb3-phy",
+ .data = &qcm2290_usb3phy_cfg,
}, {
.compatible = "qcom,sdm660-qmp-usb3-phy",
.data = &sdm660_usb3phy_cfg,
--
2.34.1
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-17 13:07 ` [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Krishna Kurapati
@ 2024-10-17 18:27 ` Dmitry Baryshkov
2024-10-18 7:48 ` Tingwei Zhang
0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-10-17 18:27 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, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
<quic_kriskura@quicinc.com> wrote:
>
> Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
>
> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
After checking platform details,
Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> index d4fa1063ea61..c56ba8468538 100644
> --- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> @@ -1123,6 +1123,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
> }, {
> .compatible = "qcom,qcm2290-qmp-usb3-phy",
> .data = &qcm2290_usb3phy_cfg,
> + }, {
> + .compatible = "qcom,qcs615-qmp-usb3-phy",
> + .data = &qcm2290_usb3phy_cfg,
> }, {
> .compatible = "qcom,sdm660-qmp-usb3-phy",
> .data = &sdm660_usb3phy_cfg,
> --
> 2.34.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-17 18:27 ` Dmitry Baryshkov
@ 2024-10-18 7:48 ` Tingwei Zhang
2024-10-18 8:06 ` Dmitry Baryshkov
0 siblings, 1 reply; 14+ messages in thread
From: Tingwei Zhang @ 2024-10-18 7:48 UTC (permalink / raw)
To: Dmitry Baryshkov, Krishna Kurapati
Cc: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
> On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
> <quic_kriskura@quicinc.com> wrote:
>>
>> Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
>>
>> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> After checking platform details,
>
> Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
IoT variant, while SM6150 is a mobile variant. We are currently adding
QCS615 SoC support to the upstream Kernel, as it is in an active
development stage and we anticipate many products based on this SoC. On
the other hand, the SM6150 is an older mobile platform that is unlikely
to be used in new designs. For a product introduction of the QCS615,
please refer to
https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
>
>> ---
>> drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>> index d4fa1063ea61..c56ba8468538 100644
>> --- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>> @@ -1123,6 +1123,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
>> }, {
>> .compatible = "qcom,qcm2290-qmp-usb3-phy",
>> .data = &qcm2290_usb3phy_cfg,
>> + }, {
>> + .compatible = "qcom,qcs615-qmp-usb3-phy",
>> + .data = &qcm2290_usb3phy_cfg,
>> }, {
>> .compatible = "qcom,sdm660-qmp-usb3-phy",
>> .data = &sdm660_usb3phy_cfg,
>> --
>> 2.34.1
>>
>
>
--
Thanks,
Tingwei
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-18 7:48 ` Tingwei Zhang
@ 2024-10-18 8:06 ` Dmitry Baryshkov
2024-10-18 9:01 ` Tingwei Zhang
0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-10-18 8:06 UTC (permalink / raw)
To: Tingwei Zhang
Cc: Krishna Kurapati, Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On Fri, 18 Oct 2024 at 10:48, Tingwei Zhang <quic_tingweiz@quicinc.com> wrote:
>
> On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
> > On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
> > <quic_kriskura@quicinc.com> wrote:
> >>
> >> Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
> >>
> >> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> >> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >
> > After checking platform details,
> >
> > Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >
> > Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
>
> QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
> IoT variant, while SM6150 is a mobile variant. We are currently adding
> QCS615 SoC support to the upstream Kernel, as it is in an active
> development stage and we anticipate many products based on this SoC. On
> the other hand, the SM6150 is an older mobile platform that is unlikely
> to be used in new designs. For a product introduction of the QCS615,
> please refer to
> https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
Yes, I guessed so. It would have been nice if it was documented this
way from the beginning.
Please note that we usually get support for the mobile SoC first. So
in most of the cases devices use mobile compatible even for IoT
platforms, see qrb5165, qrb4210, qcm6490 and other similar platforms.
I simply asked to follow the established pattern.
>
> >
> >> ---
> >> drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 +++
> >> 1 file changed, 3 insertions(+)
> >>
> >> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> >> index d4fa1063ea61..c56ba8468538 100644
> >> --- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> >> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
> >> @@ -1123,6 +1123,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
> >> }, {
> >> .compatible = "qcom,qcm2290-qmp-usb3-phy",
> >> .data = &qcm2290_usb3phy_cfg,
> >> + }, {
> >> + .compatible = "qcom,qcs615-qmp-usb3-phy",
> >> + .data = &qcm2290_usb3phy_cfg,
> >> }, {
> >> .compatible = "qcom,sdm660-qmp-usb3-phy",
> >> .data = &sdm660_usb3phy_cfg,
> >> --
> >> 2.34.1
> >>
> >
> >
>
>
> --
> Thanks,
> Tingwei
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-18 8:06 ` Dmitry Baryshkov
@ 2024-10-18 9:01 ` Tingwei Zhang
2024-10-18 10:11 ` Dmitry Baryshkov
0 siblings, 1 reply; 14+ messages in thread
From: Tingwei Zhang @ 2024-10-18 9:01 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Krishna Kurapati, Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On 10/18/2024 4:06 PM, Dmitry Baryshkov wrote:
> On Fri, 18 Oct 2024 at 10:48, Tingwei Zhang <quic_tingweiz@quicinc.com> wrote:
>>
>> On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
>>> On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
>>> <quic_kriskura@quicinc.com> wrote:
>>>>
>>>> Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
>>>>
>>>> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>
>>> After checking platform details,
>>>
>>> Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>
>>> Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
>>
>> QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
>> IoT variant, while SM6150 is a mobile variant. We are currently adding
>> QCS615 SoC support to the upstream Kernel, as it is in an active
>> development stage and we anticipate many products based on this SoC. On
>> the other hand, the SM6150 is an older mobile platform that is unlikely
>> to be used in new designs. For a product introduction of the QCS615,
>> please refer to
>> https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
>
> Yes, I guessed so. It would have been nice if it was documented this
> way from the beginning.
>
> Please note that we usually get support for the mobile SoC first. So
> in most of the cases devices use mobile compatible even for IoT
> platforms, see qrb5165, qrb4210, qcm6490 and other similar platforms.
> I simply asked to follow the established pattern.
Yes, we start from mobile variant for most of the platforms. There are
some exceptions like sc7180 and sc7280 which we started from compute
variant since they are widely used by compute platform on upstream
Kernel. I think we have similar case here. QCS615 will be widely used by
IOT products on upstream Kernel. We should have clarified this from
beginning so there's no ambiguity.
>
>>
>>>
>>>> ---
>>>> drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 3 +++
>>>> 1 file changed, 3 insertions(+)
>>>>
>>>> diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>>>> index d4fa1063ea61..c56ba8468538 100644
>>>> --- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>>>> +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
>>>> @@ -1123,6 +1123,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
>>>> }, {
>>>> .compatible = "qcom,qcm2290-qmp-usb3-phy",
>>>> .data = &qcm2290_usb3phy_cfg,
>>>> + }, {
>>>> + .compatible = "qcom,qcs615-qmp-usb3-phy",
>>>> + .data = &qcm2290_usb3phy_cfg,
>>>> }, {
>>>> .compatible = "qcom,sdm660-qmp-usb3-phy",
>>>> .data = &sdm660_usb3phy_cfg,
>>>> --
>>>> 2.34.1
>>>>
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Tingwei
>
>
>
--
Thanks,
Tingwei
^ permalink raw reply [flat|nested] 14+ messages in thread* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-18 9:01 ` Tingwei Zhang
@ 2024-10-18 10:11 ` Dmitry Baryshkov
2024-10-18 10:23 ` Krishna Kurapati
0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-10-18 10:11 UTC (permalink / raw)
To: Tingwei Zhang
Cc: Krishna Kurapati, Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On Fri, Oct 18, 2024 at 05:01:48PM +0800, Tingwei Zhang wrote:
> On 10/18/2024 4:06 PM, Dmitry Baryshkov wrote:
> > On Fri, 18 Oct 2024 at 10:48, Tingwei Zhang <quic_tingweiz@quicinc.com> wrote:
> > >
> > > On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
> > > > On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
> > > > <quic_kriskura@quicinc.com> wrote:
> > > > >
> > > > > Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
> > > > >
> > > > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> > > > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > > >
> > > > After checking platform details,
> > > >
> > > > Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > > >
> > > > Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
> > >
> > > QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
> > > IoT variant, while SM6150 is a mobile variant. We are currently adding
> > > QCS615 SoC support to the upstream Kernel, as it is in an active
> > > development stage and we anticipate many products based on this SoC. On
> > > the other hand, the SM6150 is an older mobile platform that is unlikely
> > > to be used in new designs. For a product introduction of the QCS615,
> > > please refer to
> > > https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
> >
> > Yes, I guessed so. It would have been nice if it was documented this
> > way from the beginning.
> >
> > Please note that we usually get support for the mobile SoC first. So
> > in most of the cases devices use mobile compatible even for IoT
> > platforms, see qrb5165, qrb4210, qcm6490 and other similar platforms.
> > I simply asked to follow the established pattern.
>
> Yes, we start from mobile variant for most of the platforms. There are some
> exceptions like sc7180 and sc7280 which we started from compute variant
> since they are widely used by compute platform on upstream Kernel. I think
> we have similar case here. QCS615 will be widely used by IOT products on
> upstream Kernel. We should have clarified this from beginning so there's no
> ambiguity.
After offline discussion with Krzysztof, I'll lift my objection, so
still Reviewed-by.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-18 10:11 ` Dmitry Baryshkov
@ 2024-10-18 10:23 ` Krishna Kurapati
2024-10-18 10:49 ` Dmitry Baryshkov
0 siblings, 1 reply; 14+ messages in thread
From: Krishna Kurapati @ 2024-10-18 10:23 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Tingwei Zhang, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On 10/18/2024 3:41 PM, Dmitry Baryshkov wrote:
> On Fri, Oct 18, 2024 at 05:01:48PM +0800, Tingwei Zhang wrote:
>> On 10/18/2024 4:06 PM, Dmitry Baryshkov wrote:
>>> On Fri, 18 Oct 2024 at 10:48, Tingwei Zhang <quic_tingweiz@quicinc.com> wrote:
>>>>
>>>> On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
>>>>> On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
>>>>> <quic_kriskura@quicinc.com> wrote:
>>>>>>
>>>>>> Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
>>>>>>
>>>>>> Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
>>>>>> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>>
>>>>> After checking platform details,
>>>>>
>>>>> Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>>>>
>>>>> Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
>>>>
>>>> QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
>>>> IoT variant, while SM6150 is a mobile variant. We are currently adding
>>>> QCS615 SoC support to the upstream Kernel, as it is in an active
>>>> development stage and we anticipate many products based on this SoC. On
>>>> the other hand, the SM6150 is an older mobile platform that is unlikely
>>>> to be used in new designs. For a product introduction of the QCS615,
>>>> please refer to
>>>> https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
>>>
>>> Yes, I guessed so. It would have been nice if it was documented this
>>> way from the beginning.
>>>
>>> Please note that we usually get support for the mobile SoC first. So
>>> in most of the cases devices use mobile compatible even for IoT
>>> platforms, see qrb5165, qrb4210, qcm6490 and other similar platforms.
>>> I simply asked to follow the established pattern.
>>
>> Yes, we start from mobile variant for most of the platforms. There are some
>> exceptions like sc7180 and sc7280 which we started from compute variant
>> since they are widely used by compute platform on upstream Kernel. I think
>> we have similar case here. QCS615 will be widely used by IOT products on
>> upstream Kernel. We should have clarified this from beginning so there's no
>> ambiguity.
>
> After offline discussion with Krzysztof, I'll lift my objection, so
> still Reviewed-by.
>
Thanks Dmitry.
Can you help review patch-4 of the series. I made the changes you
suggested on v1 (uppercase to lowercase and removing un-necessary re-inits).
Regards,
Krishna,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 5/5] phy: qcom: qmp-usbc: Add qmp configuration for QCS615
2024-10-18 10:23 ` Krishna Kurapati
@ 2024-10-18 10:49 ` Dmitry Baryshkov
0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Baryshkov @ 2024-10-18 10:49 UTC (permalink / raw)
To: Krishna Kurapati
Cc: Vinod Koul, Krzysztof Kozlowski, Rob Herring,
Kishon Vijay Abraham I, Bjorn Andersson, Wesley Cheng,
Konrad Dybcio, Tingwei Zhang, Conor Dooley, Greg Kroah-Hartman,
Manivannan Sadhasivam, linux-usb, linux-kernel, linux-arm-msm,
devicetree, linux-phy, quic_ppratap, quic_jackp
On Fri, Oct 18, 2024 at 03:53:22PM +0530, Krishna Kurapati wrote:
>
>
> On 10/18/2024 3:41 PM, Dmitry Baryshkov wrote:
> > On Fri, Oct 18, 2024 at 05:01:48PM +0800, Tingwei Zhang wrote:
> > > On 10/18/2024 4:06 PM, Dmitry Baryshkov wrote:
> > > > On Fri, 18 Oct 2024 at 10:48, Tingwei Zhang <quic_tingweiz@quicinc.com> wrote:
> > > > >
> > > > > On 10/18/2024 2:27 AM, Dmitry Baryshkov wrote:
> > > > > > On Thu, 17 Oct 2024 at 16:07, Krishna Kurapati
> > > > > > <quic_kriskura@quicinc.com> wrote:
> > > > > > >
> > > > > > > Provide PHY configuration for the USB QMP PHY for QCS615 Platform.
> > > > > > >
> > > > > > > Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com>
> > > > > > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > > > > >
> > > > > > After checking platform details,
> > > > > >
> > > > > > Unreviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > > > > >
> > > > > > Please perform global s/QCS615/SM6150/ and s/qcs615/sm6150/
> > > > >
> > > > > QCS615 and SM6150 are different variants of the same SoC. QCS615 is an
> > > > > IoT variant, while SM6150 is a mobile variant. We are currently adding
> > > > > QCS615 SoC support to the upstream Kernel, as it is in an active
> > > > > development stage and we anticipate many products based on this SoC. On
> > > > > the other hand, the SM6150 is an older mobile platform that is unlikely
> > > > > to be used in new designs. For a product introduction of the QCS615,
> > > > > please refer to
> > > > > https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
> > > >
> > > > Yes, I guessed so. It would have been nice if it was documented this
> > > > way from the beginning.
> > > >
> > > > Please note that we usually get support for the mobile SoC first. So
> > > > in most of the cases devices use mobile compatible even for IoT
> > > > platforms, see qrb5165, qrb4210, qcm6490 and other similar platforms.
> > > > I simply asked to follow the established pattern.
> > >
> > > Yes, we start from mobile variant for most of the platforms. There are some
> > > exceptions like sc7180 and sc7280 which we started from compute variant
> > > since they are widely used by compute platform on upstream Kernel. I think
> > > we have similar case here. QCS615 will be widely used by IOT products on
> > > upstream Kernel. We should have clarified this from beginning so there's no
> > > ambiguity.
> >
> > After offline discussion with Krzysztof, I'll lift my objection, so
> > still Reviewed-by.
> >
>
> Thanks Dmitry.
>
> Can you help review patch-4 of the series. I made the changes you suggested
> on v1 (uppercase to lowercase and removing un-necessary re-inits).
done
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread