mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:48:56 +07:00
ea98b29a05
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Power Interface (SCPI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the hwmon sysfs interface. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Cc: Sudeep Holla <sudeep.holla@arm.com>
33 lines
926 B
Plaintext
33 lines
926 B
Plaintext
Kernel driver scpi-hwmon
|
|
========================
|
|
|
|
Supported chips:
|
|
* Chips based on ARM System Control Processor Interface
|
|
Addresses scanned: -
|
|
Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html
|
|
|
|
Author: Punit Agrawal <punit.agrawal@arm.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver supports hardware monitoring for SoC's based on the ARM
|
|
System Control Processor (SCP) implementing the System Control
|
|
Processor Interface (SCPI). The following sensor types are supported
|
|
by the SCP -
|
|
|
|
* temperature
|
|
* voltage
|
|
* current
|
|
* power
|
|
|
|
The SCP interface provides an API to query the available sensors and
|
|
their values which are then exported to userspace by this driver.
|
|
|
|
Usage Notes
|
|
-----------
|
|
|
|
The driver relies on device tree node to indicate the presence of SCPI
|
|
support in the kernel. See
|
|
Documentation/devicetree/bindings/arm/arm,scpi.txt for details of the
|
|
devicetree node. |