Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp549507pxx; Thu, 29 Oct 2020 08:42:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAzyguwC6tqMDOYkmPqTeZW7CokLkfWmLu3h6nNpfQe9kIRMi233+3guNZ5Q+IdK5V1d/K X-Received: by 2002:a17:906:abcf:: with SMTP id kq15mr4550447ejb.208.1603986123446; Thu, 29 Oct 2020 08:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603986123; cv=none; d=google.com; s=arc-20160816; b=p1Nrj2lGMquMGDwaefpvqTut8FIbME6PX+IWWervF05bQlVbJMx3PBIYwa1APKAxC8 g3zoqhYgEq+PJA6QkYdsZo5Ep8o5neSZ2ytEA5SCCPiVoVCPEifsXG+t09ILku0U90Wl ubeV2H4l4/VcgrVpDPQe9tN65JlhN6BO3D9RhlYfgl7fjNRnsomhCzN7vLJLXlcb6G4E C/QyqKcuDnY6jMuGJ8OUpv2pxOsFY5yeqM/kiGRRw2fe0totMbxf3Y/A0Xp6HAISOIDO +qOlnUp7OguDwGoI166YIX2F+/8mJM2JrmkNStJEu3iHDeWV710gvAyHYGu0k0Nq5o5D Jo7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pFK119oKBHUlA5FZkroLBkkbquLP5uElSERBD9V0akk=; b=kWLqnHDSLRl47nRvYDRgBLwW04kqFP1KLFjdbMv31fI/qFdswp9ueAIVWYWsblWBS0 lhtlN2exWOS8GYtqF4pZOTVqo4hsNln3KVN4mhr6eKbqxZsigGlVg6R0Zv53V8OezmSI k5FKSG9tjlD6qS3GZQN6BEk6xm84WBfgc3/vFuHgahjjUYR2MLoVxcgMf0y7oaznMxyn LdfS4bmK0ytRf98Jqn5NB+2+e5gWXPwVVcoVf7novc3W+2ucwljqNRSNMoJjO0+7nL5s rKYh3Jx5Bco03Ytm29+6RnKV6j6rJlq0wYVMF53B4yflng6iHF6Dm+Hm6ndRLQ/UEJgn +n3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si2071815ejb.373.2020.10.29.08.41.40; Thu, 29 Oct 2020 08:42:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728436AbgJ2PkT (ORCPT + 99 others); Thu, 29 Oct 2020 11:40:19 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:42874 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728275AbgJ2PkT (ORCPT ); Thu, 29 Oct 2020 11:40:19 -0400 Received: by mail-ot1-f65.google.com with SMTP id h62so2625753oth.9; Thu, 29 Oct 2020 08:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=pFK119oKBHUlA5FZkroLBkkbquLP5uElSERBD9V0akk=; b=C9MR8x/it2pugcUt033mWhbKd3+zMWIEFBxTlEvDYzJiTqRaVG66Kmay9GluAM/vee arO7hFF9i9fdIoU1XsLnobuSzUI7wTwn6knG3AsRPgc01MkE9vlkEO5TG8U2lt+QzBTJ crv8gkm0GJ/dda8+J6YNaBuTcce7xICHs8ylu82O1jFLWI/FlSuWmyTuz67HWjbIsX0S rbChFrlha+31BXo+xUiqpF5QXQK0ahDgcPib2CnkmFVY1LhsY1GQ2jHSyG9u5fCQwODW 0iRrLGzmJlhXtlaPph7wOMp3H7ELCpW3nK4iaEVDeQamg7W5Gdj09q6av58Y7LaJBTxH mPKw== X-Gm-Message-State: AOAM531QCs3rW3h4Ut9crfn1wuyKiwEuWdRHws1CvFSDFwg2PGt9k4xt ICO5i7gWuICwJ4ob6v1m4Q== X-Received: by 2002:a05:6830:4033:: with SMTP id i19mr3841436ots.127.1603986017758; Thu, 29 Oct 2020 08:40:17 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 76sm681405oty.15.2020.10.29.08.40.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 08:40:17 -0700 (PDT) Received: (nullmailer pid 1920595 invoked by uid 1000); Thu, 29 Oct 2020 15:40:16 -0000 Date: Thu, 29 Oct 2020 10:40:16 -0500 From: Rob Herring To: Amelie Delaunay Cc: Greg Kroah-Hartman , Maxime Coquelin , Alexandre Torgue , Russell King , Heikki Krogerus , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Fabrice Gasnier Subject: Re: [RESEND PATCH v3 1/4] dt-bindings: connector: add power-opmode optional property to usb-connector Message-ID: <20201029154016.GA1917373@bogus> References: <20201029095806.10648-1-amelie.delaunay@st.com> <20201029095806.10648-2-amelie.delaunay@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201029095806.10648-2-amelie.delaunay@st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 10:58:03AM +0100, Amelie Delaunay wrote: > Power operation mode may depends on hardware design, so, add the optional > property power-opmode for usb-c connector to select the power operation > mode capability. > > Signed-off-by: Amelie Delaunay > --- > .../bindings/connector/usb-connector.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/connector/usb-connector.yaml b/Documentation/devicetree/bindings/connector/usb-connector.yaml > index 728f82db073d..200d19c60fd5 100644 > --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml > +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml > @@ -93,6 +93,24 @@ properties: > - device > - dual > > + power-opmode: I've acked this version: https://lore.kernel.org/r/20201020093627.256885-2-badhri@google.com Please ack it if you are okay with it. Rob > + description: Determines the power operation mode that the Type C connector > + will support and will advertise through CC pins when it has no power > + delivery support. > + - "default" corresponds to default USB voltage and current defined by the > + USB 2.0 and USB 3.2 specifications, 5V 500mA for USB 2.0 ports and > + 5V 900mA or 1500mA for USB 3.2 ports in single-lane or dual-lane > + operation respectively. > + - "1.5A" and "3.0A", 5V 1.5A and 5V 3.0A respectively, as defined in USB > + Type-C Cable and Connector specification, when Power Delivery is not > + supported. > + allOf: > + - $ref: /schemas/types.yaml#definitions/string > + enum: > + - default > + - 1.5A > + - 3.0A > + > # The following are optional properties for "usb-c-connector" with power > # delivery support. > source-pdos: > -- > 2.17.1 >