Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp706098ybz; Wed, 15 Apr 2020 17:08:41 -0700 (PDT) X-Google-Smtp-Source: APiQypJNEisLkYzwC8E/xPA1/XkIeJgVAc2M906VxjMGPT+DP7gmu/YO7ToCKb+Ir5DnTYB1yrQv X-Received: by 2002:a17:906:4f8f:: with SMTP id o15mr7143096eju.175.1586995720882; Wed, 15 Apr 2020 17:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586995720; cv=none; d=google.com; s=arc-20160816; b=Rwokf1E633WgoQouPlK+2urh0mRPrt68wtonr15OXg9ttAWFGQFpq1JMCdusKNBqt1 +fNaJIX5ydbnQAzbxSKkGHde5uE2eM23CjTISvf+T3GwYjsJcgeqP1p8PCI+kOqNgzBc 1phsMtPNWGgXyxbri00Np7jgbL1qj50oPuSKXT81CG8cZR60ZRm2Su1bLn5/vNjZQTi9 a5VeZe8jTluFMNenUZ6mrJs4rFLc0znNWIOsC3iUQMG44XFRoBxMfp5WmLfjjo8HhYdz ZvxtcA9wC6otKb1e4qEEIRk2gpc5H8FCZxRTQwaMrMsvrhrEBT80OE3rdHcvuahJAZg7 oCew== 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=jOD+EHnneAyJpl5z2/oDrripZ47ZnGAGirDrxT6GQuY=; b=PQ9cwtYTrLgWsxoDLNCgUn5cgNjIVBRoUyd8B+A1HZQloM6SfXyp8hsSdXyO1EJgI1 zwD7rGMH+I+2K7yw0WUKYJKyq/jm2nluabMjaSZpLEVBGAnKbXybXjclzIsuXpDwe4kv P2+vgl3QHpUBKsUsfshpt1DyrTux/qCqrpToz3mlDcOG0WXvQNKV8Th7n8Co+f5/391I BuRbt87IvaxzOwlgT2HJ0kqu1gqlT3wOcuizG0xIKR4B7sWEqf6jtkBO8c4TmYZrfEJx fgPimbxZ7oaKiv4jdurt4k73CpCDWKds2Y6XmKKrOq5cORkYJft49wzWcUtdq2eMP64u plTw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b89si2729537edf.345.2020.04.15.17.08.17; Wed, 15 Apr 2020 17:08:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394012AbgDOO3w (ORCPT + 99 others); Wed, 15 Apr 2020 10:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729358AbgDOO3t (ORCPT ); Wed, 15 Apr 2020 10:29:49 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B044C061A0C for ; Wed, 15 Apr 2020 07:29:49 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id D6E452A0156 Subject: Re: [PATCH v4 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: <20200415052943.93009-1-pmalani@chromium.org> From: Enric Balletbo i Serra Message-ID: <3279b538-3f68-c2f4-814b-ad64969b29e4@collabora.com> Date: Wed, 15 Apr 2020 16:29:42 +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: <20200415052943.93009-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, On 15/4/20 7:29, 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. > > v3: https://lkml.org/lkml/2020/4/9/868 > v2: https://lkml.org/lkml/2020/4/9/861 > v1: https://lkml.org/lkml/2020/4/6/1155 > > Changes in v4: > - Modified typec_register_partner() error check. > > 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(-) > Queued all the patches for 5.8 Thanks, Enric