Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp209213lqb; Tue, 28 May 2024 13:08:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAOongRsCkBWnCkitnaJAEiLhncSd4EoGdN1wAOfrXlTawpO2CIL+uu6rReKQavRG1CCpIhu/or8EWqVCCVO7pcJO2Lq/GDdtDvZpCWw== X-Google-Smtp-Source: AGHT+IFXJPE7mNSwAnpTDYdWuKM3WNDjGFYiLN73BBl6R642tGaiVo/gWa88HeIA78ivWcNzP+fT X-Received: by 2002:a17:90b:4c04:b0:2bf:9355:bfbc with SMTP id 98e67ed59e1d1-2bf9355c132mr8034693a91.3.1716926914259; Tue, 28 May 2024 13:08:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716926914; cv=pass; d=google.com; s=arc-20160816; b=jB6SgSDuzC7T+BK6++vRVSpU7edZSuGTBC7TXDQgQZIrzuN3Ztbdzj8WAUVP0UxeZg bsb9Yo6ZBAvSXpnnUK+h48ZtwkoacAfinqbMUh7MOj0seJ+BKfCjZQo8reilUPj2umxn FJvGIhmTfIaLNiklTGRiryNFnJSdQ+uTb6BRErReovl42+IDz0pHoOc4y6W2kNB31oFH LZ/AtVLwndc/thctITTV2V+Rn7PMx1yKc8ryCOr3ixTGUSsI4odsd7y+1iady6qtpdh8 vdOC2SMZZS9xRqQfaBhxNfqFRvW+1yjG60PK2wgvTo1751JntzytAvBUskUbnC23LlaI 7b9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=V+TEJHP4OM0oOyxSL59JqEmq9Pb0TOzqvEeXbA4hKj0=; fh=/WwABU81eIdo2PqOyp5qdY/6YgVUn9qAsc6KW2OjgTE=; b=zYPlnZg7VZwC7VcC9NHm5HQjRKsk7ik6N2gnkCVc5FmHDkR485kTxemDlAJUaKnB2B UtONPcDWAuLntcd1M2xUlNxesaOqYj1DwOBXihKrohW7/7twsmOUGxYCcTTfxQHjeJlT Ip8jhR5N4G0oIGIJ9juJvallqIeGAXoAacxaz1EB1oCQ81Uq2xUsdDsLhucdu9IxaUww B91nIa4JYVHAEZUGbY/fEJWDX+ObB+OSaAtvMe2N9hWPsVtu/eInWRAd+UN9b4yzc5LM xVKFqaglRo7AGDSCvr8H4jnAT2myGW+Z8K5ll607fLvVpT0M81RRezu83cfTghnmfjCZ Xplg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=DTRI5pjO; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-193000-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf7c5020a5si7370519a91.107.2024.05.28.13.08.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 13:08:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193000-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=DTRI5pjO; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-193000-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E0D9B2886CF for ; Tue, 28 May 2024 20:05:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C89AD179647; Tue, 28 May 2024 20:05:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="DTRI5pjO" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40E2B178392; Tue, 28 May 2024 20:05:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716926719; cv=none; b=nIWJjrDgNAnZ5pjL7Vcyq4c8XCk/jVyAWx04StsejM8KuAfiSeNyV6eYK8rU87678BeSa6lprRwhsC4GjDJ1Wku3orrLxNjVta15vX+FltsF61o+DhjvUoKGZ/6fz6yw7LXXh5CowKl3/ADfEbfowQJ0rAfgANuTqFQFTGBQUts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716926719; c=relaxed/simple; bh=QGClvnWyRt6Z5l3HwVZJ+J+CE2jOyvBkkV1qVUSgp/w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CBc3u5HpfeYe58cfEdT05ipKIB6WCmXzGjtLhsCDnbeW3x7PZrIDqf+Ic+a712woJPFfd5i87ksLmwlCt5iyTfd6HCOb6NUaX/BodM5rSijB3/oiur0DDFGIRo3HJpz45uUr/8BTzFQhd7yWF4Yym/V0cmCb6BFQ00TI+EiCpRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=DTRI5pjO; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1716926707; bh=QGClvnWyRt6Z5l3HwVZJ+J+CE2jOyvBkkV1qVUSgp/w=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=DTRI5pjO5zRfFd/DBEiue5VFoOGeyoTFdJ6NqG89d4d54qp2TCGvB1V++ZdgEsh7l WZLNymt5hhb0ZC+tVXKE9p97zrW0o66yVQkE+7kR1pdgBOQUKeTVqwAfyfB3Kj2wV7 5jxyNy/N3suBab1v6ipNwb0RvzxoWPIY4rUT3pLo= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 28 May 2024 22:04:12 +0200 Subject: [PATCH v2 3/3] mfd: cros_ec: Register charge control subdevice Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240528-cros_ec-charge-control-v2-3-81fb27e1cff4@weissschuh.net> References: <20240528-cros_ec-charge-control-v2-0-81fb27e1cff4@weissschuh.net> In-Reply-To: <20240528-cros_ec-charge-control-v2-0-81fb27e1cff4@weissschuh.net> To: Benson Leung , Guenter Roeck , Sebastian Reichel , Lee Jones , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Cc: chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Mario Limonciello , Dustin Howett , Stephen Horvath , Rajas Paranjpe , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716926707; l=645; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=QGClvnWyRt6Z5l3HwVZJ+J+CE2jOyvBkkV1qVUSgp/w=; b=cMubD7FX6aKWHXlIcGRZlCmI3fX7A4Y3afA3lFL79I6hTx78IjO9QMEz4XaTL9FOgg2tRwC7N LUnVCS4e7LoAkUlTkRbgHz1XgEhRInOroBaz6qf7753Q1v8bWqDapCZ X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Add ChromeOS EC-based charge control as EC subdevice. Signed-off-by: Thomas Weißschuh --- 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 a52d59cc2b1e..dab2bec39dcd 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -87,6 +87,7 @@ static const struct mfd_cell cros_ec_sensorhub_cells[] = { }; static const struct mfd_cell cros_usbpd_charger_cells[] = { + { .name = "cros-charge-control", }, { .name = "cros-usbpd-charger", }, { .name = "cros-usbpd-logger", }, }; -- 2.45.1