Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver xgene-hwmon
0002 =========================
0003 
0004 Supported chips:
0005 
0006  * APM X-Gene SoC
0007 
0008 Description
0009 -----------
0010 
0011 This driver adds hardware temperature and power reading support for
0012 APM X-Gene SoC using the mailbox communication interface.
0013 For device tree, it is the standard DT mailbox.
0014 For ACPI, it is the PCC mailbox.
0015 
0016 The following sensors are supported
0017 
0018   * Temperature
0019       - SoC on-die temperature in milli-degree C
0020       - Alarm when high/over temperature occurs
0021 
0022   * Power
0023       - CPU power in uW
0024       - IO power in uW
0025 
0026 sysfs-Interface
0027 ---------------
0028 
0029 temp0_input
0030         - SoC on-die temperature (milli-degree C)
0031 temp0_critical_alarm
0032         - An 1 would indicates on-die temperature exceeded threshold
0033 power0_input
0034         - CPU power in (uW)
0035 power1_input
0036         - IO power in (uW)