public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC
@ 2026-04-30 11:50 Komal Bajaj
  2026-04-30 11:50 ` [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible Komal Bajaj
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

This series adds Driver and binding changes for USB controllers on
Shikra. There are two USB controllers - One of them is SS capable
and other is HS only capable. The ss Phy init sequence is same as
that of Talos.

Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
---
Krishna Kurapati (5):
      dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible
      dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra
      dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support for Shikra
      phy: qcom-qusb2: Add support for Shikra
      phy: qcom: qmp-usbc: Add qmp configuration for Shikra

 .../bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml          |  2 ++
 .../devicetree/bindings/phy/qcom,qusb2-phy.yaml          |  1 +
 .../devicetree/bindings/usb/qcom,snps-dwc3.yaml          |  3 +++
 drivers/phy/qualcomm/phy-qcom-qmp-usbc.c                 |  3 +++
 drivers/phy/qualcomm/phy-qcom-qusb2.c                    | 16 ++++++++++++++++
 5 files changed, 25 insertions(+)
---
base-commit: 39704f00f747aba3144289870b5fd8ac230a9aaf
change-id: 20260430-shikra-usb-1fc0d3f9c117

Best regards,
-- 
Komal Bajaj <komal.bajaj@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible
  2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
@ 2026-04-30 11:50 ` Komal Bajaj
  2026-05-04 10:13   ` Krzysztof Kozlowski
  2026-04-30 11:50 ` [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra Komal Bajaj
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Introduce the compatible definition for Shikra QCOM SNPS DWC3.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
index 8201656b41ed..68d0491dc653 100644
--- a/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml
@@ -60,6 +60,7 @@ properties:
           - qcom,sdx55-dwc3
           - qcom,sdx65-dwc3
           - qcom,sdx75-dwc3
+          - qcom,shikra-dwc3
           - qcom,sm4250-dwc3
           - qcom,sm6115-dwc3
           - qcom,sm6125-dwc3
@@ -386,6 +387,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,shikra-dwc3
               - qcom,sm8350-dwc3
     then:
       properties:
@@ -456,6 +458,7 @@ allOf:
               - qcom,msm8996-dwc3
               - qcom,qcs404-dwc3
               - qcom,sdm660-dwc3
+              - qcom,shikra-dwc3
               - qcom,sm4250-dwc3
               - qcom,sm6115-dwc3
               - qcom,sm6125-dwc3

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra
  2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
  2026-04-30 11:50 ` [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible Komal Bajaj
@ 2026-04-30 11:50 ` Komal Bajaj
  2026-05-04 10:14   ` Krzysztof Kozlowski
  2026-04-30 11:50 ` [PATCH 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support " Komal Bajaj
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Update dt-bindings to add Shikra to QUSB2 Phy list.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
 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 39851ba9de43..ddbddeec6fb1 100644
--- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
@@ -28,6 +28,7 @@ properties:
               - qcom,qcm2290-qusb2-phy
               - qcom,qcs615-qusb2-phy
               - qcom,sdm660-qusb2-phy
+              - qcom,shikra-qusb2-phy
               - qcom,sm4250-qusb2-phy
               - qcom,sm6115-qusb2-phy
       - items:

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support for Shikra
  2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
  2026-04-30 11:50 ` [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible Komal Bajaj
  2026-04-30 11:50 ` [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra Komal Bajaj
@ 2026-04-30 11:50 ` Komal Bajaj
  2026-04-30 11:50 ` [PATCH 4/5] phy: qcom-qusb2: " Komal Bajaj
  2026-04-30 11:50 ` [PATCH 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Komal Bajaj
  4 siblings, 0 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Update dt-bindings to add Shikra to QMP Phy list.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
 Documentation/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 1636285fbe53..8402fe4a96e0 100644
--- a/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-usb3-phy.yaml
@@ -20,6 +20,7 @@ properties:
       - qcom,qcm2290-qmp-usb3-phy
       - qcom,qcs615-qmp-usb3-phy
       - qcom,sdm660-qmp-usb3-phy
+      - qcom,shikra-qmp-usb3-phy
       - qcom,sm6115-qmp-usb3-phy
 
   reg:
@@ -116,6 +117,7 @@ allOf:
           contains:
             enum:
               - qcom,qcm2290-qmp-usb3-phy
+              - qcom,shikra-qmp-usb3-phy
               - qcom,sm6115-qmp-usb3-phy
     then:
       properties:

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 4/5] phy: qcom-qusb2: Add support for Shikra
  2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
                   ` (2 preceding siblings ...)
  2026-04-30 11:50 ` [PATCH 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support " Komal Bajaj
@ 2026-04-30 11:50 ` Komal Bajaj
  2026-04-30 11:50 ` [PATCH 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Komal Bajaj
  4 siblings, 0 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Add init sequence and phy configuration for Shikra.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
 drivers/phy/qualcomm/phy-qcom-qusb2.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c
index eb93015be841..ab7437e7b751 100644
--- a/drivers/phy/qualcomm/phy-qcom-qusb2.c
+++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c
@@ -381,6 +381,19 @@ static const struct qusb2_phy_cfg sdm660_phy_cfg = {
 	.autoresume_en	 = BIT(3),
 };
 
+static const struct qusb2_phy_cfg shikra_phy_cfg = {
+	.tbl            = qcs615_init_tbl,
+	.tbl_num        = ARRAY_SIZE(qcs615_init_tbl),
+	.regs           = ipq6018_regs_layout,
+
+	.has_pll_test	= true,
+	.se_clk_scheme_default = true,
+	.disable_ctrl   = CLAMP_N_EN | FREEZIO_N | POWER_DOWN,
+	.mask_core_ready = PLL_LOCKED,
+	.autoresume_en   = BIT(3),
+	.update_tune1_with_efuse = false,
+};
+
 static const struct qusb2_phy_cfg sm6115_phy_cfg = {
 	.tbl		= sm6115_init_tbl,
 	.tbl_num	= ARRAY_SIZE(sm6115_init_tbl),
@@ -958,6 +971,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = {
 	}, {
 		.compatible	= "qcom,sdm660-qusb2-phy",
 		.data		= &sdm660_phy_cfg,
+	}, {
+		.compatible	= "qcom,shikra-qusb2-phy",
+		.data		= &shikra_phy_cfg,
 	}, {
 		.compatible	= "qcom,sm4250-qusb2-phy",
 		.data		= &sm6115_phy_cfg,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 5/5] phy: qcom: qmp-usbc: Add qmp configuration for Shikra
  2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
                   ` (3 preceding siblings ...)
  2026-04-30 11:50 ` [PATCH 4/5] phy: qcom-qusb2: " Komal Bajaj
@ 2026-04-30 11:50 ` Komal Bajaj
  4 siblings, 0 replies; 8+ messages in thread
From: Komal Bajaj @ 2026-04-30 11:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong
  Cc: linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Komal Bajaj, Krishna Kurapati

From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Provide PHY configuration for the USB QMP PHY for Shikra.

Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
---
 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 c342479a3798..400dcebf8222 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp-usbc.c
@@ -2019,6 +2019,9 @@ static const struct of_device_id qmp_usbc_of_match_table[] = {
 	}, {
 		.compatible = "qcom,sdm660-qmp-usb3-phy",
 		.data = &sdm660_usb3phy_cfg,
+	}, {
+		.compatible = "qcom,shikra-qmp-usb3-phy",
+		.data = &qcs615_usb3phy_cfg,
 	}, {
 		.compatible = "qcom,sm6115-qmp-usb3-phy",
 		.data = &qcm2290_usb3phy_cfg,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible
  2026-04-30 11:50 ` [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible Komal Bajaj
@ 2026-05-04 10:13   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-04 10:13 UTC (permalink / raw)
  To: Komal Bajaj
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong,
	linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Krishna Kurapati

On Thu, Apr 30, 2026 at 05:20:26PM +0530, Komal Bajaj wrote:
> From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
> 
> Introduce the compatible definition for Shikra QCOM SNPS DWC3.
> 
> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Please do not mix subsystems.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra
  2026-04-30 11:50 ` [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra Komal Bajaj
@ 2026-05-04 10:14   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-04 10:14 UTC (permalink / raw)
  To: Komal Bajaj
  Cc: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Vinod Koul, Neil Armstrong,
	linux-arm-msm, linux-usb, devicetree, linux-kernel, linux-phy,
	Krishna Kurapati

On Thu, Apr 30, 2026 at 05:20:27PM +0530, Komal Bajaj wrote:
> From: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>
> 
> Update dt-bindings to add Shikra to QUSB2 Phy list.
> 
> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>

Incomplete DCO, incomplete description of hardware, mixing subsystems
without any need or explanation.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-05-04 10:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 11:50 [PATCH 0/5] Add USB driver and binding changes for Qualcomm Shikra SoC Komal Bajaj
2026-04-30 11:50 ` [PATCH 1/5] dt-bindings: usb: qcom,snps-dwc3: Add Shikra compatible Komal Bajaj
2026-05-04 10:13   ` Krzysztof Kozlowski
2026-04-30 11:50 ` [PATCH 2/5] dt-bindings: phy: qcom,qusb2: Document QUSB2 Phy for Shikra Komal Bajaj
2026-05-04 10:14   ` Krzysztof Kozlowski
2026-04-30 11:50 ` [PATCH 3/5] dt-bindings: phy: qcom,msm8998-qmp-usb3-phy: Add support " Komal Bajaj
2026-04-30 11:50 ` [PATCH 4/5] phy: qcom-qusb2: " Komal Bajaj
2026-04-30 11:50 ` [PATCH 5/5] phy: qcom: qmp-usbc: Add qmp configuration " Komal Bajaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox