diff mbox

[U-Boot] sunxi: Enable USB DRC on Wexler TAB7200

Message ID 1438277636-20931-1-git-send-email-mamlinav@gmail.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Aleksei Mamlin July 30, 2015, 5:33 p.m. UTC
Enable the otg/drc usb controller on the Wexler TAB7200 tablet.

Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
---
 configs/Wexler_TAB7200_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Hans de Goede July 31, 2015, 9:02 a.m. UTC | #1
Hi Aleksei,

On 30-07-15 19:33, Aleksei Mamlin wrote:
> Enable the otg/drc usb controller on the Wexler TAB7200 tablet.
>
> Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>

There are some other u-boot USB patches pending which change
how to enable the MUSB controller in the defconfig. So I'm
going to hold of with merging this until those are merged.

Once those are merged I'll adjust your patch to the new
Kconfig options to use and then merge it.

Regards,

Hans


> ---
>   configs/Wexler_TAB7200_defconfig | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig
> index eadceb2..55e1b6b 100644
> --- a/configs/Wexler_TAB7200_defconfig
> +++ b/configs/Wexler_TAB7200_defconfig
> @@ -2,10 +2,15 @@ CONFIG_ARM=y
>   CONFIG_ARCH_SUNXI=y
>   CONFIG_MACH_SUN7I=y
>   CONFIG_DRAM_CLK=384
> +CONFIG_USB0_VBUS_PIN="PB9"
> +CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
> +CONFIG_USB0_ID_DET="PH4"
> +CONFIG_AXP_GPIO=y
>   CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:24,pclk_khz:33000,le:45,ri:210,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
>   CONFIG_VIDEO_LCD_POWER="PH8"
>   CONFIG_VIDEO_LCD_BL_EN="PH7"
>   CONFIG_VIDEO_LCD_BL_PWM="PB2"
> +CONFIG_USB_MUSB_SUNXI=y
>   CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wexler-tab7200"
>   # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>   CONFIG_SPL=y
>
diff mbox

Patch

diff --git a/configs/Wexler_TAB7200_defconfig b/configs/Wexler_TAB7200_defconfig
index eadceb2..55e1b6b 100644
--- a/configs/Wexler_TAB7200_defconfig
+++ b/configs/Wexler_TAB7200_defconfig
@@ -2,10 +2,15 @@  CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
+CONFIG_USB0_VBUS_PIN="PB9"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PH4"
+CONFIG_AXP_GPIO=y
 CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:24,pclk_khz:33000,le:45,ri:210,up:22,lo:22,hs:1,vs:1,sync:3,vmode:0"
 CONFIG_VIDEO_LCD_POWER="PH8"
 CONFIG_VIDEO_LCD_BL_EN="PH7"
 CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_USB_MUSB_SUNXI=y
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-wexler-tab7200"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y