From patchwork Fri Apr 5 20:57:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 1078742 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aosc.io Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44bXFw1YYwz9sR4 for ; Sat, 6 Apr 2019 07:57:56 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726479AbfDEU5z (ORCPT ); Fri, 5 Apr 2019 16:57:55 -0400 Received: from hermes.aosc.io ([199.195.250.187]:36944 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfDEU5z (ORCPT ); Fri, 5 Apr 2019 16:57:55 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id EFAEA6CDF5; Fri, 5 Apr 2019 20:57:51 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Kishon Vijay Abraham I , Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v5 1/5] dt-bindings: usb-connector: add Vbus regulator for Type-A/B Date: Sat, 6 Apr 2019 04:57:32 +0800 Message-Id: <20190405205736.55177-2-icenowy@aosc.io> In-Reply-To: <20190405205736.55177-1-icenowy@aosc.io> References: <20190405205736.55177-1-icenowy@aosc.io> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org USB Type-A and Type-B connectors have a Vbus pin, which provides +5V power to bus-powered devices. Add a power supply regulator property for this pin. Signed-off-by: Icenowy Zheng Reviewed-by: Rob Herring --- New patch in v5. Documentation/devicetree/bindings/connector/usb-connector.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt index a9a2f2fc44f2..5608feeb1105 100644 --- a/Documentation/devicetree/bindings/connector/usb-connector.txt +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt @@ -17,6 +17,9 @@ Optional properties: - self-powered: Set this property if the usb device that has its own power source. +Optional properties for usb-a-connector or usb-b-connector: +- vbus-supply: phandle to a regulator supplying the VBUS voltage. + Optional properties for usb-c-connector: - power-role: should be one of "source", "sink" or "dual"(DRP) if typec connector has power support.