Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2939912ybl; Fri, 20 Dec 2019 00:57:11 -0800 (PST) X-Google-Smtp-Source: APXvYqxBma942qPLqsu8W+kbz+BhCL7F6571L27f4i55ykAMtF2L7SKmkajwHTihjGxyGs01sLsp X-Received: by 2002:a9d:3b23:: with SMTP id z32mr13092521otb.159.1576832231218; Fri, 20 Dec 2019 00:57:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576832231; cv=none; d=google.com; s=arc-20160816; b=ATVtIy04Em+05ghec7wGAsA14GMq2jy1wE65omrszPjpyeyibZ8i3ounFJXULwPWeY W6oJ5qqwLj1D6JGnqbHyILCPUiEQBN4slsJODX/Nfi2EY/TimT7HIBuUyuVEQzjBB7/G 8p1LmvoA/TFjUW22DplUKRa9Z7KqsXCdtgSzeQYoixaZC+tFNNmrhkiZOwvIILo5GPy6 rA28Q105zWIZa0pCKT6LgHaPsMtLHsSs2JRMvtMHjvNBbEmXIWOY1hwJ60cbhVpro9bE DOylVUdM3Mlw91XiOi7c9W62igG2hUjMIW9xOyrZUiRlSoNufsVu8lVBCln9LOcPeEOC 1aVA== 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=yj2UkZn++AtM6BDUggTK9rHuIqoUdxMvJM501bbwUvY=; b=uctNlBj0hl5JKyDVYOT3qt0gKb+sb16vODrtSnjCQGS0Xj6u7T5t11WQO2TjJeXg3V vuXmQcSnjsAx2TuRVd07p81d13WdI5o8K3AkioUHFR6uw191+U0j240AHSu+7QAi96Vc 54BwAz9fHrhfm5V9mdb3BSaBydfufEHkaoDfuGJP+p4jXs6mvW+x6IaDFQ0qLCuUAzYs tgE35G9+sE5o0LgosXOn5SZLFlj4c4hflz2eOONWtHVuJWCSmaGH0mBZf/VE5n3drpLy uSaYRrQkjmac6tm0CKbJyk/tZGNQiIDchpT34A0JG1I7JxC47baQrjLz3xFoC1uFm7Pi Ltpg== 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 l21si5017425otk.142.2019.12.20.00.57.00; Fri, 20 Dec 2019 00:57:11 -0800 (PST) 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 S1727285AbfLTIzP (ORCPT + 99 others); Fri, 20 Dec 2019 03:55:15 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:58240 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbfLTIzP (ORCPT ); Fri, 20 Dec 2019 03:55:15 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id BBB88283BD6 Subject: Re: [PATCH 2/2] mfd: cros_ec: Add usbpd-notify to usbpd_charger To: Prashant Malani , groeck@chromium.org, bleung@chromium.org, lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org References: <20191219201340.196259-1-pmalani@chromium.org> <20191219201340.196259-2-pmalani@chromium.org> From: Enric Balletbo i Serra Message-ID: Date: Fri, 20 Dec 2019 09:55:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20191219201340.196259-2-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, This should be [PATCH v3 2/2]. All the patches in the series should have the same version otherwise makes difficult to follow. Thanks, Enric On 19/12/19 21:13, Prashant Malani wrote: > Add the cros-usbpd-notify driver as a cell for the cros_usbpd_charger > subdevice on non-ACPI platforms. > > This driver allows other cros-ec devices to receive PD event > notifications from the Chrome OS Embedded Controller (EC) via a > notification chain. > > Change-Id: I4c062d261fa1a504b43b0a0c0a98a661829593b9 > Signed-off-by: Prashant Malani > --- > drivers/mfd/cros_ec_dev.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c > index c4b977a5dd966..1dde480f35b93 100644 > --- a/drivers/mfd/cros_ec_dev.c > +++ b/drivers/mfd/cros_ec_dev.c > @@ -85,6 +85,9 @@ static const struct mfd_cell cros_ec_sensorhub_cells[] = { > static const struct mfd_cell cros_usbpd_charger_cells[] = { > { .name = "cros-usbpd-charger", }, > { .name = "cros-usbpd-logger", }, > +#ifndef CONFIG_ACPI > + { .name = "cros-usbpd-notify", }, > +#endif > }; > > static const struct cros_feature_to_cells cros_subdevices[] = { >