Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2127370imd; Fri, 2 Nov 2018 06:28:50 -0700 (PDT) X-Google-Smtp-Source: AJdET5fVXuQCk58Kq5hRPPZJGbGWPesmVTC3+8xMr7Au1WitEVBJB5Upri7T5d5MqrJoquN30+Qs X-Received: by 2002:aa7:8546:: with SMTP id y6-v6mr12010224pfn.83.1541165329989; Fri, 02 Nov 2018 06:28:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541165329; cv=none; d=google.com; s=arc-20160816; b=by7q7sSfGbd+wq4BJ/wuGRQMZPE6HankaAbxqnFKtQSst4OGW8iraJah6HoeNovVIO X6DoWyxVzpU888rhaXrK4m8t7MqSHsgI+maukYEV0KZwfW1txaaz9FP4qCF5hdGhS/hw Nd/y3B8GeMTzs81fXPfprRhaLAvFppg35GQqfkAyKtd5FTnr8WUUIfzaXg7b8iEbhfg9 NqRtZUCzmXbSxnWxTfn8HjrJPen7AOXCxyRMH2hYu5KG6eVC2UE9R/pONU3vsrMJL3JX WJP2FSNR8DI1aOO1qJ0MpoPnxNQd0YaiSM2/MMog1uI1SV/KOZ/3MeVpZG2bydK1RN8M 53eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=79RO95nfwL6JWLHC3bQcs+fK4GhGJwuQDXehj1BtO1A=; b=w0yB/Vlk6Zn4rl0YMWBhUbKttXYc2/ywVAIjtmFSRTKSuDbnil3AYuSdFQc45sm1Ju ydMg6IP9ghH2v4PK3Jlxffg5FxWLmRsMg7eU9ckwslOukKftAFu18E6P1CwgDF23Di2P MuzksUp0Qo2INZ4SAC5ze2hwL7bkNcuuPOjYlfTTQ5+di/8NdFqrMCgGo852bIrDx8pc IO0ObVfBME4zSgLTQ5IyiR9jpI0367PPdjBH5Svb8jjxHuyds+dd17/3YTlXtXS97pkI NmGtznG0N6EewcNXX2uvFxx4V8bzJX0wb2VNZF/kzex7RBpafygiLTAhfGIAmAaIhzet tHpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13-v6si33332995plq.198.2018.11.02.06.28.34; Fri, 02 Nov 2018 06:28:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbeKBWfN (ORCPT + 99 others); Fri, 2 Nov 2018 18:35:13 -0400 Received: from mga17.intel.com ([192.55.52.151]:32457 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbeKBWfN (ORCPT ); Fri, 2 Nov 2018 18:35:13 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2018 06:28:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,456,1534834800"; d="scan'208";a="104738260" Received: from kuha.fi.intel.com ([10.237.72.189]) by fmsmga001.fm.intel.com with SMTP; 02 Nov 2018 06:27:59 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Fri, 02 Nov 2018 15:27:58 +0200 Date: Fri, 2 Nov 2018 15:27:58 +0200 From: Heikki Krogerus To: Badhri Jagan Sridharan , Rob Herring Cc: Mark Rutland , Greg Kroah-Hartman , Chanwoo Choi , Andrzej Hajda , Li Jun , linux@roeck-us.net, jackp@codeaurora.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings: connector: Add self-powered property Message-ID: <20181102132758.GA6543@kuha.fi.intel.com> References: <20181001194501.58338-1-badhri@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181001194501.58338-1-badhri@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 01, 2018 at 12:44:59PM -0700, Badhri Jagan Sridharan wrote: > >From USB_PD_R3_0 > 7.1.5 Response to Hard Resets > Device operation during and after a Hard Reset is defined as follows: > Self-powered devices Should Not disconnect from USB during a Hard Reset > (see Section 9.1.2). > Bus powered devices will disconnect from USB during a Hard Reset due to the > loss of their power source. > > Therefore it is necessary to know whether the port belongs to > a device which is self powered or bus powered. This change > adds "self-powered" flag to the connector class which present indicates > that the port belongs to a device that is self powered. Else it is > bus powered usb device. > > Signed-off-by: Badhri Jagan Sridharan Rob, I can see you acked one of the patches modifying tcpm.c in this series, but did you mean to put the tag to this patch instead? FWIW: Reviewed-by: Heikki Krogerus > ------- > Changes is v3: > - Rebase on top of usb-next > - no change w.r.t to this patch. Same as previous versions. > > No v2 version as the patch was introduced there. > > --- > Documentation/devicetree/bindings/connector/usb-connector.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/connector/usb-connector.txt b/Documentation/devicetree/bindings/connector/usb-connector.txt > index d90e17e2428b..a9a2f2fc44f2 100644 > --- a/Documentation/devicetree/bindings/connector/usb-connector.txt > +++ b/Documentation/devicetree/bindings/connector/usb-connector.txt > @@ -14,6 +14,8 @@ Optional properties: > - label: symbolic name for the connector, > - type: size of the connector, should be specified in case of USB-A, USB-B > non-fullsize connectors: "mini", "micro". > +- self-powered: Set this property if the usb device that has its own power > + source. > > Optional properties for usb-c-connector: > - power-role: should be one of "source", "sink" or "dual"(DRP) if typec > -- > 2.19.0.605.g01d371f741-goog thanks, -- heikki