[PATCH 0/2] Enable sensors support for the Congatec Board Controller

Thomas Richard posted 2 patches 2 weeks, 5 days ago
There is a newer version of this series
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(+)
[PATCH 0/2] Enable sensors support for the Congatec Board Controller
Posted by Thomas Richard 2 weeks, 5 days ago
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>