Skip to content

Commit ddbc194

Browse files
thom24lag-linaro
authored andcommitted
mfd: cgbc: Add support for HWMON
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@bootlin.com> Link: https://lore.kernel.org/r/20250203-congatec-board-controller-hwmon-v4-2-ff6c76a4662c@bootlin.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent b904243 commit ddbc194

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/mfd/cgbc-core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ static struct mfd_cell cgbc_devs[] = {
236236
{ .name = "cgbc-gpio" },
237237
{ .name = "cgbc-i2c", .id = 1 },
238238
{ .name = "cgbc-i2c", .id = 2 },
239+
{ .name = "cgbc-hwmon" },
239240
};
240241

241242
static int cgbc_map(struct cgbc_device_data *cgbc)

0 commit comments

Comments
 (0)