Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp94532pxb; Mon, 1 Feb 2021 23:34:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRPm3OQIwIcF1T3HvQ6cLsUqsdy3OZonKQqOazNX2u0KbG5f8yF8cV+q5/cRmstosDP4o2 X-Received: by 2002:a17:907:aa9:: with SMTP id bz9mr5323687ejc.528.1612251246500; Mon, 01 Feb 2021 23:34:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612251246; cv=none; d=google.com; s=arc-20160816; b=pMKSl0me2mRnIyr28oIbHV4FfHWUOYs9q3bSLeXKdnwQpwdYK52trREjIPhWe+6lpw 0pqrpgmvkTOsi40APvute/h4rDwS+PlOkircoVxC2cgdaipli+aSfGUnFjb08VcHPRf1 rEc+Fz8PpD3jBsNIepWnQQgc8shw84Y6uKjxKitJQC5PlVqj1Kr2H+ZzEFSD7u9x9t6E ujet9WXMM+OY0XJmdxIX4hsaBgkQzFH8yD5LnS/REh5O24tlK1otOlITAygE2Q8dS2QP 25wgvpTgGspQ6eGZv8XJCMnEDwFYK7R9NILUW6OlD0MXHHMJFesSTNfnR90odC7aswiB E5VQ== 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:dkim-signature; bh=FvMrCzIRiyIuNqCEdbIIzSXYXLe0Jacz2UDb/EK+SKg=; b=MEw7eSL0cW73tMiGgfC1MoUyDgHMWXD4o+VFgzkO/zCOihxwoSB7MnjUjOv3N4Y/7W 0SpErJhAFQ9xK60rudDhgem+pc6KrW4dpYaBTiLvpOOZWDM/SEsg9FYOrtleoxrmaRxs vra5Rp7hqPHP8WFPcmsNxhmi7YFF1f6lb0KL/JHbAwQIuHboL55umDaAOTBKocqGLtjp ULVWfIPqZxAIJGtoerdoAHJF27gL3kEjTWeahpnDpZPFNGyTNXhdJLtXsb0ibGPqZVKv tQxmzR6F2Fdx++CDY19VJGSfJ6xFc414XPQFHhDJSFoBhU07uOJcQ+wk0zUu2JiRDBxP b/cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lQmHJzck; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si1323430edj.344.2021.02.01.23.33.40; Mon, 01 Feb 2021 23:34:06 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lQmHJzck; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230319AbhBBHcv (ORCPT + 99 others); Tue, 2 Feb 2021 02:32:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:55574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbhBBHcu (ORCPT ); Tue, 2 Feb 2021 02:32:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F33C464DDD; Tue, 2 Feb 2021 07:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612251129; bh=PEpcMlXbAvVlCef+LCydHc4SZgper6ya9C4OFl1mH14=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lQmHJzckD21+NYrm50hqqA0a5+ataMF5Qq5KGqL3JUZmSUOwVV/5TEc9vjyOt7heg Fb61fQvgJ7QCh8dBcza7Y1VZXc88ilgn+Rp72VzMs8zOlgAvozNA+f71lwwSXUf7yD JjkQRU5U7sxAPWSNPMeAiJxjSdBz7tl6RasVOG88= Date: Tue, 2 Feb 2021 08:32:06 +0100 From: Greg KH To: Benson Leung Cc: Benson Leung , heikki.krogerus@linux.intel.com, enric.balletbo@collabora.com, pmalani@chromium.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, groeck@chromium.org Subject: Re: [PATCH 0/6] usb: typec: and platform/chrome: Add PD revision numbers Message-ID: References: <20210129061406.2680146-1-bleung@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 01, 2021 at 11:04:15PM -0800, Benson Leung wrote: > Hi Greg, > > On Mon, Feb 01, 2021 at 03:32:47PM +0100, Greg KH wrote: > > On Thu, Jan 28, 2021 at 10:14:00PM -0800, Benson Leung wrote: > > > USB Power Delivery has a 3 entity handshake (port, cable, partner), and as > > > of USB PD R3.0, each entity may independently support either Revision 2 or > > > Revision 3 signaling and protocol. In order for userspace and the kernel > > > to properly process the data objects received from a particular SOP*, we > > > must know to which revision of the spec each conforms. > > > > > > This series adds individual version numbers for the partner and the cable, > > > and exposes them in the appropriate sysfs in /sys/class/typec. > > > > > > I provide as a first implementation of this, platform/chrome's cros_ec_typec > > > driver, whose underlying status messages convey the SOP and SOP' revisions > > > already. > > > > I've taken the first 3 patches in my tree now, but the last 3 (for the > > chrome_ec_typec.c driver), they do not apply at all. > > > > Ah, that's because we have some other changes for the cros_ec_typec.c driver > already in platform/chrome for our 5.12 branch. > > For 5.12, the changes for cros_ec_typec driver is pretty well contained, > although there is some dependence on typec subsystem changes now. > > If I send you a pull request containing all of the changes for this driver we > have already merged, plus these last three that depend on both of our trees > would you merge it through usb for 5.12? If the subsystem maintainer says it is ok, yes, I will be glad to take a stable git tag to pull from into my usb-next branch. thanks, greg k-h