swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 08332893e37af6ae779367e78e444f8f9571511d authored by Linus Torvalds on 22 May 2017, 02:30:23 UTC
Linux 4.12-rc2
Tip revision: 0833289
xgene-hwmon
Kernel driver xgene-hwmon
========================

Supported chips:
 * APM X-Gene SoC

Description
-----------

This driver adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
For device tree, it is the standard DT mailbox.
For ACPI, it is the PCC mailbox.

The following sensors are supported

  * Temperature
    - SoC on-die temperature in milli-degree C
    - Alarm when high/over temperature occurs
  * Power
    - CPU power in uW
    - IO power in uW

sysfs-Interface
---------------

temp0_input - SoC on-die temperature (milli-degree C)
temp0_critical_alarm - An 1 would indicates on-die temperature exceeded threshold
power0_input - CPU power in (uW)
power1_input - IO power in (uW)
back to top