Skip to contentSkip to conversation

Add USB DWC3 support for SC7180

PATCH Superseded Sandeep Maheswaram 2 participants 4 messages Oct 24, 2019 – Oct 29, 2019

Subsystems (4)

v1 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

cover Add USB DWC3 support for SC7180

Adding compatible for SC7180 in USB DWC3 driver and devicetree bindings

Sandeep Maheswaram (2):
usb: dwc3: Add support for SC7180 SOC
dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

 Documentation/devicetree/bindings/usb/qcom,dwc3.txt | 1 +
 drivers/usb/dwc3/dwc3-qcom.c                        | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw

PATCH 2/2 dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

Add compatible for SC7180 SOC in device tree bindings

---
 Documentation/devicetree/bindings/usb/qcom,dwc3.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/qcom,dwc3.txt +1 -0
index cb695aa..c27c58d 100644
@@ -6,6 +6,7 @@ Required properties:
 			"qcom,msm8996-dwc3" for msm8996 SOC.
 			"qcom,msm8998-dwc3" for msm8998 SOC.
 			"qcom,sdm845-dwc3" for sdm845 SOC.
+			"qcom,sc7180-dwc3" for sc7180 SOC.
 - reg:			Offset and length of register set for QSCRATCH wrapper
 - power-domains:	specifies a phandle to PM domain provider node
 - clocks:		A list of phandle + clock-specifier pairs for the
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#1 lore raw

PATCH 1/2 usb: dwc3: Add support for SC7180 SOC

In reply to Sandeep Maheswaram

Add compatible for SC7180 SOC in USB DWC3 driver

---
 drivers/usb/dwc3/dwc3-qcom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/usb/dwc3/dwc3-qcom.c +2 -1
index 261af9e..841763f 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
-/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
  *
  * Inspired by dwc3-of-simple.c
  */
@@ -754,6 +754,7 @@ static const struct of_device_id dwc3_qcom_of_match[] = {
 	{ .compatible = "qcom,msm8996-dwc3" },
 	{ .compatible = "qcom,msm8998-dwc3" },
 	{ .compatible = "qcom,sdm845-dwc3" },
+	{ .compatible = "qcom,sc7180-dwc3" },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, dwc3_qcom_of_match);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#3 lore raw

Re: [PATCH 2/2] dt-bindings: usb: qcom,dwc3: Add compatible for SC7180

In reply to Sandeep Maheswaram

Quoting Sandeep Maheswaram (2019-10-24 05:48:48)

Quoted 12 lines

Add compatible for SC7180 SOC in device tree bindings

---
 Documentation/devicetree/bindings/usb/qcom,dwc3.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/qcom,dwc3.txt +0 -0
index cb695aa..c27c58d 100644

Documentation/devicetree/bindings/usb/qcom,dwc3.txt Required properties: · line 9

Quoted 4 lines
Documentation/devicetree/bindings/usb/qcom,dwc3.txt +1 -0
@@ -6,6 +6,7 @@ Required properties:
                        "qcom,msm8996-dwc3" for msm8996 SOC.
                        "qcom,msm8998-dwc3" for msm8998 SOC.
                        "qcom,sdm845-dwc3" for sdm845 SOC.
+                       "qcom,sc7180-dwc3" for sc7180 SOC.

Can this be sorted? And can this binding be converted to yaml?