From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbcFXKQq (ORCPT ); Fri, 24 Jun 2016 06:16:46 -0400 Received: from down.free-electrons.com ([37.187.137.238]:58693 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751048AbcFXKQo (ORCPT ); Fri, 24 Jun 2016 06:16:44 -0400 Date: Fri, 24 Jun 2016 12:16:42 +0200 From: Maxime Ripard To: stefan.mavrodiev@gmail.com Cc: linux-sunxi , robh+dt@kernel.org, pawel.moll@arm.co, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@armlinux.org.uk, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino Message-ID: <20160624101642.GC3785@lukather> References: <1466418769-8384-1-git-send-email-stefan.mavrodiev@gmail.com> <20160622132222.GX26668@lukather> <2618ba96-c3c5-4db6-b860-d212e7045f23@googlegroups.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WplhKdTI2c8ulnbP" Content-Disposition: inline In-Reply-To: <2618ba96-c3c5-4db6-b860-d212e7045f23@googlegroups.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --WplhKdTI2c8ulnbP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 23, 2016 at 04:07:13AM -0700, stefan.mavrodiev@gmail.com wrote: > > > +&usb_otg { > > > + dr_mode =3D "host"; > > > + status =3D "okay"; > > > +}; > > > + > > > +&usbphy { > > > + usb0_vbus-supply =3D <®_vcc5v0>; > > > + status =3D "okay"; > > > + > > > +}; > >=20 > > It doesn't work as USB OTG ? > >=20 >=20 > The hardware should work as OTG. In FEL mode it works as device, and > in current dt configuration - as host. I've spend some time trying > to make it work as otg, but didn't succeed. >=20 > There are some hardware differences between our board and other a33, > but if you say that OTG work, I'll spend some additional time > working on it. Yes, I've been testing and got it to work on at least two other A33 boards (the R16 Parrot and the Sinlinx SinA33). You can look at the Parrot DT, you should have everything you need (but you will most likely need linux-next). Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --WplhKdTI2c8ulnbP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXbQiKAAoJEBx+YmzsjxAgdF8P/0/nJ3her9mXext/qcjcG5dP w4SBpSA95yoP48/NwRbGX8ry/qCGujPlW8YlsfK5EQpzo4LbbmYZcrRqGtsRTGq7 GUGkPv3PgcvOL6zIY6vaHM5LrS2nDnXC+SVkDMlVVIZ2e2ZTa9lvFyVizyEnBNmm 8NJHRx/z9TTQjDojm0qw6R8hpk10EXY7BxtdlBbwmfVPEfwXXs48Ok/M65is6kCV wAfyKr63VwVPEvCn5Q3BYx4IYxgd8bvK+9Ql1CvLT7VuRHs491IzsWBeupBnBViY UYK7APg9kwSk2i8KSWoL4kVW3Jm40isXt25kw2D65EpPLtvKU2HExU96f8GU4J3N B7uNgahYnGzbzGyBkXjMSHEe2NopGhNM0yT8LOfaAJiXJ97gbC6eF+5U6MiUBBrj iyJZfywSvMBno/5bMnyTroFLTB8DqPWuehFhho5XwJCjyiTy/urHihluIqwfSC21 wF6s5BgXNqxkP4fYN6scLnc+hHRVICdSGBIxIShd8LQSEv4rLRl2LR2Mbrbfs+fu y4CircREQO4to0vqg3H/P41yVHhOzgpQeCy4SAay3mfga2VeK5IccZc7E8JgweVC vdEJYJX+LRWrCzFvIhmib3RnohAFT7GDIoj+NF6sct+/5OSHhPa/A+C5w6tpDc3S 2Vyiy9TkH+a10IO9LhPv =rtvN -----END PGP SIGNATURE----- --WplhKdTI2c8ulnbP--