ibmpowernv 1.3 KB

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