From patchwork Fri Jan 22 21:59:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daisuke Nojiri X-Patchwork-Id: 369056 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92220C433DB for ; Fri, 22 Jan 2021 22:08:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5368F23B09 for ; Fri, 22 Jan 2021 22:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730880AbhAVWH6 (ORCPT ); Fri, 22 Jan 2021 17:07:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730734AbhAVWHf (ORCPT ); Fri, 22 Jan 2021 17:07:35 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91E60C061352 for ; Fri, 22 Jan 2021 14:06:40 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id w14so4735695pfi.2 for ; Fri, 22 Jan 2021 14:06:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GT4sWub4TdhpfloHMdwlVx7/p8zvFXxcNYxZN4MYQMc=; b=InwHRgJC7CcuDMn9l5FeVk1Wz2iTF8JwXhH/noGGnfwF0l6LlVeKbe03XS3JrZMtjP 5/LNVno8791KwxJFhpBWqgQCMNNd3VrnSHa5vwnFWm2JIOnjFa+oiyV3cWkRRcY6LdV6 Vpkz73XrYP1QndzgINE4WpuF70i1vLMO1iLO4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GT4sWub4TdhpfloHMdwlVx7/p8zvFXxcNYxZN4MYQMc=; b=qWikEVUSV0ZB7qwe89LKwJzGeIZWdXgtiz1Kgh+1XxhsX641IgvT/dr8ClyvjqBhw/ 6UqYQgbgWTaAGar29DvVDdfEUXUlTj6nEaT46wRSDpmhVPCSnzDOlWVr06g8e2SGcsRX +991zzScsxXnVumV16IWwAmJWcjsT1Dx03md8EQX4sa8GJGgZBMQFQGfhADtm7Avm+Wl 3Iq31NxierJGU4vc6zB2nao2zYjnVLMww0rK/X09eun299k9bR2aj39WBcfSj1//gts2 wtRzZ2LEvDxLEkzOb583LsSkcX0kiQzn4EO1WkdBDJgvxx5XapvAx6ZDxKiretDcpB3+ YCGQ== X-Gm-Message-State: AOAM530RNQwsQyObk2AThnlW2Hfr6/5/kIQERdtqtglPoJhRimnYF/Bm 9GD/bM+f6h0MKTVuCQs/dajMYg== X-Google-Smtp-Source: ABdhPJxKctDHtcIG9yzztz1+mm/nthv0dsPMor8ceZTSACCGxbRFYcpZT+5itdN1AaH3IS3Bc+Rk1g== X-Received: by 2002:a63:c64f:: with SMTP id x15mr6586798pgg.196.1611353200239; Fri, 22 Jan 2021 14:06:40 -0800 (PST) Received: from pc98bx3.roam.corp.google.com (c-73-222-23-249.hsd1.ca.comcast.net. [73.222.23.249]) by smtp.gmail.com with ESMTPSA id h12sm9863300pgk.70.2021.01.22.14.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 14:06:39 -0800 (PST) From: Daisuke Nojiri Cc: vpalatin@chromium.org, Daisuke Nojiri , Lee Jones , Benson Leung , Enric Balletbo i Serra , Guenter Roeck , Sebastian Reichel , Prashant Malani , Gwendal Grignou , Alex Levin , Pi-Hsun Shih , "Gustavo A. R. Silva" , Ching-Kang Yen , Vijay Hiremath , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 2/2] mfd: cros_ec: Add peripheral device charger Date: Fri, 22 Jan 2021 13:59:00 -0800 Message-Id: <20210122215900.1168610-2-dnojiri@chromium.org> X-Mailer: git-send-email 2.30.0.280.ga3ce27912f-goog In-Reply-To: <20210122215900.1168610-1-dnojiri@chromium.org> References: <20210122215900.1168610-1-dnojiri@chromium.org> MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch adds a cell entry for PCHG (Peripheral CHarGer). PCHG is a framework managing power supplies for peripheral devices. Signed-off-by: Daisuke Nojiri Acked-for-MFD-by: Lee Jones --- v1->v2 * None v2->v3 * None --- drivers/mfd/cros_ec_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c index 6135321592b76c..f3bc1cb6891ba5 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -116,6 +116,7 @@ static const struct mfd_cell cros_ec_platform_cells[] = { { .name = "cros-ec-pd-sysfs" }, { .name = "cros-ec-sysfs", }, { .name = "cros-ec-pd-update", }, + { .name = "cros-ec-pchg", }, }; static const struct mfd_cell cros_ec_vbc_cells[] = {