From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Date: Fri, 17 May 2019 19:41:47 +0100 Subject: [U-Boot] [linux-sunxi] [PATCH 0/2] sunxi: A64: enable first USB port on Pine64 boards In-Reply-To: References: <20190516004609.25304-1-andre.przywara@arm.com> Message-ID: <86233541-09f2-2593-73b6-9b9099786e38@arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 17/05/2019 19:15, Vasily Khoruzhick wrote: > On Wed, May 15, 2019 at 5:46 PM Andre Przywara wrote: >> >> Since the beginning the upper USB port on Pine64 boards (Pine64+, SoPine >> baseboard, Pine64-LTS, Pinebook) was not working under U-Boot. >> This is due to the PHY for those pins being shared with the OTG >> controller, which we didn't even enable for those boards. Also the PHY >> code was always connecting the port pins to the OTG controller. >> >> These two patches fix this, so the upper USB port on said boards can >> be used within U-Boot. This allows to use an USB keyboard alongside >> an USB flash drive, for instance to install operating systems using >> UEFI. > > Can you also add Pinebook here? It has the same issue. Do you mean to change the -pinebook.dts in patch 2/2? Actually the Pinebook already had this change (from the very beginning), so it should work with just patch 1/2. My Pinebook is a somewhat sorry state, something seems fishy with the USB hub (keyboard doesn't work, although I have used it in U-Boot on another model). I will have a look again, but can you say whether this works for you with just patch 1? Thanks, Andre. >> >> Andre Przywara (2): >> sunxi: USB PHY: Support shared PHY 0 >> sunxi: Pine64: DTS: enable USB PHY 0 for HCI0 >> >> arch/arm/dts/sun50i-a64-pine64.dts | 5 ++++- >> arch/arm/dts/sun50i-a64-sopine-baseboard.dts | 5 ++++- >> drivers/phy/allwinner/phy-sun4i-usb.c | 8 +++++++- >> 3 files changed, 15 insertions(+), 3 deletions(-) >> >> -- >> 2.14.5 >> >> -- >> You received this message because you are subscribed to the Google Groups "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe at googlegroups.com. >> To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190516004609.25304-1-andre.przywara%40arm.com. >> For more options, visit https://groups.google.com/d/optout.