Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2568192ybl; Thu, 19 Dec 2019 16:16:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwtHF8eNN+5JWaUP+/PzqPEtrPxWZXtjjmUcy+tdxmK2QOgOWpPMtf52VrbLY2N1tGKQbmd X-Received: by 2002:a05:6830:3c5:: with SMTP id p5mr12029135otc.296.1576800994160; Thu, 19 Dec 2019 16:16:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576800994; cv=none; d=google.com; s=arc-20160816; b=VuOj0j9BkYtXfpO6qpBMbVecYx2jBDYFJB1m+g1HIaEz3aQMwFAC4OdXK7o/d7Z66I ZTctmOEVeTt28ifKYWqRfGRaSFxOHRa5nBdQJG+y5f33/ocCOjeeKfUg6VNPddssKCUV DmbY73dmjrMF0Wh1TqcMVNZc77j7np8OHw+xrxnQaR325CFi/5PUUD4Xlhdoe02H4uTl OSK4F1jrpWfbwKw/v+8OrxFzBhxOQxMCUnxa8k6BYeEX2PG+MTC2HFKyXBDPFPX9dIDt VSPR/vlU5sS1to9flSv9FqM80k8i66TJKjEXwv4rxEZUnN+IdsvCGTg5X3mV6kAFp5sL Y2wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DSBzbWB7QqhpPeTI1Nu3CdSKSF5DFJ1xy+2l/2BwbzI=; b=rfvjhgX210fZ0mbez00Z3qFBJNV+uvKlZjTu4GyIyJWj9N21XGcEAjAGM3a7wpmcsV nJXgbYbq77DiP7BwsHO8TNlARJc0tdW4FKgUTVFjb7hQbBRzjnwPQ/JCGOGWxlx7VNBu mkXqM0LkXuvK0+/c3DtpI6ygZdfI6eYEC+RPSHX1XxC1MIGCT+NhiIgGjN8UgvhIgJyo 8loUqlRXceYTrDYNf4qxpfV/svSuXRsXQjwhWMPgu+hlb6C72p1qIa62AqvsLoe5N1Tx pCdo/MK/Oac2WZkF5JQ4p8x0V0eH04YcR0BMKs0VKikCJ444SQnP08bUgwPnBe69LMfs bpOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TCGsuxyN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x185si3649985oig.201.2019.12.19.16.16.22; Thu, 19 Dec 2019 16:16:34 -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; dkim=pass header.i=@chromium.org header.s=google header.b=TCGsuxyN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727148AbfLTAON (ORCPT + 99 others); Thu, 19 Dec 2019 19:14:13 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:38027 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726992AbfLTAON (ORCPT ); Thu, 19 Dec 2019 19:14:13 -0500 Received: by mail-io1-f67.google.com with SMTP id v3so7657607ioj.5 for ; Thu, 19 Dec 2019 16:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DSBzbWB7QqhpPeTI1Nu3CdSKSF5DFJ1xy+2l/2BwbzI=; b=TCGsuxyN57BiemwmY4L0TI6RbOFu/6NkPfJZhjiD1hszmXXVHzuglib54KMoo1cm6c IqJ8GX4xvmwU9uDTh2uZQ5JqrEU5nQPG7A3m6CocVr3rTBosFPQ7hyXRLG5y0cuZQFAP p9aTUQkl8Knj7CQxm0l+3K5N0rw/oA8ewX/3o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DSBzbWB7QqhpPeTI1Nu3CdSKSF5DFJ1xy+2l/2BwbzI=; b=MEW41e8xIztbouHl0UMhxQsj+lxt+E16caDXiJd0JFcXpTeKcxnEwH9VGH4TEV8PO+ WsiH3j4B12DbefOsHFE0w8B87EJ9vftwwLGBOP9V3f2IVVxHG6dmuxZUXTPDv+HMYH48 OKjgTw1QkG3NCYEgIk6OBIItC/+FWsPPwSuTc+19HFPcyfswFg96sWqkiYfOG7mrBGz4 vRaXylbEVPacOlJobtkQhwmA4EWfd/MuIN7ALOenggIfM8M8FwFX+iy7ahA9ef7jeQBE nXWaGLAH5QM49kAcrprVocRs7F6FmlXPKDvJESq7nJ7x/EYA/HZQhK8QX8SOlg1QcRzh GI1A== X-Gm-Message-State: APjAAAVtqK/AexlCeOBhTt2NF8Sc4jBIljHRCPX0LlH50cKPlYC2r3rL hheoLlLhTBZF8Y7H3dMg6ZwqETvO4XdoZRJmIpqERg== X-Received: by 2002:a5d:89c8:: with SMTP id a8mr7781523iot.186.1576800851978; Thu, 19 Dec 2019 16:14:11 -0800 (PST) MIME-Version: 1.0 References: <20191219201340.196259-1-pmalani@chromium.org> <20191219201340.196259-2-pmalani@chromium.org> In-Reply-To: <20191219201340.196259-2-pmalani@chromium.org> From: Benson Leung Date: Thu, 19 Dec 2019 16:13:59 -0800 Message-ID: Subject: Re: [PATCH 2/2] mfd: cros_ec: Add usbpd-notify to usbpd_charger To: Prashant Malani Cc: Enric Balletbo i Serra , Guenter Roeck , Lee Jones , Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Prashant, On Thu, Dec 19, 2019 at 12:14 PM 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 Make sure to strip Gerrit's Change-Ids before sending upstream. They don't have any meaning outside of chromiumos. > 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[] = { > -- > 2.24.1.735.g03f4e72817-goog > -- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org