From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro Date: Fri, 31 Jul 2015 12:11:08 +0200 Message-ID: <20150731101108.GC2564@lukather> References: <1438333194-21181-1-git-send-email-hdegoede@redhat.com> <1438333194-21181-3-git-send-email-hdegoede@redhat.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u2zjs13kMz/cGsQm" Return-path: Content-Disposition: inline In-Reply-To: <1438333194-21181-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --u2zjs13kMz/cGsQm Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Fri, Jul 31, 2015 at 10:59:51AM +0200, Hans de Goede wrote: > Enable the otg/drc usb controller on the A10s OLinuxIno Micro. > > Note the A10s OlinuxIno Micro always has some voltage on its otg power > pin, even if the usb-vbus0-regulator is disabled, the leaked voltage is > enough to make vbus-det always report 1, so we do not use vbus-det on > this board. > > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 +++++++++++++++++++++++- > 1 file changed, 29 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > index 7b26e17..5eebd21 100644 > --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > @@ -196,6 +196,10 @@ > status = "okay"; > }; > > +&otg_sram { > + status = "okay"; > +}; > + > &pio { > mmc0_cd_pin_olinuxino_micro: mmc0_cd_pin@0 { > allwinner,pins = "PG1"; > @@ -224,6 +228,22 @@ > allwinner,drive = ; > allwinner,pull = ; > }; > + > + usb0_vbus_pin_a: usb0_vbus_pin@0 { > + allwinner,pins = "PG11"; > + }; We usually have this as a reference, instead of doing it through the full path. It makes it clearer that we override something, and we don't define a new node. Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --u2zjs13kMz/cGsQm--