xref: /openbmc/linux/Documentation/ABI/testing/sysfs-firmware-opal-sensor-groups (revision ead5d1f4d877e92c051e1a1ade623d0d30e71619)
1*32377bd2SShilpasri G BhatWhat:		/sys/firmware/opal/sensor_groups
2*32377bd2SShilpasri G BhatDate:		August 2017
3*32377bd2SShilpasri G BhatContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
4*32377bd2SShilpasri G BhatDescription:	Sensor groups directory for POWER9 powernv servers
5*32377bd2SShilpasri G Bhat
6*32377bd2SShilpasri G Bhat		Each folder in this directory contains a sensor group
7*32377bd2SShilpasri G Bhat		which are classified based on type of the sensor
8*32377bd2SShilpasri G Bhat		like power, temperature, frequency, current, etc. They
9*32377bd2SShilpasri G Bhat		can also indicate the group of sensors belonging to
10*32377bd2SShilpasri G Bhat		different owners like CSM, Profiler, Job-Scheduler
11*32377bd2SShilpasri G Bhat
12*32377bd2SShilpasri G BhatWhat:		/sys/firmware/opal/sensor_groups/<sensor_group_name>/clear
13*32377bd2SShilpasri G BhatDate:		August 2017
14*32377bd2SShilpasri G BhatContact:	Linux for PowerPC mailing list <linuxppc-dev@ozlabs.org>
15*32377bd2SShilpasri G BhatDescription:	Sysfs file to clear the min-max of all the sensors
16*32377bd2SShilpasri G Bhat		belonging to the group.
17*32377bd2SShilpasri G Bhat
18*32377bd2SShilpasri G Bhat		Writing 1 to this file will clear the minimum and
19*32377bd2SShilpasri G Bhat		maximum values of all the sensors in the group.
20*32377bd2SShilpasri G Bhat		In POWER9, the min-max of a sensor is the historical minimum
21*32377bd2SShilpasri G Bhat		and maximum value of the sensor cached by OCC.
22