← Documents Documentation/hwmon/tc654.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver tc654

TC654·TC655의 팬 RPM 입력 2개와 PWM/Vin 선택형 팬 출력을 설명합니다.

Source pathDocumentation/hwmon/tc654.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

tc654.rst:1-34

TC654 계열은 팬 입력 두 개와 PWM 출력 하나를 제공하며 `pwm1_mode`가 출력 형식이 아니라 PWM 제어 소스를 선택합니다.

문서 개요
항목
SourceDocumentation/hwmon/tc654.rst
분량34 source lines
팬 입력2
PWM 출력1

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
장치 결합팬 입력 등록`pwm1_mode` 확인`pwm1` 또는 Vin 선택PWM 출력 구동

장치 초기화부터 측정값 제공까지의 핵심 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Kernel driver tc654
2 ===================
3
4 Supported chips:
5
6 * Microchip TC654 and TC655
7
8 Prefix: 'tc654'
9 Datasheet: http://ww1.m
10 icrochip.com/downloads/en/DeviceDoc/20001734C.pdf
11
12 Authors:
13 - Chris Packham <chris.packham@alliedtelesis.co.nz>
14 - Masahiko Iwamoto <iwamoto@allied-telesis.co.jp>
15
16 Description
17 -----------
18 This driver implements support for the Microchip TC654 and TC655.
19
20 The TC654 uses the 2-wire interface compatible with the SMBUS 2.0
21 specification. The TC654 has two (2) inputs for measuring fan RPM and
22 one (1) PWM output which can be used for fan control.
23
24 Configuration Notes
25 -------------------
26 Ordinarily the pwm1_mode ABI is used for controlling the pwm output
27 mode. However, for this chip the output is always pwm, and the
28 pwm1_mode determines if the pwm output is controlled via the pwm1 value
29 or via the Vin analog input.
30
31
32 Setting pwm1_mode to 1 will cause the pwm output to be driven based on
33 the pwm1 value. Setting pwm1_mode to 0 will cause the pwm output to be
34 driven based on the Vin input.
35

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

지원 칩과 작성자

1-15

`tc654` 드라이버는 Microchip TC654와 TC655를 지원하며 접두사는 `tc654`입니다. 데이터시트 URL은 원문에서 두 줄로 나뉘어 있으므로 해당 줄 구조를 영어 원문에 그대로 보존했습니다.

작성자는 Allied Telesis의 Chris Packham과 Masahiko Iwamoto입니다.

TC654 지원 정보
접두사인터페이스
Microchip TC654tc6542-wire / SMBus 2.0 호환
Microchip TC655tc6542-wire / SMBus 2.0 호환

동일 드라이버가 지원하는 두 칩의 식별 정보를 정리했습니다.

TC654 드라이버 결합
TC654 또는 TC655 장치 생성`tc654` 드라이버 결합2선 인터페이스 초기화팬 입력·PWM 출력 등록hwmon 속성 제공

장치 식별부터 hwmon 등록까지의 흐름입니다.

Kernel driver tc654
===================

Supported chips:

  * Microchip TC654 and TC655

    Prefix: 'tc654'
    Datasheet: http://ww1.m
    icrochip.com/downloads/en/DeviceDoc/20001734C.pdf

Authors:
      - Chris Packham <chris.packham@alliedtelesis.co.nz>
      - Masahiko Iwamoto <iwamoto@allied-telesis.co.jp>

팬 입력과 pwm1_mode의 특수 의미

16-34

이 드라이버는 Microchip TC654와 TC655를 지원합니다. TC654는 SMBus 2.0 명세와 호환되는 2선 인터페이스를 사용하며, 팬 RPM 측정 입력 2개와 팬 제어에 사용할 수 있는 PWM 출력 1개를 갖습니다.

일반적으로 `pwm1_mode` ABI는 PWM 출력 방식을 제어합니다. 그러나 이 칩의 출력은 항상 PWM입니다. 여기서 `pwm1_mode`는 출력을 `pwm1` 값으로 제어할지 `Vin` 아날로그 입력으로 제어할지를 정합니다.

`pwm1_mode`를 `1`로 설정하면 `pwm1` 값에 따라 PWM 출력을 구동합니다. `0`으로 설정하면 `Vin` 입력에 따라 구동합니다.

TC654 제어 자원
자원의미
팬 RPM 입력2두 팬의 속도 측정
PWM 출력1팬 제어
`pwm1_mode = 1`-`pwm1` 값 기반 출력
`pwm1_mode = 0`-`Vin` 아날로그 입력 기반 출력

팬 측정과 PWM 제어 자원 및 모드 의미입니다.

TC654 PWM 소스 선택
`pwm1_mode` 읽기값이 1이면 `pwm1` 선택값이 0이면 `Vin` 선택선택한 값으로 PWM 듀티 결정단일 PWM 출력 구동

출력 형식은 PWM으로 고정되고 제어 소스만 바뀝니다.

Description
-----------
This driver implements support for the Microchip TC654 and TC655.

The TC654 uses the 2-wire interface compatible with the SMBUS 2.0
specification. The TC654 has two (2) inputs for measuring fan RPM and
one (1) PWM output which can be used for fan control.

Configuration Notes
-------------------
Ordinarily the pwm1_mode ABI is used for controlling the pwm output
mode.  However, for this chip the output is always pwm, and the
pwm1_mode determines if the pwm output is controlled via the pwm1 value
or via the Vin analog input.


Setting pwm1_mode to 1 will cause the pwm output to be driven based on
the pwm1 value. Setting pwm1_mode to 0 will cause the pwm output to be
driven based on the Vin input.