Message ID | 1513061911-30076-15-git-send-email-jagan@amarulasolutions.com |
---|---|
State | Deferred |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | sun50i: a64: add support for axp803, musb | expand |
Hi, On Tue, Dec 12, 2017 at 12:28:29PM +0530, Jagan Teki wrote: > USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or > vbus pin(PH6) through AXP_GPIO driver. > > This patch add support for it. > > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > --- > configs/a64-olinuxino_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/configs/a64-olinuxino_defconfig b/configs/a64-olinuxino_defconfig > index 63a0048..4c3fe75 100644 > --- a/configs/a64-olinuxino_defconfig > +++ b/configs/a64-olinuxino_defconfig > @@ -2,6 +2,9 @@ CONFIG_ARM=y > CONFIG_ARCH_SUNXI=y > CONFIG_MACH_SUN50I=y > CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y > +CONFIG_USB0_ID_DET="PH9" > +CONFIG_USB0_VBUS_DET="PH6" > +CONFIG_AXP_GPIO=y > CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-olinuxino" > # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set > CONFIG_SPL=y > @@ -12,4 +15,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 Same question, did you test the host mode? Maxime
diff --git a/configs/a64-olinuxino_defconfig b/configs/a64-olinuxino_defconfig index 63a0048..4c3fe75 100644 --- a/configs/a64-olinuxino_defconfig +++ b/configs/a64-olinuxino_defconfig @@ -2,6 +2,9 @@ CONFIG_ARM=y CONFIG_ARCH_SUNXI=y CONFIG_MACH_SUN50I=y CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y +CONFIG_USB0_ID_DET="PH9" +CONFIG_USB0_VBUS_DET="PH6" +CONFIG_AXP_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-olinuxino" # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SPL=y @@ -12,4 +15,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 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or vbus pin(PH6) through AXP_GPIO driver. This patch add support for it. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- configs/a64-olinuxino_defconfig | 4 ++++ 1 file changed, 4 insertions(+)