Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Thomas Richard <thomas.richard@bootlin.com>
To: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,  Lee Jones <lee@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
	 thomas.petazzoni@bootlin.com, blake.vermeer@keysight.com,
	 Thomas Richard <thomas.richard@bootlin.com>
Subject: [PATCH 2/2] mfd: cgbc: add a hwmon cell
Date: Mon, 04 Nov 2024 16:48:08 +0100	[thread overview]
Message-ID: <20241104-congatec-board-controller-hwmon-v1-2-871e4cd59d8e@bootlin.com> (raw)
In-Reply-To: <20241104-congatec-board-controller-hwmon-v1-0-871e4cd59d8e@bootlin.com>

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>
---
 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 93004a6b29c1..7cc2872235ac 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


      parent reply	other threads:[~2024-11-04 15:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 15:48 [PATCH 0/2] Enable sensors support for the Congatec Board Controller Thomas Richard
2024-11-04 15:48 ` [PATCH 1/2] hwmon: Add Congatec Board Controller monitoring driver Thomas Richard
2024-11-04 16:36   ` Guenter Roeck
2024-11-06 13:46     ` Thomas Richard
2024-11-06 15:14       ` Guenter Roeck
2024-11-06 15:27         ` Thomas Richard
2024-11-04 15:48 ` Thomas Richard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241104-congatec-board-controller-hwmon-v1-2-871e4cd59d8e@bootlin.com \
    --to=thomas.richard@bootlin.com \
    --cc=blake.vermeer@keysight.com \
    --cc=jdelvare@suse.com \
    --cc=lee@kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox