Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp927858pxu; Fri, 23 Oct 2020 17:39:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycRhhjgsH79C1ieDBLVKO4gf9Lo4YEB43XsBNRZPD6AM+IgoR1tr0XRMVFZ+rnhenEEfeo X-Received: by 2002:a17:907:2677:: with SMTP id ci23mr4555916ejc.270.1603499993187; Fri, 23 Oct 2020 17:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603499993; cv=none; d=google.com; s=arc-20160816; b=j+VN7Mi6YG4GAyKRLinajkKRXMQtpBCmeMctCvUUabGoKqHta3muHOukB7E+ZBQcCl 9LwWmoDQFaTki1cNqW375dpe83+8D+vsrOzTyrtadYXDTjkHpps58IKyvxILqEpcWhNA o2xyr44TVHTgoXaC6IWAawI47+rizm3ANl1Am6FscRI9SN5UG3MAsO1l4pJe3NUy3db0 Z+SS9KycgLRhKIylv5QNu+Zaqo+AuBt8tbDzJksHr/XdGZYRDzek1SbkU/VazFJUvWRZ dlcNdtlTh9O3FZW7vFuB9IP2qXC3AEmwLFsjbUiY7l0r73Wsv/KmKANZ8kXsXi8EqPlM naKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QceJnC4dRZPNkE1Yt9KuuGN8xx+4GwM1datfjLxkevI=; b=bbBnob0klRyfgNRTTpHgBJQS0iJF1IsKGmq7V+CjeMr+KLTiZ0uogpEX8YC+vE718E JHvdjDdamlmus6uL199PRDjlOez7XsZjx1b25UpAV49+T/ONJEptOOBt8NmN7+jjUr8G ds0YxUWqAlkJzz9/4xkjkvNQMiWalVtSKYUbaD4wgYhs2PGEhOHh7A3/LUG7KqSyAol3 eVBcx7hN9WbVFpGc31RUAkm2wcPkioTqQ6plO9/cga4jqbm+qLHwsUWfum9WaasuQ8HF Z78xaltwbPumqYiWSYApuEz74jIQvtDyYNmqQIZS2Xadft9fbrEncyR8Q7HQdD9U1lBn a/xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WQkCZZCH; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si2358567ejm.497.2020.10.23.17.39.30; Fri, 23 Oct 2020 17:39:53 -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; dkim=pass header.i=@chromium.org header.s=google header.b=WQkCZZCH; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756953AbgJWVwg (ORCPT + 99 others); Fri, 23 Oct 2020 17:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756954AbgJWVwg (ORCPT ); Fri, 23 Oct 2020 17:52:36 -0400 Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5EB9C0613D2 for ; Fri, 23 Oct 2020 14:52:35 -0700 (PDT) Received: by mail-qt1-x842.google.com with SMTP id t9so2326139qtp.9 for ; Fri, 23 Oct 2020 14:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QceJnC4dRZPNkE1Yt9KuuGN8xx+4GwM1datfjLxkevI=; b=WQkCZZCHD6jm8iZpwmjelqu62p54kzklxbWMj9e47TSQ/ZoawDCnqq1XnyNgtNr1Yw 2ITC0kxWyZzXaZmsOjYG8/dRfkcM9mUmRQD2unmG8cHb8ZgQUJrcH+IQNifUWp4YOFp0 IEy8KWJXFe06CxAJPb8PYBarepEpRo9W1/aWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QceJnC4dRZPNkE1Yt9KuuGN8xx+4GwM1datfjLxkevI=; b=cp1dDqs+2axUTYB20zVJWMWUK5m0cbxqn+dHqgFMCxsKG0tQ4v+ZX2GrFUhldbRD0T eIJOmb1umAdQLnQlAVfgv7tlF/3WUTHjucxGTX2x7uvnQEohHSOSPIqasKd/s5D1sDM+ SHY19r40lPELqkh6UmHv9gV3cTYF6z4hP/QwGH1yH7mIUj8a4wza9KDvMAQcCPyiNjW4 fORDu4gG9+aCwtQycmgcC9GwV0sPxCzdEevsUTE7acysCIQEOvBIWt2CG2XmiFMfiRmr 7fBWEWlzIuyylI6J3rOc1y/+3xvBgsbn0sgHnb63BsCDDVb/f53HPcqmLcA94p8Pz7In ugnw== X-Gm-Message-State: AOAM531FeSK0SokMkmTtRckStqZvtTsr70mSGJmnp/QF2F9aPjbAAQ5C I12eVIeYD2AykLuUJWzysAo2qqRVUQ4LqEifzInwEQ== X-Received: by 2002:ac8:5a45:: with SMTP id o5mr4581914qta.182.1603489954911; Fri, 23 Oct 2020 14:52:34 -0700 (PDT) MIME-Version: 1.0 References: <20201022061554.3418060-1-pmalani@chromium.org> <20201022065719.GA1440360@kroah.com> In-Reply-To: From: Prashant Malani Date: Fri, 23 Oct 2020 14:52:23 -0700 Message-ID: Subject: Re: [PATCH v2] usb: typec: Expose Product Type VDOs via sysfs To: Greg KH Cc: Linux Kernel Mailing List , "open list:USB NETWORKING DRIVERS" , Benson Leung , Heikki Krogerus Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 22, 2020 at 12:13 AM Prashant Malani wrote: > > Thanks for reviewing the patch, Greg. > > On Wed, Oct 21, 2020 at 11:56 PM Greg KH wrote: > > > > > > > > +What: /sys/class/typec/-cable/identity/product_type_vdo > > > +Date: October 2020 > > > +Contact: Prashant Malani > > > +Description: > > > + Product Type VDOs part of Discover Identity command result. 3 values > > > + are displayed (for the 3 possible Product Type VDOs), one per line. > > > + The values will show 0s until Discover Identity command result becomes > > > + available. The values can be polled. > > > > Why are you describing the same value in two different locations? > > Both cable and partner can have Discover Identity VDOs and they are > listed separately in sysfs. > The other VDOs (id_header, cert_stat and product) have separate > descriptions for cable and partner too. > Perhaps there is a case for consolidating the listings here (factor > out the ones which are common to cable and partner). > Just an update: I added a patch to the series which consolidates these repeat identity entries into 1 location: https://lore.kernel.org/linux-usb/20201023214328.1262883-1-pmalani@chromium.org/ Thanks and best regards,