Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3488108ybh; Tue, 17 Mar 2020 00:47:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtmqp+zDFIIz/EVwiKHkmvwqi39S62pKsh6xkiZdHQTADNXz/KGuv/AnN1YAYF6aRML5MZ2 X-Received: by 2002:a05:6830:12d0:: with SMTP id a16mr2673852otq.218.1584431240407; Tue, 17 Mar 2020 00:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584431240; cv=none; d=google.com; s=arc-20160816; b=bzVh4a2KiioDUFAIW0AbisCx9G8k7VW106v0MQyJoAmueb+fXNQhCZhQ7uvrfFhDpW a6EmbxC4RpASOh+0Tgt+43WDKvKZJjl/N7NfEQTRp82NHytW2nLN4zm2hxzjC1bThDLX Tr9LYGXa9QKHm6ncZv0kOXAElryTpvlrf/X8dDxQf7RdaI+FHD+SeYG4lr72qYBWs3VL w73hfWeiCCQHjZDkud0okiNlh0F83YusuHNSNe9TuPuqg2J6YkURIko6+dVDb2KddfdH rsPa8mQMTda3+d6VFT3GUfL3fUFyTVOa3FeHQ6oLz5d/0IiMcTelyvHa7Dhd2hf7YG5m 12ig== 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=mOXMHJipuzHxltvd0FmMWhtreMIvKVLEnrogokvAxS8=; b=SSb2dMGB7QJmShA65o66ZBl1pDpm45iQWXSNEqBcMvj5Sjjx5foii3+u1GeX6hgxoY okEPUlK0YnldCnBaWlsuL+lNo6jxVHefvgcQqPUwCvW9WMrai8DSCBbxmlyFu+cvV6oz egJXoOYrTdHqUV7W4EE/tZMooWH45UlWfx90WAPKvUmGbvM7hzNjxSp4IaeRar00bkcl 3eN/4qgncUb2y+JHrKVSM7IdWdDm2qawzhTuWaVGMaPkU2szTpbPSslgiP9tAtvlDohL xbvljiZB8Ua+4x8MQ1KVu6btp8MJJ/x/7/C6a3YbjM9K5LmZ7z7SlPrPuoIAuSQ/+tDh BvKA== 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 l19si1146142oii.54.2020.03.17.00.47.07; Tue, 17 Mar 2020 00:47:20 -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 S1726148AbgCQHqK (ORCPT + 99 others); Tue, 17 Mar 2020 03:46:10 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:56810 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbgCQHqK (ORCPT ); Tue, 17 Mar 2020 03:46:10 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id E704128A3FD Subject: Re: [PATCH v2 0/3] platform/chrome: notify: Use PD_HOST_EVENT_STATUS To: Prashant Malani , linux-kernel@vger.kernel.org Cc: Benson Leung References: <20200316082831.242516-1-pmalani@chromium.org> From: Enric Balletbo i Serra Message-ID: <0f5a0385-0d13-4558-8e25-3765220d2e3d@collabora.com> Date: Tue, 17 Mar 2020 08:46:06 +0100 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: <20200316082831.242516-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 16/3/20 9:28, Prashant Malani wrote: > This series improves the PD notifier driver to get the > EC_CMD_PD_HOST_EVENT_STATUS bits from the Chrome EC, and send those to > the notifier listeners. Earlier, the "event" param of the notifier was > always being hard-coded to a single value (corresponding to PD_MCU > events on ACPI and DT platforms) which wasn't of much use to the > listeners. > > Changes in v2: > - Fixed unnecessary error checks. > - Removed extraneous dev_info prints about device registration. > - Rixed pd_command() return codes to be standard Linux error codes. > > v1: https://lkml.org/lkml/2020/3/12/287 > > Prashant Malani (3): > platform/chrome: notify: Add driver data struct > platform/chrome: notify: Amend ACPI driver to plat > platform/chrome: notify: Pull PD_HOST_EVENT status > > drivers/platform/chrome/cros_usbpd_notify.c | 183 +++++++++++++++++--- > 1 file changed, 160 insertions(+), 23 deletions(-) > Queued all for 5.7. Thanks. ~ Enric