Message ID | 39b0632e80a95ec0208e3ed867033ec8de898624.1499273075.git.digetx@gmail.com |
---|---|
State | Superseded |
Headers | show |
On 07/05/2017 11:19 AM, Dmitry Osipenko wrote: > From: Thierry Reding <treding@nvidia.com> > > Override the compatible string of the first USB controller to enable > device mode. Conceptually I'm fine with this change since the port isn't enabled at all yet and so this doesn't change any existing behaviour. I hope someone tested this on real HW? Acked-by: Stephen Warren <swarren@nvidia.com> -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 06.07.2017 19:43, Stephen Warren wrote: > On 07/05/2017 11:19 AM, Dmitry Osipenko wrote: >> From: Thierry Reding <treding@nvidia.com> >> >> Override the compatible string of the first USB controller to enable >> device mode. > > Conceptually I'm fine with this change since the port isn't enabled at all yet > and so this doesn't change any existing behaviour. I hope someone tested this on > real HW? > > Acked-by: Stephen Warren <swarren@nvidia.com> I presume that Thierry tested all the boards before, Thierry did you?
diff --git a/arch/arm/boot/dts/tegra30-beaver.dts b/arch/arm/boot/dts/tegra30-beaver.dts index 4f41b18d9547..c40d6d36f41f 100644 --- a/arch/arm/boot/dts/tegra30-beaver.dts +++ b/arch/arm/boot/dts/tegra30-beaver.dts @@ -1927,6 +1927,16 @@ non-removable; }; + usb@7d000000 { + compatible = "nvidia,tegra30-udc"; + status = "okay"; + dr_mode = "otg"; + }; + + usb-phy@7d000000 { + status = "okay"; + }; + usb@7d004000 { status = "okay"; };