devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Piyush Raj Chouhan <pc1598@mainlining.org>
To: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-hardening@vger.kernel.org, andersson@kernel.org,
	konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, tony.luck@intel.com, gpiccoli@igalia.com,
	david@ixit.cz, Piyush Raj Chouhan <pc1598@mainlining.org>
Subject: [PATCH v2 2/3] arm64: dts: qcom: sm8150: Move usb-role-switch property to common dtsi
Date: Wed,  5 Nov 2025 03:46:56 +0530	[thread overview]
Message-ID: <20251104221657.51580-3-pc1598@mainlining.org> (raw)
In-Reply-To: <20251104221657.51580-1-pc1598@mainlining.org>

Signed-off-by: Piyush Raj Chouhan <pc1598@mainlining.org>
---
 arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 1 -
 arch/arm64/boot/dts/qcom/sm8150.dtsi    | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
index 0339a572f34d..29afee6160cd 100644
--- a/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8150-hdk.dts
@@ -693,7 +693,6 @@ &usb_2 {
 
 &usb_1_dwc3 {
 	dr_mode = "otg";
-	usb-role-switch;
 };
 
 &usb_1_dwc3_hs {
diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index acdba79612aa..cd05975dacd1 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -3661,6 +3661,8 @@ usb_1_dwc3: usb@a600000 {
 				phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>;
 				phy-names = "usb2-phy", "usb3-phy";
 
+				usb-role-switch;
+
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;
-- 
2.51.2


  parent reply	other threads:[~2025-11-04 22:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04 22:16 [PATCH v2 0/3] Add Xiaomi Redmi K20 Pro (Raphael) Piyush Raj Chouhan
2025-11-04 22:16 ` [PATCH v2 1/3] dt-bindings: arm: qcom: " Piyush Raj Chouhan
2025-11-04 22:16 ` Piyush Raj Chouhan [this message]
2025-11-04 22:32   ` [PATCH v2 2/3] arm64: dts: qcom: sm8150: Move usb-role-switch property to common dtsi David Heidelberg
2025-11-05  0:46   ` Dmitry Baryshkov
2025-11-04 22:16 ` [PATCH v2 3/3] arm64: dts: qcom: sm8150: Add support for Xiaomi Redmi K20 Pro Piyush Raj Chouhan
2025-11-05  0:51   ` Dmitry Baryshkov
2025-11-26 11:36 ` [PATCH v2 0/3] Add Xiaomi Redmi K20 Pro (Raphael) Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251104221657.51580-3-pc1598@mainlining.org \
    --to=pc1598@mainlining.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.org \
    --cc=gpiccoli@igalia.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).