Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver gsc-hwmon
0004 =======================
0005 
0006 Supported chips: Gateworks GSC
0007 Datasheet: http://trac.gateworks.com/wiki/gsc
0008 Author: Tim Harvey <tharvey@gateworks.com>
0009 
0010 Description:
0011 ------------
0012 
0013 This driver supports hardware monitoring for the temperature sensor,
0014 various ADC's connected to the GSC, and optional FAN controller available
0015 on some boards.
0016 
0017 
0018 Voltage Monitoring
0019 ------------------
0020 
0021 The voltage inputs are scaled either internally or by the driver depending
0022 on the GSC version and firmware. The values returned by the driver do not need
0023 further scaling. The voltage input labels provide the voltage rail name:
0024 
0025 inX_input                  Measured voltage (mV).
0026 inX_label                  Name of voltage rail.
0027 
0028 
0029 Temperature Monitoring
0030 ----------------------
0031 
0032 Temperatures are measured with 12-bit or 10-bit resolution and are scaled
0033 either internally or by the driver depending on the GSC version and firmware.
0034 The values returned by the driver reflect millidegree Celcius:
0035 
0036 tempX_input                Measured temperature.
0037 tempX_label                Name of temperature input.
0038 
0039 
0040 PWM Output Control
0041 ------------------
0042 
0043 The GSC features 1 PWM output that operates in automatic mode where the
0044 PWM value will be scalled depending on 6 temperature boundaries.
0045 The tempeature boundaries are read-write and in millidegree Celcius and the
0046 read-only PWM values range from 0 (off) to 255 (full speed).
0047 Fan speed will be set to minimum (off) when the temperature sensor reads
0048 less than pwm1_auto_point1_temp and maximum when the temperature sensor
0049 equals or exceeds pwm1_auto_point6_temp.
0050 
0051 pwm1_auto_point[1-6]_pwm       PWM value.
0052 pwm1_auto_point[1-6]_temp      Temperature boundary.
0053