From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B03ACC4360F for ; Sun, 31 Mar 2019 06:41:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F5A921873 for ; Sun, 31 Mar 2019 06:41:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jOkEA9tX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F5A921873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Subject:To:From:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F1YQ9X0mZiTfLs7IZH7YHUT++TmPzOL0okrLJzmKuOQ=; b=jOkEA9tXrmhgsn YmRxZqkLiTbe5W/++6Uv6OzNLDVt7LDySnye8UR/G/bl2671KELtshkUEzb4E0dqjudxrqSXQyTGi Bj83BGxI+5lkD8qY3qij6+FsRakBeDEsyAs3vEzMpDOD8M16hj30rXvombAYjefhr360qK6R/rqHE j6bHR9n4QWcSiWAXmUguWNzvjBocOYzPtcco6kkJjzvFPhjiEs9bXeIOcZnA0vhU3RAFKNgIxeHzE k1aIpfU8ABxoOKupLipdRwMeNrQZ2lDbQS8crOci+/inv6h8k2w9GtQHvUPx4MrskA1v1/wuQvQaI +ylGDOrfJseOVhpE2XPQ==; 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 1hAU9J-0007Qs-DT; Sun, 31 Mar 2019 06:40:57 +0000 Received: from mail-pl1-f194.google.com ([209.85.214.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAU8u-00075F-43; Sun, 31 Mar 2019 06:40:34 +0000 Received: by mail-pl1-f194.google.com with SMTP id g12so2924331pll.11; Sat, 30 Mar 2019 23:40:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=5r5p5HTKaVnE2US3BbxPTv0o0QN770MkCqEBOFeSBMs=; b=g8LJKNS3a82OhOdHGa1FRyc3ABq4FjhcE3LiJd61b9pZZJCKM1IkMdHZxmNBBPXpnH w6fxH9xjMOfo3T55wayHJMSi+AWvJ7dGjC0WlQSktifDTi9pqyy4+cnvghV5webz8D/G KSIIg9tcSx42ok6z6K8wAHgbemfM9/kN3/PvLlL86eY8+j/EVflcSANJRddQzl2uxnBN jUEjr9CMuRu6rTWfSaifreMaAL0W8nz748j2xkuUBImsqvDipw8hwgb00lrmzBINEJ53 /NW9utcgYmHuBao+uCN7V1fwOeVUlOtTxE6BIJ0Xozoh/sUU2yYMiYvYxcXGnpMo5pWk YnIQ== X-Gm-Message-State: APjAAAVxEdAjWigGB9KWjLGl3ivK596Aj60o4KCR8rP2sGw3vUYiu44T 4cNMl7Ox3rwJ3G7CQ+tO0w== X-Google-Smtp-Source: APXvYqwxIN4vP9CRnFHPd8UKHSIkQr7mp2/1AsDk6UHcW0yU2RXoUAB0QbVQTJbQ4qMnwZzherU3yA== X-Received: by 2002:a17:902:2d01:: with SMTP id o1mr58485816plb.155.1554014431272; Sat, 30 Mar 2019 23:40:31 -0700 (PDT) Received: from localhost ([210.160.217.68]) by smtp.gmail.com with ESMTPSA id d20sm11117204pfo.77.2019.03.30.23.40.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 30 Mar 2019 23:40:30 -0700 (PDT) Message-ID: <5ca060de.1c69fb81.12138.c73c@mx.google.com> Date: Sun, 31 Mar 2019 01:40:28 -0500 From: Rob Herring To: Chunfeng Yun Subject: Re: [PATCH v2 1/6] dt-bindings: connector: add optional properties for Type-B References: <1552635513-2378-1-git-send-email-chunfeng.yun@mediatek.com> <1552635513-2378-2-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1552635513-2378-2-git-send-email-chunfeng.yun@mediatek.com> X-Mutt-References: <1552635513-2378-2-git-send-email-chunfeng.yun@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190330_234032_309154_52F6A0C3 X-CRM114-Status: GOOD ( 15.04 ) 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: Mark Rutland , devicetree@vger.kernel.org, Heikki Krogerus , Hans de Goede , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Badhri Jagan Sridharan , Andy Shevchenko , linux-mediatek@lists.infradead.org, Min Guo , Matthias Brugger , Adam Thomson , linux-arm-kernel@lists.infradead.org, Li Jun Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Mar 15, 2019 at 03:38:28PM +0800, Chunfeng Yun wrote: > Add id-gpios, vbus-gpios, vbus-supply and pinctrl properties for > usb-b-connector > > Signed-off-by: Chunfeng Yun > --- > v2 changes: > 1. describe more clear for vbus-gpios and vbus-supply suggested by Hans > --- > .../devicetree/bindings/connector/usb-connector.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt > index a9a2f2fc44f2..1c4ed6c9afa8 100644 > --- a/Documentation/devicetree/bindings/connector/usb-connector.txt > +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt > @@ -17,6 +17,15 @@ Optional properties: > - self-powered: Set this property if the usb device that has its own power > source. > > +Optional properties for usb-b-connector: > +- id-gpios: gpio for USB ID pin. > +- vbus-gpios: gpio for USB VBUS pin, used to detect presence of VBUS 5V. > + see gpio/gpio.txt. Please make it explicit that this is an input gpio. An output GPIO controlling a Vbus regulator should be modelled as a regulator. > +- vbus-supply: a phandle to the regulator for USB VBUS if needed. > +- pinctrl-names : a pinctrl state named "default" is optional > +- pinctrl-0 : pin control group > + see pinctrl/pinctrl-bindings.txt > + > Optional properties for usb-c-connector: > - power-role: should be one of "source", "sink" or "dual"(DRP) if typec > connector has power support. > -- > 2.20.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel