Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755371AbdLGNeR (ORCPT ); Thu, 7 Dec 2017 08:34:17 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:33162 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754260AbdLGNeM (ORCPT ); Thu, 7 Dec 2017 08:34:12 -0500 Date: Thu, 7 Dec 2017 14:34:09 +0100 From: Maxime Ripard To: Jagan Teki Cc: Chen-Yu Tsai , Icenowy Zheng , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Jagan Teki Subject: Re: [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg Message-ID: <20171207133409.cpp7wxx4yflkgavp@flea.lan> References: <1512644748-14491-1-git-send-email-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cgqjnyc3phbbrm7n" Content-Disposition: inline In-Reply-To: <1512644748-14491-1-git-send-email-jagan@amarulasolutions.com> User-Agent: NeoMutt/20171027 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2021 Lines: 58 --cgqjnyc3phbbrm7n Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Dec 07, 2017 at 04:35:48PM +0530, Jagan Teki wrote: > Add usb otg support for orangepi-zero-plus2 board: > - Add usb_otg node with dr_mode as 'otg' > - USB0-IDDET connected to PA21 > - VBUS connected through DCIN which always on >=20 > Tested mass storage function. >=20 > Signed-off-by: Jagan Teki Did you test the OTG or peripheral modes? > Note: Anyone please check vbus connection [1] > Since it is connected through DCIN of vcc-5v, I've added vcc-5v0 > regulator for the same and attached to usb0_vbus-supply but it is > disabling during kernel boot. > [ 1.887854] vcc5v0: disabling VBUS is the power line that is provided on the USB connector. In peripheral, that power is provided by the host, therefore it needs to be shutdown on the peripheral end. This is the expected behaviour. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --cgqjnyc3phbbrm7n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlopQ04ACgkQ0rTAlCFN r3S3mhAAlReLhyCDE+UyfgeXcsZdUX0SD+Ay7dLXtwhYAAZb3tTCJIqPY5ybHfUw BjFCudWS4SxUYjduDoM30evw6G9TnZds+SaMkkCqf7ZFmg7K6jAQh5Ou7jiv7tAH ryuoO8FNdVygqiAJw5AHMj5PWIyn69basDZnYofZSYAu5jSBuQUYQZpenzXIPKjj 4bKWWcXntd5hfEvIA8Vfb9l4BTBoZA/xrEP3jlO9MWHwWtPuF93AAr9BOO+kkdWz 7yk7YUUHMluRRfhLG+ojO+6p87YVdUSqpV+EZfOLR7fw3vODWjJ4RjDrdmEpVsNi avtcttPsN+1MYyB6ie6H1RDOxb3/l7wnq7Ipb64RyJLocGOuu6owC4qI6JSn8Eq1 vKKABpmGxOdo8DE1JSX6Nx4O/fpdWDVY1UroSN+ZND7XnYeW5NVTScujoJDfJWXI 1mYacfmz+iY9A0xB1dLNitanFI5GnYF9WKvfslqaU9wGphQ/CgEiqXqlFZADIR8/ F2SX+bptrdowkkkBSuVy2oql6sTsZmXgSkHiGoC/Ux6mcVkYfY6HPaBGxJb5m/VI zRNHc8D6xcMFHYFQ+oyqtcxsOAu4/lg2lLla7tzFInEA3/daaaHiMtwMLpfgb0Ix oGPOdSd2ensdJvu9TN2LrmLkTllRwhdpnB+Rma60RAjWfArYcAQ= =M+vk -----END PGP SIGNATURE----- --cgqjnyc3phbbrm7n--