[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160526154005.11558-3-thierry.reding@gmail.com>
Date: Thu, 26 May 2016 17:40:02 +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 2/5] ARM: tegra: Enable UDC on TrimSlice
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/tegra20-trimslice.dts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index 4a035f74043a..5496f3dc089c 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -336,11 +336,14 @@
};
usb@...00000 {
+ compatible = "nvidia,tegra20-udc";
status = "okay";
+ dr_mode = "otg";
};
usb-phy@...00000 {
status = "okay";
+ dr_mode = "otg";
vbus-supply = <&vbus_reg>;
};
--
2.8.3
Powered by blists - more mailing lists