Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp535494lqh; Tue, 7 May 2024 06:57:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMxFyr2+BWA4AhBMX0/i/erdB35lrN/dY+/N8DbUnTPvN0WDN6kSKwiOi+R1z9dJrnyRpdEAX7pJ0uZFfyfoo87hOG7zJaf5bKvmgRrg== X-Google-Smtp-Source: AGHT+IE6pnEl6Hfcj0JteKCYof4tQ9Yy3okyKXa6av+CeLp2aqQZOQkm7SaMjw/aSqhOfEhisvzy X-Received: by 2002:a05:620a:bca:b0:792:8fe0:5df0 with SMTP id s10-20020a05620a0bca00b007928fe05df0mr10894012qki.7.1715090266836; Tue, 07 May 2024 06:57:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715090266; cv=pass; d=google.com; s=arc-20160816; b=lDS+M0vuEDhGvij+rqUBi2c3xmUvSSKGbepFklHM27ludqWsC8FC+eadOHnpYYgTw4 kodFA4LXFO55YX1xgP6PSuEhy831iooHJTBZd2dm0er19JSxne54txDDqEMhhPM4AMkx vY2uNzGGdSJ/d0MVNiQ5TfT2iGTchOcBWD1p9KUFoPMsH4+in+kiHdaEQw9MEZJnQRP5 Izl6gzECHcwGvNa2zUZ4kWprYuDBtR3C6zZv8NU1Na4p4YHxK2WkGWv1c/T966yUNTBz rjMSJdjT9NVVMYdeLkH6I2bQIJ+r4eQ8LMZ/7DmgCdg9rrXSHMOWI8e1LpZpw606F2wP y7vg== 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=Rel5MoepHO7u17rDy5jaoMjuuUBZEm5p6GT5oSheV7o=; fh=NZ86eiPRp+qjgKyll3LKq9JMG2TwcLvQfg5HxL1Y/Ds=; b=GKa0wqFBR8e/B8WnCPTZY7g+XXCDb8aDc0t0uBnywNYKGdAtEL+lOoM7q9Ni8s12ww dcsVWN+nasjdnffquMDY734pRmpzclRgslqSiltl/uFI753XDctfzLrYWiiCqbtb07p0 9w5lXkiK4gJfaDKy0amLnnjpQHEbxPJk7nZSdscchfkI0btIUUCDRExOg9zwHr9oUklU 3dEe94r6L8NtqmCf5k1lRg9wSmgf+cs9G0Irfj7v1gtQ1TcZXacBjCInwCaxuxqwTrY7 EFzlpX8MJ867rpLoX6GZlB9XMntu8HIct1rmYsL6cPHpFBcTZOwiRU5gFX91/b0S9cra PKJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=VJYeApVk; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-171486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171486-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i2-20020a37c202000000b007929a863267si4363181qkm.502.2024.05.07.06.57.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 06:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=VJYeApVk; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-171486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171486-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 911E81C22189 for ; Tue, 7 May 2024 13:57:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06A3F15F3E6; Tue, 7 May 2024 13:57:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="VJYeApVk" 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 6017015ECC1; 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 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: 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: <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[] = { -- 2.45.0