Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp82140pxb; Mon, 1 Feb 2021 23:08:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyU5FuLCsoJyI2KBceNtzRZcklbP+qmFbCRe1Q+VF7raMSCV/GDFedLl/phAFhcDlBWPPrz X-Received: by 2002:a50:9ee9:: with SMTP id a96mr22423750edf.343.1612249704018; Mon, 01 Feb 2021 23:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612249704; cv=none; d=google.com; s=arc-20160816; b=mLxJQZ8UqC33/L9u7rpMq1aMQwTAsC5a9ybAaxN/gLEUMIjt/rSBlu3sE8JZihx/b3 1UNJ1RaqPk0yUB0PWN7BF760LdeIPmD3RtdUvP3z5ezqZe5JfhVXO1Fp5W9ILp3Odpur m0R4QdOSUQTjc16P+PCD8uIz7jQq1WuaDD0wRXrPfKQ56waoT+KBg4fav/XNpX20JNAW QBsDWlwJlXtQSa679Rdrvh/Z+qz5BVNv8V2mzaAPakT461+tBe88rIjjzhRyWUutbRS1 EAwkpUneaHkA5cXRavsexJcMDjUXi1GEXr7H/Amkg0KQRbVE5Gv5iMyvHgAFMxOvW5On B+dg== 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=h2y+K/9iVHXki4SjZE5QNNx7J+jWoGFy9/IpDPTRQ98=; b=bhjEoY+R/G0R44yf0/Bm5/SIZe4lwPFx8YLzdVXchTLvicAzbGwN/mPnejMdytn9vi IKj+Pxew/TfzYZQYTzhJP9BoJX6IbxADzGnE0Y5LMQ/Yw4KmgC6NkeJKYmMtLKlggByK anRTNPcyMALzh/vOyseApcQityksE65sLr8uhnetCkESJmT60iPFOKsA3WhjfPzJ7qcW uKdYoKz4HTHU3WuEL/VJVsNXpksuIFKUbosCB/0PYfcPHNQSYAGuzrfOMRaKa2s+EWuF 0xHl86UWMV6jCur/BO9bu/Oo8jQNxx0TQKmcNP5sETJ9Slwm7IcVI8CPV/gic+THQvpf 05aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="WRtYXtQ/"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f15si7525053edc.561.2021.02.01.23.07.59; Mon, 01 Feb 2021 23:08:24 -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=@google.com header.s=20161025 header.b="WRtYXtQ/"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232429AbhBBHFS (ORCPT + 99 others); Tue, 2 Feb 2021 02:05:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232211AbhBBHFD (ORCPT ); Tue, 2 Feb 2021 02:05:03 -0500 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71EACC061756 for ; Mon, 1 Feb 2021 23:04:23 -0800 (PST) Received: by mail-pg1-x531.google.com with SMTP id t25so14313509pga.2 for ; Mon, 01 Feb 2021 23:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=h2y+K/9iVHXki4SjZE5QNNx7J+jWoGFy9/IpDPTRQ98=; b=WRtYXtQ/XmGlEHKBRf10bWrEJsJdvvFzTou6cfMq6W4BtOCVlrLN5GJ/QhDHQ39z1a YYKvvWbJeSZBznFg+FjKO/9eq+iZBT6bUxkdPKaHGP1z9PJNKjm7Z25pkXM+EJnz1rcC 54uDYAwQEL1ZcfcyNXFCm/xbS4Q699y/uzfv72RBk2IKYCC0fflG6AQGkWxEdLwyIDrK MyK+3JXVArPqCrfnq8Q8+DaoY4zL8yZpaG0D4l3+FHxdwXtf/y40swCTQRPqc7Y3HN4T i7ga3p/xrBREcjOSntejS0gkCs0MvraGVK3tpn35znpuDfWLdOD6l41kLZQBCAQlHwCw Bz2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=h2y+K/9iVHXki4SjZE5QNNx7J+jWoGFy9/IpDPTRQ98=; b=LFBbcHqAm+rLFF2S4kPJkabZbzJValvXs8McSPh9FDuOsFS6b33f5w6ZFFgPP0LrHL vgCO2wJyWkj4bDBJXVal+0Hu3ruXDMz9ZUulu+PXM0yBcVpttYkYUBWCjc8asGaKk+oP mAM33jRU3XqcFiN67A+LVCrAwFo1kBfUDMaLy1Jbm4OZmL7hPHbrL/n2Vfim0raTr8dm XzOOB6iM3h3I22UkZNL2cgMofOM6YJngVg69k8LrbBDFGY268LxWCqDE9rk+Ib6LN6ko +cjIxDWSzjxuqqbg7wS/Z6gRRuAE30Z2Udb6TNw/GL4Hn8xsa896yR4TiUm5a7fOLft+ IB0w== X-Gm-Message-State: AOAM531P8apnCuZYUqwn+oHuy7+6AzfsoHvX0laoD1YW1iN3iOdzfL10 dxtOONXm7ea/7TSpu1R+WOJptg== X-Received: by 2002:a63:a10a:: with SMTP id b10mr19935429pgf.121.1612249462516; Mon, 01 Feb 2021 23:04:22 -0800 (PST) Received: from google.com ([2620:15c:202:201:f693:9fff:fef4:fc72]) by smtp.gmail.com with ESMTPSA id bt21sm1105334pjb.33.2021.02.01.23.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 23:04:20 -0800 (PST) Date: Mon, 1 Feb 2021 23:04:15 -0800 From: Benson Leung To: Greg KH 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1IvyEnSOqD3CMctJ" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1IvyEnSOqD3CMctJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. > >=20 > > This series adds individual version numbers for the partner and the cab= le, > > and exposes them in the appropriate sysfs in /sys/class/typec. > >=20 > > I provide as a first implementation of this, platform/chrome's cros_ec_= typec > > driver, whose underlying status messages convey the SOP and SOP' revisi= ons > > already. >=20 > 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. >=20 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? Thanks, Benson > thanks, >=20 > greg k-h --=20 Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org --1IvyEnSOqD3CMctJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCYBj5bwAKCRBzbaomhzOw wmOeAP9tpkaoJbsMmmBb8CaB4fT4OlvcvCI222T6Xwxilxga3AEAmnf9GyFgKA9l KJx1cTrAZkAO+qGYZ1WTes/3ZVDYbAQ= =y8Hq -----END PGP SIGNATURE----- --1IvyEnSOqD3CMctJ--