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=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 74256C63798 for ; Tue, 24 Nov 2020 13:23:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 284522083E for ; Tue, 24 Nov 2020 13:23:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388015AbgKXNXF (ORCPT ); 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