[PATCH v4 2/2] mfd: cgbc: add a hwmon cell
From: Thomas Richard
Date: Mon Feb 03 2025 - 06:02:38 EST
The Board Controller has some internal sensors.
Add a hwmon cell for the cgbc-hwmon driver which adds support for
temperature, voltage, current and fan sensors.
Signed-off-by: Thomas Richard <thomas.richard@xxxxxxxxxxx>
---
drivers/mfd/cgbc-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/cgbc-core.c b/drivers/mfd/cgbc-core.c
index 85283c8dde25..0460e4e3f3c5 100644
--- a/drivers/mfd/cgbc-core.c
+++ b/drivers/mfd/cgbc-core.c
@@ -236,6 +236,7 @@ static struct mfd_cell cgbc_devs[] = {
{ .name = "cgbc-gpio" },
{ .name = "cgbc-i2c", .id = 1 },
{ .name = "cgbc-i2c", .id = 2 },
+ { .name = "cgbc-hwmon" },
};
static int cgbc_map(struct cgbc_device_data *cgbc)
--
2.39.5