]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mfd: cros_ec: Register hardware monitoring subdevice
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 29 May 2024 06:27:13 +0000 (08:27 +0200)
committerLee Jones <lee@kernel.org>
Thu, 4 Jul 2024 16:08:02 +0000 (17:08 +0100)
Add ChromeOS EC-based hardware monitoring as EC subdevice.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240529-cros_ec-hwmon-v4-3-5cdf0c5db50a@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cros_ec_dev.c

index 8929adf33e14f3428e864df37742d068a7da757e..e2aae89186795cf422590ff851b80ffe91f1ece7 100644 (file)
@@ -149,6 +149,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", },
 };