mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
Add a new driver for the Kontron SMARC-sAM67 board management controller. It has two voltage sensors and one temperature sensor. Signed-off-by: Michael Walle <mwalle@kernel.org> Link: https://lore.kernel.org/r/20250912120745.2295115-7-mwalle@kernel.org [groeck: Added sa67 to index.rst] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
42 lines
1.0 KiB
ReStructuredText
42 lines
1.0 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
Kernel driver sa67mcu
|
|
=====================
|
|
|
|
Supported chips:
|
|
|
|
* Kontron sa67mcu
|
|
|
|
Prefix: 'sa67mcu'
|
|
|
|
Datasheet: not available
|
|
|
|
Authors: Michael Walle <mwalle@kernel.org>
|
|
|
|
Description
|
|
-----------
|
|
|
|
The sa67mcu is a board management controller which also exposes a hardware
|
|
monitoring controller.
|
|
|
|
The controller has two voltage and one temperature sensor. The values are
|
|
hold in two 8 bit registers to form one 16 bit value. Reading the lower byte
|
|
will also capture the high byte to make the access atomic. The unit of the
|
|
volatge sensors are 1mV and the unit of the temperature sensor is 0.1degC.
|
|
|
|
Sysfs entries
|
|
-------------
|
|
|
|
The following attributes are supported.
|
|
|
|
======================= ========================================================
|
|
in0_label "VDDIN"
|
|
in0_input Measured VDDIN voltage.
|
|
|
|
in1_label "VDD_RTC"
|
|
in1_input Measured VDD_RTC voltage.
|
|
|
|
temp1_input MCU temperature. Roughly the board temperature.
|
|
======================= ========================================================
|
|
|