Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp436902ybb; Fri, 10 Apr 2020 03:09:44 -0700 (PDT) X-Google-Smtp-Source: APiQypL/tMLaMkpJMMF1V1ttOyEmDn5EWKhgcnVE7KtCiTdTW4T4VtEO59HaXJN7x5TP26rkRjZo X-Received: by 2002:a0c:e610:: with SMTP id z16mr4429978qvm.49.1586513384369; Fri, 10 Apr 2020 03:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586513384; cv=none; d=google.com; s=arc-20160816; b=TcG02MWz8bnjOkrcw1D5m+4SV5Ot5djgzwGrokfyNM925BbRknMj4JcPWglmHkY9GJ ovJWYyHKe6gBnzc6tN9+LBqpN1SUkKbI0/Tq2n2DMFcDDynuHgJC0dsacetIVcrpEESa JLjXJTdPRHwNt8C6EH74Bxf+ZmhIY781eA3WRGm8EkkGGXhhirOrZ2Il/kpEdJkLw/H7 axk/MpjYXD0sMgsE4f+/JuKkFgRzzcMYkTEcGBtqiV3vLH3zRPNhOB+5ccAPNRD1Xivu 8HIGy4/nyL3emX96OMRI7Cz8WFVHKzmm0o3qDpWCT6O+OtuIpewkAshfD310u5D7fhGq rLoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=NkIXzjITIBd1eETv6j1wX12Ddodvt9Fu4N/JNNbTUAg=; b=mY9lJuyl0rOdgsmdHK3dXhpZJ3J5+ZFf/NceM0uGZLu4E/ATkzovAN0Ui7iboggenV 6qHOthd/65feQaeW2ei+yPqgt2DZE4CseKkEmG4t74Uos8yW2VzGuRktu5kHBfwZ+9Y/ 4ENkXz+UVLDPQs2YS3uk/+iDJt/wBptgeBi4fEHTxQGadidv3R/kJ8xODn6VRrKunWHY bLgRu02h/vLpwc+mEC3HoXRa5h7tiAVNCVVkvx6mYIn/xQxQO1LmOJ+p/PGzIrdkd8ug dRys0NwoKX9olP+aJjJnCHdJVSFdddb9HLZY5yJqMDgq1qUSdzfe7Ll7hfaIr29qpjjq ObIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si882460qtd.118.2020.04.10.03.09.29; Fri, 10 Apr 2020 03:09:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726173AbgDJKIE (ORCPT + 99 others); Fri, 10 Apr 2020 06:08:04 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:47994 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbgDJKIE (ORCPT ); Fri, 10 Apr 2020 06:08:04 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id A98152A0160 Subject: Re: [PATCH v3 0/3] platform/chrome: typec: Add port partner registration To: Prashant Malani , linux-kernel@vger.kernel.org Cc: heikki.krogerus@linux.intel.com, Benson Leung , Guenter Roeck References: <20200410002316.202107-1-pmalani@chromium.org> From: Enric Balletbo i Serra Message-ID: <85643207-bb30-55d4-1a10-d3c9a6266269@collabora.com> Date: Fri, 10 Apr 2020 12:08:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200410002316.202107-1-pmalani@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Prashant, Thanks for your patches. On 10/4/20 2:23, Prashant Malani wrote: > The following series adds port-partner registration when > connects/disconnects are detected. In order to do that, we also register > a listener for the cros-usbpd-notifier, which will inform the driver of > EC PD events. While we are here, separate out the Type C port data > objects into a separate struct. > > v2: https://lkml.org/lkml/2020/4/9/861 > v1: https://lkml.org/lkml/2020/4/6/1155 > > Changes in v3: > - Fixed trivial Kconfig dependency ordering error. > > Prashant Malani (3): > platform/chrome: typec: Use notifier for updates > platform/chrome: typec: Add struct for port data > platform/chrome: typec: Register port partner > > drivers/platform/chrome/Kconfig | 1 + > drivers/platform/chrome/cros_ec_typec.c | 119 ++++++++++++++++++++---- > 2 files changed, 103 insertions(+), 17 deletions(-) > Would be nice have the Heikki review on those. Thanks, Enric