Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3456068ybl; Fri, 20 Dec 2019 09:33:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzPcXKv6tQhEHNsL3xQDTsLE+uVMHBDBd9SSY7mp0b2I9AbeFX376miKjMBcSlUJ11BWPok X-Received: by 2002:a9d:2f0:: with SMTP id 103mr16440910otl.218.1576863236665; Fri, 20 Dec 2019 09:33:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576863236; cv=none; d=google.com; s=arc-20160816; b=FpKAbm3r7Tbf8TIKny3XyOhS0TrnQlku4s+Z2WGuNqIvH9nEk584DRT50RXWwH1rlB W+N7Yq+uNHvGQMJWiTDNDcIiR4yB9IMjMHAi8IxQuTT0jwJK6afuJ/bKTbAFaZll+vp1 KCex3RxKYSgT2p+zufkob9RN13p5abycqYEi/QItGPQ3uR/s+z9tps1caYs98UXZiDkb 2v5GrXgyMbKQrC8q8nSsJIIM3JwaTHdAw9b5dZtnzn6hwE5dEFtKYhsJMY0CKTLIhdKI 64gGUYbLuhQjUOH8jWV7JAIF4ENVPw5ClYQd87O3QARNQMqBxpaux7a258291plDFcDz eBLw== 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=I4GRO/tWiHbtugNhV7RJoylU3LHor0URi+UMEUF74qE=; b=PjzIOHrib11CctBEyhLc706FZiHxBTxx0U9zLzCaRxkiUNVNxYzxl9ixk4Q1vT/3KT yoVqQkI7Q4pe6jnkkz/UM+uoSGRfdkKqtFr6iazcf9hAwrrs3eVNnK4C9GuBT9Ha/HVu oU0NYAnlLYYYnvJivAcCW8g9RSwurodElOJuj1UTxXYa9RDcT96lFsLbu3wwyiLSxAMF c1KX/DLu7g5urAV2JCv3cY+ozvAsfPwxqO3byu51xUd0/diUrwUXNWK6VVGUKlbmMXyT aooemFZzSnoqPlAPPa35Dw9x+KdexEOzKYLZwZKP01dPnxUuou9kQYDjxySTSandO2wt WxkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=d1sfmHOo; 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 p3si5750704otk.154.2019.12.20.09.33.44; Fri, 20 Dec 2019 09:33:56 -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=d1sfmHOo; 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 S1727419AbfLTRdD (ORCPT + 99 others); Fri, 20 Dec 2019 12:33:03 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45179 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727390AbfLTRdD (ORCPT ); Fri, 20 Dec 2019 12:33:03 -0500 Received: by mail-qk1-f194.google.com with SMTP id x1so8232008qkl.12 for ; Fri, 20 Dec 2019 09:33:03 -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=I4GRO/tWiHbtugNhV7RJoylU3LHor0URi+UMEUF74qE=; b=d1sfmHOoN92uPuLuu8fgnRwjyA5F1JWhhVFF57FV7A2DSxKQqRF4LGQa69tbTalwUh 1zL8yEdkg72wO0woe+DVlrUMKZ8uS9dQaa+SmFcwb+JeUY4UPw64tQXdrq93FETmgWDo Qse0URFDLMNwpusPCyMWsdhUpgpPL0BfRXU6U= 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=I4GRO/tWiHbtugNhV7RJoylU3LHor0URi+UMEUF74qE=; b=Rst9A2SmE/tAKyhU2njizjPXbqc4/2MUA/ZnOFitVpVCxEfVRzfwLE1UWuXV57ASXi C033o4aQO4p1xBlxfCyPHN/VmOv8sWzFrrQ4vnQprEjQgNPfqmYpp/YYtliLRq0ygudJ oPSczvL4MPvd+S6qepnS+imyLLZTCthTo7EjI4i9tDNMEGS/Wq01TDK//hKvGHHirJwS Rx9DFhcW9Ponm9CLMZkXiO8GfBQgI25mpN255EuirI92CLKN3ZbnHkcIycHsdhS7zw81 rgsUXT/kmn87JZX9gSaekNsqpOiBZ2HD2B8wiyhQoQPAjJ5n+Mm/7yy6Ai1WMLbthneY UBkg== X-Gm-Message-State: APjAAAUqaDUrXcBjlLfEl+xt1n53tV+TgcJa9issfoHdD8weZ2bcYtvX b0kJCG3+dOIDFoYbXo0AYAEoUVv4oxHdxiIOQc31cQ== X-Received: by 2002:a37:5b41:: with SMTP id p62mr14388232qkb.442.1576863182554; Fri, 20 Dec 2019 09:33:02 -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: Fri, 20 Dec 2019 09:32:51 -0800 Message-ID: Subject: Re: [PATCH 2/2] mfd: cros_ec: Add usbpd-notify to usbpd_charger To: Enric Balletbo i Serra Cc: Guenter Roeck , Benson Leung , Lee Jones , Linux Kernel Mailing List 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 Fri, Dec 20, 2019 at 12:55 AM Enric Balletbo i Serra wrote: > > 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. > Noted. I was under the impression that new patches would have individual version numbers. I will correct this in the next version. Thanks! > 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[] = { > >