Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2595261ybl; Thu, 19 Dec 2019 16:50:07 -0800 (PST) X-Google-Smtp-Source: APXvYqzOSNPqcj9Q0Y7GujGk3UlO1X+fq8DCPpxKF2/SIcx7dvY7l6KY8IYTj6+DFyo8bN0/0/aL X-Received: by 2002:a9d:7590:: with SMTP id s16mr11150279otk.89.1576803007281; Thu, 19 Dec 2019 16:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576803007; cv=none; d=google.com; s=arc-20160816; b=nucJh0//8s+B5+JdOkPdnq3HPb5TU9+PfbGMLihqeTWJPx3U8QWqcmRQEtdEluYHIm g43BfY0HtA1oy49rrgm2nhGO/uE9yy8PNLNbslpuSBvJlAr5Vk82AivtpEkqnIUf8W1I YSqnj+esh1bSbXmKR35EuemICeG1QV4YF108bKUz02vQeFUiXzghsu86cV5x3EaOJLuN riXrumf9ceFyV0L+qnfyIM3gnjkznSmeNU9rIAg/4L4hTw3aINVc6eMYI6Yoy43jDHVR TBOyU8AP3+uXcZPENacnNnRX/ViZE4MFffLj4K57GiKJ8RlclStT4yj7EKAK9c4mAO2Q toww== 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=oPmZbtWhwMRbWSbeKM23ptPheqJNw6paBveWF3S8D4s=; b=oDLtN5CwumdXFOAG9tkI8MxLwqlq9TmjEGjiu+KNJNpm16mweekUZTPfzuTw8HDWVG 9bAWhZMDAYlg67zfitKMzgZRh6BPiFGqqzDWGEJnMW0Vha31LQFU5ZFcxVq4WCnat96t onNkVu/m8UumfuAdBJMChB0Lb5c219csSSqljMfP44/mimwTNk8f2x8nOCEo+5Xp8KIT +1g1rLFbYgBblsLmBJdQcZCGIzCF+PA+krU5mhM3ccPd3W1YYbWs0aHDSHKvNW410s2s djIE43bpYhSWOQWydgj0W6/i32SisYo1xNAu59xlaX0KV62AAPwWS75Y2uN82dE5bx0Q 2igA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SsuCkfJ6; 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 b203si3880851oif.101.2019.12.19.16.49.54; Thu, 19 Dec 2019 16:50:07 -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=SsuCkfJ6; 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 S1727089AbfLTAtM (ORCPT + 99 others); Thu, 19 Dec 2019 19:49:12 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39174 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbfLTAtL (ORCPT ); Thu, 19 Dec 2019 19:49:11 -0500 Received: by mail-qt1-f194.google.com with SMTP id e5so6725872qtm.6 for ; Thu, 19 Dec 2019 16:49:11 -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=oPmZbtWhwMRbWSbeKM23ptPheqJNw6paBveWF3S8D4s=; b=SsuCkfJ6k0jb73fsM9vAJzdTgNA6e2E8j1oY88ulf7ce25QebwOQdaX/iiw+U5L7ye kGpEwYw13D8AMm1AF9bhaUKWaJw45fGvtdOCOJDNPa5zw5zoymB4/8GfjLWaocl71nnU DXck1mTDh4F/vQi0N8ETMQLaHRUUR66aM8Log= 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=oPmZbtWhwMRbWSbeKM23ptPheqJNw6paBveWF3S8D4s=; b=boqLS77HNANrSkGhipzsEFshdxa7ljIvK1V33X6M1y0HQj7VjSr1IdEzjdwrG4TpcP sSiDRWDF6r3SGixLV9mLWUNWdj/uttbR1OD9Ee0iFLke6G4JaWlpBwdILlHpqtVNPEVQ Unc79UHU/DDVbCLKadW5t6Ma7Ba3NrsZKNmwh32QRfcOWD/+LNVy5Roj1TQIPZtNHcZR oIUw9uZw9WdK8AA/AhfK+rrnSzwldjeeOa2dGi7VVSbI3CtY4kXgAc/zPwDDF89Tgc0N +W9xwKSOM0vvZoNaRUTB23nlm4OQlMUAi+W8mo8nnG+i/bv+MmWZjIvHbS0IP7uTN4Oi Fv1A== X-Gm-Message-State: APjAAAXOFzj82r6aB6GmKeHD3rXKHhobsr56bNA+rX4QvTcXcqEUXK/r EtXjYS7UG2TSlkbdzQxnW0Mx23H3FOV0enUJCNeS5A== X-Received: by 2002:ac8:140c:: with SMTP id k12mr9628686qtj.117.1576802950834; Thu, 19 Dec 2019 16:49:10 -0800 (PST) MIME-Version: 1.0 References: <20191219201340.196259-1-pmalani@chromium.org> <20191219201340.196259-2-pmalani@chromium.org> In-Reply-To: From: Prashant Malani Date: Thu, 19 Dec 2019 16:48:58 -0800 Message-ID: Subject: Re: [PATCH 2/2] mfd: cros_ec: Add usbpd-notify to usbpd_charger To: Benson Leung 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 On Thu, Dec 19, 2019 at 4:14 PM Benson Leung wrote: > > 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. Done. Thanks! > > > 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