]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Ippo_q8h defconfigs: Enable otg vbus detection using AXP223 PMIC
authorChen-Yu Tsai <wens@csie.org>
Mon, 9 Mar 2015 07:44:17 +0000 (15:44 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 10 Mar 2015 14:20:25 +0000 (15:20 +0100)
Use the AXP223 PMIC to detect VBUS for musb otg support.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/Ippo_q8h_v1_2_defconfig
configs/Ippo_q8h_v5_defconfig

index 192a461f55f6462c3519a9d5aade9b1be0020b15..9b0d0dd14464517bc7117660b22a633378a5b00a 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_FDTFILE="sun8i-a23-ippo-q8h-v1.2.dtb"
 CONFIG_USB_MUSB_SUNXI=y
 CONFIG_USB0_VBUS_PIN="axp_drivebus"
+CONFIG_USB0_VBUS_DET="axp_vbus_detect"
 CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:167,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0"
 CONFIG_VIDEO_LCD_DCLK_PHASE=0
 CONFIG_VIDEO_LCD_POWER="PH7"
index 4786202e16710c5d6511c46b8ba97b5ad4411fc6..5bc90ce805e035d6690176fbe86eb224a79e1f31 100644 (file)
@@ -3,6 +3,7 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5"
 CONFIG_FDTFILE="sun8i-a23-ippo-q8h-v5.dtb"
 CONFIG_USB_MUSB_SUNXI=y
 CONFIG_USB0_VBUS_PIN="axp_drivebus"
+CONFIG_USB0_VBUS_DET="axp_vbus_detect"
 CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:168,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0"
 CONFIG_VIDEO_LCD_DCLK_PHASE=0
 CONFIG_VIDEO_LCD_POWER="PH7"