From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935083AbdCXC6V (ORCPT ); Thu, 23 Mar 2017 22:58:21 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:47890 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755909AbdCXC6T (ORCPT ); Thu, 23 Mar 2017 22:58:19 -0400 MIME-Version: 1.0 In-Reply-To: <20170319163118.56301-3-icenowy@aosc.xyz> References: <20170319163118.56301-1-icenowy@aosc.xyz> <20170319163118.56301-3-icenowy@aosc.xyz> From: Chen-Yu Tsai Date: Fri, 24 Mar 2017 10:57:54 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v4 7/8] ARM: sun8i: h2+: enable USB OTG for Orange Pi Zero board To: Icenowy Zheng Cc: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I , Hans de Goede , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 20, 2017 at 12:31 AM, Icenowy Zheng wrote: > Orange Pi Zero board features a USB OTG port, which has a ID pin, and > can be used to power up the board. However, even if the board is powered > via +5V pin in GPIO/expansion headers, the VBUS in the OTG port cannot > be powered up, thus it's impossible to use it in host mode with simple > OTG cables. > > Add support for it in peripheral mode. > > If someone really want to use it in host mode, the mode of PHY can be > switch via sysfs, then use a powered USB OTG cable or powered USB HUB to > power up external USB devices. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai