[U-Boot] [PATCH 0/3] sunxi: Ippo_q8h: Enable OTG VBUS detection using AXP223

Chen-Yu Tsai wens at csie.org
Mon Mar 9 08:44:14 CET 2015


Hi Hans,

This series fixes otg support on the A23 q8h tablets. It adds support
for the AXP's (AXP221/223 for now) VBUS detection function.

I've tested this with a USB wireless keyboard dongle, which works fine.
More importantly, I'm using this and your mainline kernel musb work plus
a few A23 dts patches to get musb working on my q8h tablet in host mode.
I have an ethernet dongle plugged in, which works reasonably well.

Note that U-Boot never calls musb_shutdown() to do proper cleanup, like
disabling VBUS, so the current state carries on into Linux.


Regards
ChenYu


Chen-Yu Tsai (3):
  sunxi: axp221: Add VBUS detection support
  sunxi: musb: Support checking VBUS using AXP221 PMIC
  sunxi: Ippo_q8h defconfigs: Enable otg vbus detection using AXP223
    PMIC

 configs/Ippo_q8h_v1_2_defconfig |  1 +
 configs/Ippo_q8h_v5_defconfig   |  1 +
 drivers/power/axp221.c          | 16 +++++++++++++
 drivers/usb/musb-new/sunxi.c    | 52 ++++++++++++++++++++++++++++++-----------
 include/axp221.h                |  7 ++++++
 5 files changed, 63 insertions(+), 14 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list