Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable sensors support for the Congatec Board Controller
@ 2024-11-04 15:48 Thomas Richard
  2024-11-04 15:48 ` [PATCH 1/2] hwmon: Add Congatec Board Controller monitoring driver Thomas Richard
  2024-11-04 15:48 ` [PATCH 2/2] mfd: cgbc: add a hwmon cell Thomas Richard
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Richard @ 2024-11-04 15:48 UTC (permalink / raw)
  To: Jean Delvare, Guenter Roeck, Lee Jones
  Cc: linux-kernel, linux-hwmon, thomas.petazzoni, blake.vermeer,
	Thomas Richard

The Congatec Board Controller has some voltage, current, temperature
and fan sensors.
This series adds an hwmon driver to enable the support.

This series is based on linux-next (commit
1ffec08567f426a1c593e038cadc61bdc38cb467) as the MFD driver is not yet
available in the main tree.

The sensors support has been tested on the conga-SA7 board with a
conga-SEVAL board.

Note that the Board Controller returns two unknown sensors, which causes
two warnings. These unknown sensors are not defined in the driver provided
by Congatec.

cgbc-hwmon cgbc-hwmon: Board Controller returned an unknown sensor (type=2, id=17), ignore it
cgbc-hwmon cgbc-hwmon: Board Controller returned an unknown sensor (type=1, id=10), ignore it

Best Regards,

Thomas

$ sensors
cgbc_hwmon-isa-0000
Adapter: ISA adapter
DC Runtime Voltage:    4.93 V
Chipset Temperature:  +48.0 C
Board Temperature:    +44.0 C

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---
Thomas Richard (2):
      hwmon: Add Congatec Board Controller monitoring driver
      mfd: cgbc: add a hwmon cell

 MAINTAINERS                |   1 +
 drivers/hwmon/Kconfig      |   9 ++
 drivers/hwmon/Makefile     |   1 +
 drivers/hwmon/cgbc-hwmon.c | 287 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/cgbc-core.c    |   1 +
 5 files changed, 299 insertions(+)
---
base-commit: 1ffec08567f426a1c593e038cadc61bdc38cb467
change-id: 20240809-congatec-board-controller-hwmon-e9e63d957d33

Best regards,
-- 
Thomas Richard <thomas.richard@bootlin.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-06 15:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] mfd: cgbc: add a hwmon cell Thomas Richard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox