From patchwork Tue May 7 13:57:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13657112 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 3DE0215ECF1 for ; Tue, 7 May 2024 13:57:29 +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=1715090252; cv=none; b=CNnNtZLrsmKIIIrHOqXNImFVSV29x3OUikrqAC9zmsY1QfDgSSKguVh9TTf41faEIQQcvQzLFZC/0DlS6gazjTUqCWnftVf6/wufj7Zelif764bS+EEegoLn1N/ZMO0Y+VvqGth7+DoaMJJuDWSFEyEoYxRSo2R4v2ac0fMOBtM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715090252; c=relaxed/simple; bh=mbz66Nhq8rCEi0/koHdR2mvSb3h/Lz/Clxju/H9RWNQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JxDUJl1ng9cmQmvjggPI85d+wnpn0i2iwxosvRmXRmWXBNfusgaSMoT5RHtE+dECy28bGlR67oEkXoP2Hmz7Un9N3HKNrEykLFACJsEA22xi5KUSWuzrR+GNyPF97skbzQLUFDyi4QCkZEtfwB/GQQJouJG9I4vWhEoq140S5Vo= 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=VJYeApVk; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="VJYeApVk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1715090246; bh=mbz66Nhq8rCEi0/koHdR2mvSb3h/Lz/Clxju/H9RWNQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=VJYeApVkC4C0WmQNBZVOvv+86/Vs4OVFPg94AIORbkuysVmQtaKAi04LAuIK3UD9c KhWpQmZ+7SY5qpvsT5gFFaoX7Vb9ouQljdMjV67NWTsWO9kInbvOdiSukSc87/PyJw ul8EEbI5IOV3xljjXehW0pEIyRaUWJFuDWrrEFO0= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 07 May 2024 15:57:25 +0200 Subject: [PATCH 2/2] mfd: cros_ec: Register hardware monitoring subdevice Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240507-cros_ec-hwmon-v1-2-2c47c5ce8e85@weissschuh.net> References: <20240507-cros_ec-hwmon-v1-0-2c47c5ce8e85@weissschuh.net> In-Reply-To: <20240507-cros_ec-hwmon-v1-0-2c47c5ce8e85@weissschuh.net> To: Jean Delvare , Guenter Roeck , Benson Leung , Lee Jones Cc: Guenter Roeck , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, chrome-platform@lists.linux.dev, Dustin Howett , Mario Limonciello , Moritz Fischer , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1715090246; l=662; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=mbz66Nhq8rCEi0/koHdR2mvSb3h/Lz/Clxju/H9RWNQ=; b=2n4pgc0BzRxDFIOuf0OLW+kgF0vpHq5+4NbJyEvR7NayIvmxaonr/GTWdeYAs37GBLtIqehbs hp8wUm1eaJJCOeB8ctQxM128IByFEcetir5u3H+gg9s/e8wNiY8wWYx 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..ca30ca25fbf8 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -131,6 +131,7 @@ static const struct mfd_cell cros_ec_platform_cells[] = { { .name = "cros-ec-chardev", }, { .name = "cros-ec-debugfs", }, { .name = "cros-ec-sysfs", }, + { .name = "cros-ec-hwmon", }, }; static const struct mfd_cell cros_ec_pchg_cells[] = {