From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 27 Jul 2015 13:48:40 -0600 Subject: [U-Boot] [PATCH v2 16/16] apalis/colibri_t30: fix usb dm regression In-Reply-To: <87134ae782f73d351e62c5e84fa29a58b4043371.1437426110.git.marcel.ziswiler@toradex.com> References: <87134ae782f73d351e62c5e84fa29a58b4043371.1437426110.git.marcel.ziswiler@toradex.com> Message-ID: <55B68B18.3050808@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/20/2015 04:35 PM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Unfortunately currently both Apalis T30 as well as Colibri T30 crash > upon starting USB host support. This is due to the following patch not > having taken into account that our T30 device trees were defaulting to > peripheral only mode instead of otg: > > commit ddb9a502d18008e845d5a8fa03ec48630fa77fb7 > dm: usb: tegra: Move most of init/uninit into a function > diff --git a/arch/arm/dts/tegra30-colibri.dts b/arch/arm/dts/tegra30-colibri.dts > /* EHCI instance 0: USB1_DP/N -> USBC_P/N */ > usb at 7d000000 { > status = "okay"; > - dr_mode = "peripheral"; > + dr_mode = "otg"; > }; Is there SW control over driving VBUS for this port? If not, I don't think switching to otg is correct/possible. It seems better to fix the crash in the code?