Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1632487pxu; Tue, 24 Nov 2020 05:26:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLE9MGP9aDRQUgQYDXXZVYmWeuilFUIBfM/ct1jvjoqdCAn4YKEA9d+Vu8qxs4x0+4gBdL X-Received: by 2002:a17:906:4348:: with SMTP id z8mr4102625ejm.119.1606224393770; Tue, 24 Nov 2020 05:26:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606224393; cv=none; d=google.com; s=arc-20160816; b=JOqBMF1fDThHKU7Kx+4Jn6Iow0Jud2YnZTJqPN9OaOQ4oEhYcsxEjjy/uK7IiapXkH v/GkgtBWYLXClZEjCJ81mD/E4z5xq/q3/71GUeh0Vj0JmHdYHvgwI+F0QFLh0mxO/HjP Qrgi4oIAJoB279+NdHWAtbdVdrmYbuNRjJf0066gukaK/rF8Wk0BHkAq7DXjZDQvhAY5 cFw64Vgdk4iuup0jG73u2gZsySz7+lpTzZ9ijZoYa4AiZpsZUnKEQns+jViY9Dqa2uns rMp1a7pVSAtU/V3wlJZ02Ru4BF6Xms5i2+hIiJ05wxPRvBBOEntCHHi/dmM2qGZ5GI2C oahA== 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:ironport-sdr :ironport-sdr; bh=y6kGQbIpwvZrVG3BmONBNgojxW+8/LEJr7IO4Kvh9lk=; b=knTFKTz+DotPLrFEtFE28gXX1WpHIPxZ/bQ6VtpesTRnj1V7wxSGcxU0eKJh3R8TUr LSBgdtkLRMiFy3U5yOWnuzYNVdK/egW8KrXBylc7qJW/aPoiGIQGtkttGLsg5yU4imOv 1lFwfkVC+an8fEzlXs0e5Ule7IrdThjY+f3aE+fSW6pGw2gNp2+kzG4ZMgNwShxX6QXe yDs0h+8qbdXV8SF6KLy3KS7sNfj9lAUIxkcmZwNdZKbLY5ROrTu0W+0orY2psCSdu8vE /si/FbWREd+yhT9msyq82vI3owiXI+nDiBq9RKEYqtkFs2BWf2m40Mw0wLU7mp+KB/Zx d8Gg== 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si8179969edi.485.2020.11.24.05.26.10; Tue, 24 Nov 2020 05:26:33 -0800 (PST) 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388011AbgKXNXF (ORCPT + 99 others); Tue, 24 Nov 2020 08:23:05 -0500 Received: from mga07.intel.com ([134.134.136.100]:22045 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbgKXNXF (ORCPT ); Tue, 24 Nov 2020 08:23:05 -0500 IronPort-SDR: yVVefMbXfx5JdJ/HHj83whBd2BJZ2lFUEwkV+mZlnDJMpoSllsbGf1mGLhJjkuiIIto8KIoc3b tG7xBqdTeLzg== X-IronPort-AV: E=McAfee;i="6000,8403,9814"; a="236079253" X-IronPort-AV: E=Sophos;i="5.78,366,1599548400"; d="scan'208";a="236079253" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2020 05:23:04 -0800 IronPort-SDR: G9/MTfdn2s/lKszwBTwteFzA4GdBxk09MF9C7rZKzM9CsF4EFpYZthD7xNMp+yS1EMGTEzw4/8 6fw8V1UOGdQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,366,1599548400"; d="scan'208";a="432605044" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 24 Nov 2020 05:23:01 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 24 Nov 2020 15:23:01 +0200 Date: Tue, 24 Nov 2020 15:23:01 +0200 From: Heikki Krogerus To: Prashant Malani Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, gregkh@linuxfoundation.org Subject: Re: [PATCH v3 1/2] usb: typec: Consolidate syfs ABI documentation Message-ID: <20201124132301.GC1008337@kuha.fi.intel.com> References: <20201023214328.1262883-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201023214328.1262883-1-pmalani@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 02:43:26PM -0700, Prashant Malani wrote: > Both partner and cable have identity VDOs. These are listed separately > in the Documentation/ABI/testing/sysfs-class-typec. Factor these out > into a common location to avoid the duplication. This does not apply any more. Cany you resend these. thanks, > Signed-off-by: Prashant Malani > --- > > Patch first introduced in v3. > > Documentation/ABI/testing/sysfs-class-typec | 59 ++++++--------------- > 1 file changed, 17 insertions(+), 42 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-class-typec b/Documentation/ABI/testing/sysfs-class-typec > index b834671522d6..0f839fd022f1 100644 > --- a/Documentation/ABI/testing/sysfs-class-typec > +++ b/Documentation/ABI/testing/sysfs-class-typec > @@ -134,42 +134,6 @@ Description: > Shows if the partner supports USB Power Delivery communication: > Valid values: yes, no > > -What: /sys/class/typec/-partner>/identity/ > -Date: April 2017 > -Contact: Heikki Krogerus > -Description: > - This directory appears only if the port device driver is capable > - of showing the result of Discover Identity USB power delivery > - command. That will not always be possible even when USB power > - delivery is supported, for example when USB power delivery > - communication for the port is mostly handled in firmware. If the > - directory exists, it will have an attribute file for every VDO > - in Discover Identity command result. > - > -What: /sys/class/typec/-partner/identity/id_header > -Date: April 2017 > -Contact: Heikki Krogerus > -Description: > - ID Header VDO part of Discover Identity command result. The > - value will show 0 until Discover Identity command result becomes > - available. The value can be polled. > - > -What: /sys/class/typec/-partner/identity/cert_stat > -Date: April 2017 > -Contact: Heikki Krogerus > -Description: > - Cert Stat VDO part of Discover Identity command result. The > - value will show 0 until Discover Identity command result becomes > - available. The value can be polled. > - > -What: /sys/class/typec/-partner/identity/product > -Date: April 2017 > -Contact: Heikki Krogerus > -Description: > - Product VDO part of Discover Identity command result. The value > - will show 0 until Discover Identity command result becomes > - available. The value can be polled. > - > > USB Type-C cable devices (eg. /sys/class/typec/port0-cable/) > > @@ -196,17 +160,28 @@ Description: > - type-c > - captive > > -What: /sys/class/typec/-cable/identity/ > + > +USB Type-C partner/cable Power Delivery Identity objects > + > +NOTE: The following attributes will be applicable to both > +partner (e.g /sys/class/typec/port0-partner/) and > +cable (e.g /sys/class/typec/port0-cable/) devices. Consequently, the example file > +paths below are prefixed with "/sys/class/typec/-{partner|cable}/" to > +reflect this. > + > +What: /sys/class/typec/-{partner|cable}/identity/ > Date: April 2017 > Contact: Heikki Krogerus > Description: > This directory appears only if the port device driver is capable > of showing the result of Discover Identity USB power delivery > command. That will not always be possible even when USB power > - delivery is supported. If the directory exists, it will have an > - attribute for every VDO returned by Discover Identity command. > + delivery is supported, for example when USB power delivery > + communication for the port is mostly handled in firmware. If the > + directory exists, it will have an attribute file for every VDO > + in Discover Identity command result. > > -What: /sys/class/typec/-cable/identity/id_header > +What: /sys/class/typec/-{partner|cable}/identity/id_header > Date: April 2017 > Contact: Heikki Krogerus > Description: > @@ -214,7 +189,7 @@ Description: > value will show 0 until Discover Identity command result becomes > available. The value can be polled. > > -What: /sys/class/typec/-cable/identity/cert_stat > +What: /sys/class/typec/-{partner|cable}/identity/cert_stat > Date: April 2017 > Contact: Heikki Krogerus > Description: > @@ -222,7 +197,7 @@ Description: > value will show 0 until Discover Identity command result becomes > available. The value can be polled. > > -What: /sys/class/typec/-cable/identity/product > +What: /sys/class/typec/-{partner|cable}/identity/product > Date: April 2017 > Contact: Heikki Krogerus > Description: > -- > 2.29.0.rc1.297.gfa9743e501-goog -- heikki