From: Maxime Ripard Date: Wed, 13 Dec 2017 09:17:32 +0100 Subject: [U-Boot] [PATCH 11/16] configs: sun50i: add usb-otg support for bananapi-m64 In-Reply-To: References: <1513061911-30076-1-git-send-email-jagan@amarulasolutions.com> <1513061911-30076-12-git-send-email-jagan@amarulasolutions.com> <20171212080444.e2nqscyub7qq2y3f@flea.lan> Message-ID: <20171213081732.hxdp3awbdmfaycpn@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Dec 12, 2017 at 02:43:38PM +0530, Jagan Teki wrote: > On Tue, Dec 12, 2017 at 1:34 PM, Maxime Ripard > wrote: > > On Tue, Dec 12, 2017 at 12:28:26PM +0530, Jagan Teki wrote: > >> USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or > >> vbus pin through AXP_GPIO driver. > >> > >> This patch add support for it. > >> > >> Signed-off-by: Jagan Teki > >> --- > >> configs/bananapi_m64_defconfig | 3 +++ > >> 1 file changed, 3 insertions(+) > >> > >> diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig > >> index 461567f..55feafe 100644 > >> --- a/configs/bananapi_m64_defconfig > >> +++ b/configs/bananapi_m64_defconfig > >> @@ -4,6 +4,8 @@ CONFIG_MACH_SUN50I=y > >> CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y > >> CONFIG_MMC0_CD_PIN="PH13" > >> CONFIG_MMC_SUNXI_SLOT_EXTRA=2 > >> +CONFIG_USB0_ID_DET="PH9" > >> +CONFIG_AXP_GPIO=y > >> CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-bananapi-m64" > >> # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > >> CONFIG_SPL=y > >> @@ -14,4 +16,5 @@ CONFIG_SPL=y > >> # CONFIG_SPL_EFI_PARTITION is not set > >> CONFIG_SUN8I_EMAC=y > >> CONFIG_USB_EHCI_HCD=y > >> +CONFIG_USB_MUSB_GADGET=y > > > > Did you test the host mode as well? > > No, I've not tried host mode yet. Then you didn't test that at least the ID pin and the VBUS control was working :) Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: