[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160526154005.11558-6-thierry.reding@gmail.com>
Date: Thu, 26 May 2016 17:40:05 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Peter Chen <Peter.Chen@....com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Stephen Warren <swarren@...dotorg.org>,
Thierry Reding <thierry.reding@...il.com>,
Alexandre Courbot <gnurou@...il.com>,
Jon Hunter <jonathanh@...dia.com>, linux-usb@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [RFC 5/5] ARM: tegra: Enable UDC on Jetson TK1
From: Thierry Reding <treding@...dia.com>
Override the compatible string of the first USB controller to enable
device mode.
Signed-off-by: Thierry Reding <treding@...dia.com>
---
arch/arm/boot/dts/tegra124-jetson-tk1.dts | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
index 941f36263c8f..30e92cc85b86 100644
--- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts
+++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts
@@ -1726,7 +1726,7 @@
lanes {
usb2-0 {
- nvidia,function = "xusb";
+ nvidia,function = "snps";
status = "okay";
};
@@ -1833,6 +1833,17 @@
};
};
+ usb@0,7d000000 {
+ compatible = "nvidia,tegra124-udc";
+ status = "okay";
+ dr_mode = "otg";
+ };
+
+ usb-phy@0,7d000000 {
+ status = "okay";
+ dr_mode = "otg";
+ };
+
/* mini-PCIe USB */
usb@0,7d004000 {
status = "okay";
--
2.8.3
Powered by blists - more mailing lists