gsc-hwmon.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .. SPDX-License-Identifier: GPL-2.0
  2. Kernel driver gsc-hwmon
  3. =======================
  4. Supported chips: Gateworks GSC
  5. Datasheet: http://trac.gateworks.com/wiki/gsc
  6. Author: Tim Harvey <tharvey@gateworks.com>
  7. Description:
  8. ------------
  9. This driver supports hardware monitoring for the temperature sensor,
  10. various ADC's connected to the GSC, and optional FAN controller available
  11. on some boards.
  12. Voltage Monitoring
  13. ------------------
  14. The voltage inputs are scaled either internally or by the driver depending
  15. on the GSC version and firmware. The values returned by the driver do not need
  16. further scaling. The voltage input labels provide the voltage rail name:
  17. inX_input Measured voltage (mV).
  18. inX_label Name of voltage rail.
  19. Temperature Monitoring
  20. ----------------------
  21. Temperatures are measured with 12-bit or 10-bit resolution and are scaled
  22. either internally or by the driver depending on the GSC version and firmware.
  23. The values returned by the driver reflect millidegree Celcius:
  24. tempX_input Measured temperature.
  25. tempX_label Name of temperature input.
  26. PWM Output Control
  27. ------------------
  28. The GSC features 1 PWM output that operates in automatic mode where the
  29. PWM value will be scalled depending on 6 temperature boundaries.
  30. The tempeature boundaries are read-write and in millidegree Celcius and the
  31. read-only PWM values range from 0 (off) to 255 (full speed).
  32. Fan speed will be set to minimum (off) when the temperature sensor reads
  33. less than pwm1_auto_point1_temp and maximum when the temperature sensor
  34. equals or exceeds pwm1_auto_point6_temp.
  35. pwm1_auto_point[1-6]_pwm PWM value.
  36. pwm1_auto_point[1-6]_temp Temperature boundary.