Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1840185lqo; Sun, 19 May 2024 00:51:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrWbA/+yDsBEoz+niXt2JUmMf1I4i9XeDk4Bn6CMKXFnmVIQD/dEcGbNuFTsiQ+jTO4msT937jhyQ7b1Hs+lQzyNxlBcbgPk/hHhPYmw== X-Google-Smtp-Source: AGHT+IGciaETXCX9Px7p8lpoLSfyv3yaiujssfl5NlQD5XsIBJavfWDvxPAhXX+5Lu+EsCSkxU3j X-Received: by 2002:a05:6214:5d05:b0:69b:2523:fcd3 with SMTP id 6a1803df08f44-6a16825d79dmr307571846d6.60.1716105073142; Sun, 19 May 2024 00:51:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716105073; cv=pass; d=google.com; s=arc-20160816; b=MO3OG7tWdheGeFiUBtzqD+5AFm3jvLC4iqg7xbKEXnzZhb/+1+eaqvVWpya5LsVQnK 1E6Mu+NsbpDtYKj1eXJgwl2+juKy6DTKhX5ege3IZ8iwk7XfkvFKNngYVJqDgN/h2ssj sh0xa8YrxoNUnLcULT5FL7JR0f53cHjoMhqgtl2erTn4vhEGyiTlZ6aTjTEz/BZnkFjb eis2km43XSf7yjDgNj0MdP+tzSN1J3dhUdAhprwPFts43l4fuIZYFbG8W7kxnD+Z8dfq G0w9l7TueKOp5VCxpRwvP0LZl8Lo7DTypRmCgi+wBYm1fOhsN8iG7oUG6QTpihDDzzr6 Mbaw== 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=JqWg60UUzCsIsmdLIfcIpJDPoZXzAzcruoDtuYeflM4=; fh=fjKr+z1dbCqSEb/lVi2I7saIPknUoRfIeC3fWtKjGa8=; b=F/bd3SyP8ArVuVNQi2WP0s+w87hBssi95HSbM4bd97+Li1lpbQ5Rd/PJq/KQv8VkUf 7UyypEHGXH9I3fsNcn/5sz2g3X7BCtPna33mZMtzHpJu89HpGDdOwjo1Wx9BI99Baa3o SxGbwnw9t9i9+bD+U1G0Kv6Q7TQJxkVWU1ICCeNkJu91cn5c+xYTWgiRiBvxFOW7HOpG ojNBS0jcNKt2MN/+yOkvtJjNIT24G2Hob2A5t1FKsGzF7bhs5VtGJ+16T3QB0BWHX8SY cavf2E0so1/evulChob+ZdPissIiA+YUftoPOZ766D+EGcE64S07lgg3Wgzhk25Ic5Qq qiQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="N/q3aO5L"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-183044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183044-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f29ab8asi229926046d6.236.2024.05.19.00.51.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 00:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="N/q3aO5L"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-183044-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183044-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D8CAC1C20916 for ; Sun, 19 May 2024 07:51:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80B661C69A; Sun, 19 May 2024 07:50:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="N/q3aO5L" 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 95A6D14006; Sun, 19 May 2024 07:50:48 +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=1716105051; cv=none; b=CXw90NIiw6cApBOpV5y1VIgvvoO5wEIhRMW241axGLeZDl/rScFeMWe/kWInv4aQ+wielmi6dLu6D9IffszRW/afeIgoU7xyloJydm40PKkZq2LLF3TsB/KEokUz7gn5Wq7rxx6GkwR+3ItFtO/rTCuCUky9ipDkXzr56JHEbQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716105051; c=relaxed/simple; bh=jkN9s/UCfqcwcO60sG82AdVMCLkIhP/ZxGRMxoGJvNY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BSSeq+FeEgxpVdzptd3X4zPh+Ff/5gSyaVNHsPI8XgEMchdPKJFa+GTsDdGy3PWY8ThOFdZBfghgTqUMdeDXwBwHhvoC/McRNYlsEeRPuYYAwwvr7KEw2v2nry007W07tF78i5f8BAd+yNE9STE8m8Ar9k5E0Xohc7wBf4LBE34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none 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=N/q3aO5L; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none 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=1716105046; bh=jkN9s/UCfqcwcO60sG82AdVMCLkIhP/ZxGRMxoGJvNY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=N/q3aO5L67HYc0Qxj5I/En2FlSEjRWleBkFJgkdEvhG7K8aToJy+IZai/ddJTxGhU +mlvuaPa9dJxjh7VAqoOohCAlTr8xOoNfhGoKcUfKXzNVSmzYnpRsyIoGvH9chGG2Q uufYH9vgiLvklNEyO0GqE5Rsz4h4oaO8u4Egrspk= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Sun, 19 May 2024 09:50:21 +0200 Subject: [PATCH 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: <20240519-cros_ec-charge-control-v1-3-baf305dc79b8@weissschuh.net> References: <20240519-cros_ec-charge-control-v1-0-baf305dc79b8@weissschuh.net> In-Reply-To: <20240519-cros_ec-charge-control-v1-0-baf305dc79b8@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 , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716105045; l=701; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=jkN9s/UCfqcwcO60sG82AdVMCLkIhP/ZxGRMxoGJvNY=; b=d/Xu0dphsEUz2K3zV15gzzcBWA+HAFvbHnpG9ZKAeDysndbIkVaCkAdx7xSdDSYr9PV2A5L34 lBGrnU4Oo1FDRyuleOw+i1p4Ka4EIq1jGRdSPSMiYS5y44Ncdf308KG 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..c571cbc642c7 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -89,6 +89,7 @@ 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", }, + { .name = "cros-charge-control", }, }; static const struct mfd_cell cros_usbpd_notify_cells[] = { -- 2.45.1