mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Svyatoslav Ryhel <clamor95@gmail.com>,
	Ion Agorria <ion@agorria.com>
Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 8/9] ARM: tegra: lg-x3: Update USB configuration
Date: Sun,  4 Oct 2026 18:44:55 +0300	[thread overview]
Message-ID: <20261004154456.145362-9-clamor95@gmail.com> (raw)
In-Reply-To: <20261004154456.145362-1-clamor95@gmail.com>

Update USB controller configuration and link it to MUIC.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi b/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
index 2dbef0185a0b8..e334473b7635a 100644
--- a/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra30-lg-x3.dtsi
@@ -1215,6 +1215,11 @@ muic_to_charger: endpoint@0 {
 					reg = <0>;
 					remote-endpoint = <&charger_input>;
 				};
+
+				muic_to_usb: endpoint@1 {
+					reg = <1>;
+					remote-endpoint = <&usb_input>;
+				};
 			};
 		};
 
@@ -1788,7 +1793,19 @@ usb@7d000000 {
 		compatible = "nvidia,tegra30-udc";
 		status = "okay";
 		dr_mode = "otg";
-		extcon = <&max14526>, <&max14526>;
+
+		hnp-disable;
+		srp-disable;
+		adp-disable;
+
+		usb-role-switch;
+		extcon = <&max14526>, <&max14526>; /* vbus, id */
+
+		port {
+			usb_input: endpoint {
+				remote-endpoint = <&muic_to_usb>;
+			};
+		};
 	};
 
 	usb-phy@7d000000 {
-- 
2.53.0


  parent reply	other threads:[~2026-10-04 15:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-04 15:44 [PATCH v2 0/9] ARM: tegra: lg-x3: Add newly supported devices and fixes Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 1/9] ARM: tegra: lg-x3: Adjust WiFi node Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 2/9] ARM: tegra: lg-x3: Remove pinctrl-* properties duplication Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 3/9] ARM: tegra: lg-x3: Lower supported suspend mode Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 4/9] ARM: tegra: lg-x3: Add light sensor node Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 5/9] ARM: tegra: lg-x3: Add flash LEDs controller node Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 6/9] ARM: tegra: lg-x3: Add haptic engine node Svyatoslav Ryhel
2026-10-04 15:44 ` [PATCH v2 7/9] ARM: tegra: lg-x3: Add backlight LED controller node Svyatoslav Ryhel
2026-10-04 15:44 ` Svyatoslav Ryhel [this message]
2026-10-04 15:44 ` [PATCH v2 9/9] ARM: tegra: p895: Update power LED trigger Svyatoslav Ryhel

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=20261004154456.145362-9-clamor95@gmail.com \
    --to=clamor95@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ion@agorria.com \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@kernel.org \
    /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

all inboxes | Powered by JetHome®