Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp443436lqb; Tue, 28 May 2024 23:27:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAQqt6O8+dQ+70P2ZqNCgcUafG4TTwKQNKJD0uDBDzYnhdMIDjNGn9RrR2jBVEvFB7rRByQG3UKKPKU9rPblQDn7SOjC6MnGucOT+Vtw== X-Google-Smtp-Source: AGHT+IFqKqRRYrWFAWQ6ydjHW1BWSM8/pWW6fleW6b69E5lnQH5Vw6Y1wKifBzKS2mbbiQYWamB1 X-Received: by 2002:a17:902:d4cb:b0:1f5:e635:21dd with SMTP id d9443c01a7336-1f5e63523efmr467705ad.32.1716964051670; Tue, 28 May 2024 23:27:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716964051; cv=pass; d=google.com; s=arc-20160816; b=i3ZJan6XiND7cmzHLBjRBK1jWDChEklBiksDVkTYeqJzCqZwrEBLYIoXXG5iwTUIga DNHpsvG9adnN57nLsIe6cIefY3M8ueqGlyDkQ9xIQjEeT2V6Dw7cj25xdVS7YScHGm67 3PYOEs1QGM1V49+cTfMQ48J7ebpJHGP+LCoSc39e3UgtM0tdVfH08/MSPMUe35U+SH5O E9Awn3bANdp3NJFiNuzkPP6sJ+neJuKogAnJRaOMt6bPE3BDPQ5nBOHH4wX9O1fsSsCg 0nWmZ6ekibB5Uki833mZeTQXZzxQqkFH61PvRa1b2NJhPaWOSUyOTIqCTvuuGrpRVaAH Dl5A== 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=CB/H+qzjpj21UpeT2ATe4BeSJjo+UjCoWJOwah+ROq8=; fh=DXvgmAMjYIGPnLJI84AhaEp0+NY1juUXBqeCCSt/eyg=; b=g5zM1PirmDXrDkP4Vb6/YMdxjcxO0qCZZ7ogXo1iTSfAmoXvt91wguIRczIluUXIaJ Gk4Z7E10n8P4qcD81KdanHDBPffqe0SaM+2+vMNDwmsdL48nreRb87g3H5ArpeEnOQj7 QbyjKSenkzRdLu/k3B/SWgzNiEa5ZGpZLJGF31v95/4wg4wGcJxLcTWW2HPlncTelYkB y8aGk7kY6V8qc2sD0w65ShLuqWxA7NUZQLX8JvdClFD0Rxkj6gvXNWV2nVx/GrXf7WZZ c2YY3Ik+HG3MdtjZzhy+5KGjWpNkWm9Ekk2jFhUWnMcMEnVnKmsp2fAPO6fek9wzMfH7 eXWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=mxRI20Ab; 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-193507-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193507-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 d9443c01a7336-1f44c7bfbaesi73620895ad.140.2024.05.28.23.27.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 23:27:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193507-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=mxRI20Ab; 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-193507-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193507-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 22A8D28921C for ; Wed, 29 May 2024 06:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67C2515FD1B; Wed, 29 May 2024 06:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="mxRI20Ab" 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 34F3738DE8; Wed, 29 May 2024 06:27:22 +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=1716964043; cv=none; b=ZIHaraCM2N8hKxyi7coV5EugIisXwCtfAKsZAum99iczggKJEhuauJXpW8XGKM8GSov6Q9V/phF3cNB3dvqvKPCLRsAsTl7/z7x/VD8qDj26RvU80n57Gbm3Gk0wF7Yut5u6wQ3qCV7DWmj4t+X3kNqYF1R8Hwk3LjT1XZgWdLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716964043; c=relaxed/simple; bh=dG6+vHBr5BNz0npKbHGTIBr20hPfJ/e4zMa9XaBnm8s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Yev5ZffkpY+lY57qPyJ6VJPAsS1cp7G0hYYD0E4F8j2p9W49hviTooSHn2wHNsJZYCiVVsMzpVuY7DbOnm39mD6kcfDgsAjpH9oOwGqxkVz3Y5yGyl8StEY82pRLYl8QIqokYoSfZWN0yj7FP9DOpOm5MVECmUmAscYYDBSDZNE= 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=mxRI20Ab; 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=1716964039; bh=dG6+vHBr5BNz0npKbHGTIBr20hPfJ/e4zMa9XaBnm8s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=mxRI20AbKTr+5nqv4YbTPKtN302ncy+R8nfFK18JnghFiTjMFKKcCLfpkKGjuBRVm /3YLF3zPaMbvYlDbyPcsESqO+N3J3sQX0Y7OxOJb3njvZj7aomIUQjbR44wbY3zoMG IjeWsQM8O4JCLrFfTcIW3r7QBQDY1CadUyaeKQZQ= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 29 May 2024 08:27:13 +0200 Subject: [PATCH v4 3/3] mfd: cros_ec: Register hardware monitoring 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: <20240529-cros_ec-hwmon-v4-3-5cdf0c5db50a@weissschuh.net> References: <20240529-cros_ec-hwmon-v4-0-5cdf0c5db50a@weissschuh.net> In-Reply-To: <20240529-cros_ec-hwmon-v4-0-5cdf0c5db50a@weissschuh.net> To: Jean Delvare , Guenter Roeck , Benson Leung , Lee Jones , Tzung-Bi Shih Cc: Guenter Roeck , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, chrome-platform@lists.linux.dev, Dustin Howett , Mario Limonciello , Moritz Fischer , 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=1716964039; l=672; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=dG6+vHBr5BNz0npKbHGTIBr20hPfJ/e4zMa9XaBnm8s=; b=JMv1OZh/Sj3Nld6VzjSeFdwMR4dGvnIOFEc33cEK1nhz0w0y3D3WSrmVMrLQ/w6UIgC1r4U1p eAzwsGqrmWODqgy94p3q+YpW/eHGwwZ89H956xlNia5I2bVtP4Uy6Rw X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Add ChromeOS EC-based hardware monitoring 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..1262d1f8d954 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -130,6 +130,7 @@ static const struct cros_feature_to_cells cros_subdevices[] = { static const struct mfd_cell cros_ec_platform_cells[] = { { .name = "cros-ec-chardev", }, { .name = "cros-ec-debugfs", }, + { .name = "cros-ec-hwmon", }, { .name = "cros-ec-sysfs", }, }; -- 2.45.1