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: 10887839 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8D221669 for ; Fri, 5 Apr 2019 20:58:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DC2028B2D for ; Fri, 5 Apr 2019 20:58:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9195128B4D; Fri, 5 Apr 2019 20:58:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 498F828B2D for ; Fri, 5 Apr 2019 20:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=FHrin6Z+3v2G4dJIfibrST/CRw5OtyHyfLLzTZxC7zA=; b=jijt4aCqjEhF29M1P2CAHBDA9t z2kZlkvIsfgoqL7e265SUIl4lu3odZNXMuDYTYV/QrCItD0Xal4sLqINPWmkX85z2QP22K0tqqMvp HnXrS+J7KUWPPzdANYA9NWpigRUDtHqvYLV9+tWw1SL/6JcVCvWzKmR7+gh/VYz6EXYdTEKh2IirX 0XG/gXqsNOvjnUNOTPhLIv6lRF76D7ZaaLfwLSsAYS4SNLYNSc1Gx89ZusNppNLOgumUgw+w9y+7V BZW9biSzIk/FoJ0pJFfpYLQ/2YuADamIE639EXhSomMbubJPAPxRDVec3xzIiqUrzDaSzUwxg2lEf +qS2w8/g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCVuj-0003mi-5D; Fri, 05 Apr 2019 20:58:17 +0000 Received: from haggis.mythic-beasts.com ([2a00:1098:0:86:1000:0:2:1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCVuY-0003dc-Ay for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2019 20:58:08 +0000 Received: from [199.195.250.187] (port=56504 helo=hermes.aosc.io) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1hCVuT-00086d-7y; Fri, 05 Apr 2019 21:58:01 +0100 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 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> X-BlackCat-Spam-Score: 9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190405_135806_408687_F28E2889 X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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.