요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver gsc-hwmon
=======================
Supported chips: Gateworks GSC
Datasheet: http://trac.gateworks.com/wiki/gsc
Author: Tim Harvey <tharvey@gateworks.com>
Description:
------------
This driver supports hardware monitoring for the temperature sensor,
various ADC's connected to the GSC, and optional FAN controller available
on some boards.
Voltage Monitoring
------------------
The voltage inputs are scaled either internally or by the driver depending
on the GSC version and firmware. The values returned by the driver do not need
further scaling. The voltage input labels provide the voltage rail name:
inX_input Measured voltage (mV).
inX_label Name of voltage rail.
Temperature Monitoring
----------------------
Temperatures are measured with 12-bit or 10-bit resolution and are scaled
either internally or by the driver depending on the GSC version and firmware.
The values returned by the driver reflect millidegree Celsius:
tempX_input Measured temperature.
tempX_label Name of temperature input.
PWM Output Control
------------------
The GSC features 1 PWM output that operates in automatic mode where the
PWM value will be scaled depending on 6 temperature boundaries.
The tempeature boundaries are read-write and in millidegree Celsius and the
read-only PWM values range from 0 (off) to 255 (full speed).
Fan speed will be set to minimum (off) when the temperature sensor reads
less than pwm1_auto_point1_temp and maximum when the temperature sensor
equals or exceeds pwm1_auto_point6_temp.
pwm1_auto_point[1-6]_pwm PWM value.
pwm1_auto_point[1-6]_temp Temperature boundary.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Gateworks GSC 지원 범위
1-17GPL-2.0 드라이버 `gsc-hwmon`은 Gateworks GSC의 temperature sensor, GSC에 연결된 여러 ADC, 일부 board의 optional fan controller를 지원합니다. Datasheet는 `http://trac.gateworks.com/wiki/gsc`에 있고 저자는 Tim Harvey입니다.
Board와 firmware에 따라 제공되는 기능입니다.
Firmware version과 board 기능에 맞춰 channel을 엽니다.
.. SPDX-License-Identifier: GPL-2.0
Kernel driver gsc-hwmon
=======================
Supported chips: Gateworks GSC
Datasheet: http://trac.gateworks.com/wiki/gsc
Author: Tim Harvey <tharvey@gateworks.com>
Description:
------------
This driver supports hardware monitoring for the temperature sensor,
various ADC's connected to the GSC, and optional FAN controller available
on some boards.
전압·온도 scaling
18-39Voltage input은 GSC version과 firmware에 따라 내부 또는 driver에서 scaling됩니다. 드라이버 반환값은 추가 scaling이 필요 없습니다. `inX_input`은 mV 단위 measured voltage이고 `inX_label`은 voltage rail 이름입니다.
Temperature는 12-bit 또는 10-bit resolution으로 측정되고 GSC version·firmware에 따라 내부 또는 driver에서 scaling됩니다. 반환값은 millidegree Celsius입니다. `tempX_input`은 measured temperature, `tempX_label`은 temperature input 이름입니다.
Driver가 완전히 scaling한 값을 label과 함께 제공합니다.
Hardware 또는 driver 중 한 곳에서 보정된 최종 값을 반환합니다.
Voltage Monitoring
------------------
The voltage inputs are scaled either internally or by the driver depending
on the GSC version and firmware. The values returned by the driver do not need
further scaling. The voltage input labels provide the voltage rail name:
inX_input Measured voltage (mV).
inX_label Name of voltage rail.
Temperature Monitoring
----------------------
Temperatures are measured with 12-bit or 10-bit resolution and are scaled
either internally or by the driver depending on the GSC version and firmware.
The values returned by the driver reflect millidegree Celsius:
tempX_input Measured temperature.
tempX_label Name of temperature input.
6단계 automatic PWM
40-53GSC에는 automatic mode로 동작하는 PWM output 1개가 있고 6개 temperature boundary에 따라 PWM 값을 scaling합니다. Temperature boundary는 millidegree Celsius 단위 읽기·쓰기 값이고 PWM 값은 읽기 전용 0(off)~255(full speed)입니다.
Temperature sensor 값이 `pwm1_auto_point1_temp`보다 낮으면 fan speed는 minimum off가 되고, `pwm1_auto_point6_temp` 이상이면 maximum이 됩니다. `pwm1_auto_point[1-6]_pwm`은 PWM 값, `pwm1_auto_point[1-6]_temp`는 temperature boundary입니다.
6개 온도 경계에서 PWM curve를 형성합니다.
현재 온도를 경계 구간에 mapping해 output을 정합니다.
PWM Output Control
------------------
The GSC features 1 PWM output that operates in automatic mode where the
PWM value will be scaled depending on 6 temperature boundaries.
The tempeature boundaries are read-write and in millidegree Celsius and the
read-only PWM values range from 0 (off) to 255 (full speed).
Fan speed will be set to minimum (off) when the temperature sensor reads
less than pwm1_auto_point1_temp and maximum when the temperature sensor
equals or exceeds pwm1_auto_point6_temp.
pwm1_auto_point[1-6]_pwm PWM value.
pwm1_auto_point[1-6]_temp Temperature boundary.
요약·해설
gsc-hwmon.rst:1-53Version·firmware별 scaling을 driver가 흡수하고 6개 온도 경계로 fan을 제어합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.