xgene-hwmon.rst 770 Bytes
Newer Older
hotran's avatar
hotran committed
1
Kernel driver xgene-hwmon
2
=========================
hotran's avatar
hotran committed
3 4

Supported chips:
5

hotran's avatar
hotran committed
6 7 8 9 10 11 12 13 14 15 16 17 18
 * 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
19 20 21
      - SoC on-die temperature in milli-degree C
      - Alarm when high/over temperature occurs

hotran's avatar
hotran committed
22
  * Power
23 24
      - CPU power in uW
      - IO power in uW
hotran's avatar
hotran committed
25 26 27 28

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

29 30 31 32 33 34 35 36
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)