From: Mark Kettenis Date: Sun, 30 Jun 2019 18:07:26 +0200 (CEST) Subject: [U-Boot] [PATCH 3/4] usb: xhci-dwc3: Add USB2 PHY configuration In-Reply-To: <41aad6a3-2940-7b55-3cea-c081b1af4334@denx.de> (message from Marek Vasut on Sun, 30 Jun 2019 16:31:41 +0200) References: <20190629162945.37627-1-kettenis@openbsd.org> <20190629162945.37627-4-kettenis@openbsd.org> <4a628a13-0d56-5983-fc1a-1e34c0c9f819@rock-chips.com> <1df2f908-1e95-4da2-13e1-816a945d9eb4@denx.de> <54389465d2380f03@bloch.sibelius.xs4all.nl> <41aad6a3-2940-7b55-3cea-c081b1af4334@denx.de> Message-ID: <5438950b476ade8f@bloch.sibelius.xs4all.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > From: Marek Vasut > Date: Sun, 30 Jun 2019 16:31:41 +0200 > > On 6/30/19 4:25 PM, Mark Kettenis wrote: > >> From: Marek Vasut > >> Date: Sun, 30 Jun 2019 15:36:03 +0200 > >> > >> On 6/30/19 3:31 PM, Kever Yang wrote: > >>> Hi Mark, > >>> > >>>     I add Marek and Bin Meng for this patch, I'm not sure where > >>> > >>> are these phy setting should go. > >>> > >>> Thanks, > >>> - Kever > >>> On 06/30/2019 12:29 AM, Mark Kettenis wrote: > >>>> Configure USB2 PHY register based on "phy_type" property and > >>>> handle all the quirks that are relevant for Rockchip RK3399 SoCs. > >> > >> Is this a documented DT property or some ad-hoc U-Boot one ? > > > > Yes, these are all standard Linux DT properties. See usb/generic.txt > > for "phy_type", and usb/dwc3.txt for "snps,dis-enblslpm_quirk" and > > "snps,dis-u2-freeclk-exists-quirk". > > > >> Is this a fix for this release or feature for next ? > > > > Good question. The series fixes a regression, but that regression was > > already present in 2019.04 and you can still boot from uSD, eMMC or > > USB2 without this fixed. > > Do we expect this to break anything ? I don't. The DT properties that are being checked are only present for in the DTs for RK3399 boards, so this shouldn't affect any other devices. But while checking for this I noticed that I misspelled one of the properties, which had a dash in the old U-Boot-specific binding but an underscore in the official Linux binding. So I sent out a v2 of the series. Cheers, Mark