About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / hwmon / ibmpowernv


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:53 EST.

1	Kernel Driver IBMPOWERNV
2	========================
3	
4	Supported systems:
5	  * Any recent IBM P servers based on POWERNV platform
6	
7	Author: Neelesh Gupta
8	
9	Description
10	-----------
11	
12	This driver implements reading the platform sensors data like temperature/fan/
13	voltage/power for 'POWERNV' platform.
14	
15	The driver uses the platform device infrastructure. It probes the device tree
16	for sensor devices during the __init phase and registers them with the 'hwmon'.
17	'hwmon' populates the 'sysfs' tree having attribute files, each for a given
18	sensor type and its attribute data.
19	
20	All the nodes in the DT appear under "/ibm,opal/sensors" and each valid node in
21	the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
22	which the driver uses to make an OPAL call to the firmware.
23	
24	Usage notes
25	-----------
26	The driver is built statically with the kernel by enabling the config
27	CONFIG_SENSORS_IBMPOWERNV. It can also be built as module 'ibmpowernv'.
28	
29	Sysfs attributes
30	----------------
31	
32	fanX_input		Measured RPM value.
33	fanX_min		Threshold RPM for alert generation.
34	fanX_fault		0: No fail condition
35				1: Failing fan
36	tempX_input		Measured ambient temperature.
37	tempX_max		Threshold ambient temperature for alert generation.
38	inX_input		Measured power supply voltage
39	inX_fault		0: No fail condition.
40				1: Failing power supply.
41	power1_input		System power consumption (microWatt)
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog