From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Tue, 1 Sep 2015 11:01:06 +0200 Subject: [U-Boot] [PATCH 12/13] sunxi: A13-Olinuxino: Enable the USB OTG controller In-Reply-To: <1441032373-16992-13-git-send-email-maxime.ripard@free-electrons.com> References: <1441032373-16992-1-git-send-email-maxime.ripard@free-electrons.com> <1441032373-16992-13-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <55E56952.4010502@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 31-08-15 16:46, Maxime Ripard wrote: > The A13-Olinuxino has a mini-USB connector that can be used to power up > the board and as an OTG connector. > > Since we have already some USB host-only ports right beside this one, > enable it in gadget mode > > Signed-off-by: Maxime Ripard > --- > configs/A13-OLinuXino_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/A13-OLinuXino_defconfig b/configs/A13-OLinuXino_defconfig > index 4b4337223ca5..70aa194b91c4 100644 > --- a/configs/A13-OLinuXino_defconfig > +++ b/configs/A13-OLinuXino_defconfig > @@ -3,6 +3,7 @@ CONFIG_ARCH_SUNXI=y > CONFIG_MACH_SUN5I=y > CONFIG_DRAM_CLK=408 > CONFIG_DRAM_EMR1=0 > +CONFIG_USB0_VBUS_DET="PG1" > CONFIG_USB1_VBUS_PIN="PG11" > CONFIG_AXP_GPIO=y > # CONFIG_VIDEO_HDMI is not set > @@ -11,6 +12,7 @@ CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y > CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:16,ri:209,up:22,lo:22,hs:30,vs:1,sync:3,vmode:0" > CONFIG_VIDEO_LCD_POWER="AXP0-0" > CONFIG_VIDEO_LCD_BL_PWM="PB2" > +CONFIG_USB_MUSB_SUNXI=y > CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino" > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > CONFIG_SPL=y The CONFIG_xxx defines for using MUSB in either host or gadget mode have changed in v2015.10, looks like you need to rebase this series and fix this. Regards, Hans