요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver emc2305
=====================
Supported chips:
Microchip EMC2305, EMC2303, EMC2302, EMC2301
Prefixes: 'emc2305'
Datasheet: Publicly available at the Microchip website :
https://www.microchip.com/en-us/product/EMC2305
Description:
------------
This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives.
Fan rotation speeds are reported in RPM.
The driver supports the RPM-based PWM control to keep a fan at the desired speed.
The driver provides the possibility to have one common PWM interface for all FANs
or up to the maximum available or configured independent PWMs.
The driver provides the following sysfs interfaces in hwmon subsystem:
================= == ===================================================
fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
================= == ===================================================
sysfs interfaces in thermal subsystem:
================= == ========================================================================
cur_state RW file for the current cooling state of the cooling device (0..max_state)
max_state RO file for the maximum cooling state of the cooling device
================= == ========================================================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
EMC2301/2/3/5 지원 정보
1-15GPL-2.0 문서의 이 드라이버는 Microchip EMC2305, EMC2303, EMC2302, EMC2301을 지원하며 prefix는 `emc2305`입니다. Datasheet는 Microchip의 EMC2305 product page에 공개되어 있습니다.
같은 드라이버가 처리하는 RPM 기반 PWM controller입니다.
Channel 수에 맞춰 tachometer와 PWM을 구성합니다.
.. SPDX-License-Identifier: GPL-2.0
Kernel driver emc2305
=====================
Supported chips:
Microchip EMC2305, EMC2303, EMC2302, EMC2301
Prefixes: 'emc2305'
Datasheet: Publicly available at the Microchip website :
https://www.microchip.com/en-us/product/EMC2305
Description:
------------
독립 PWM fan drive와 RPM 제어
16-22이 드라이버는 Microchip EMC2301/2/3/5 RPM 기반 PWM fan controller를 지원합니다. EMC2305는 서로 독립적으로 제어되는 PWM fan drive를 최대 5개 지원하고 fan 회전 속도를 RPM으로 보고합니다.
RPM 기반 PWM 제어는 fan을 원하는 속도로 유지합니다. 모든 fan이 하나의 공통 PWM interface를 사용하게 하거나, 장치와 구성에서 허용하는 최대 개수까지 독립 PWM interface를 둘 수 있습니다.
공통 또는 독립 interface의 선택입니다.
Tachometer feedback으로 duty cycle을 조절합니다.
This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives.
Fan rotation speeds are reported in RPM.
The driver supports the RPM-based PWM control to keep a fan at the desired speed.
The driver provides the possibility to have one common PWM interface for all FANs
or up to the maximum available or configured independent PWMs.
Hwmon·thermal sysfs ABI
23-36Hwmon subsystem에서 `fan[1-5]_fault`는 TACH1~TACH5 fault indication을 제공하는 읽기 전용 파일이고, `fan[1-5]_input`은 TACH1~TACH5의 RPM 입력을 제공하는 읽기 전용 파일입니다. `pwm[1-5]`는 fan별 목표 duty cycle `0..255`를 읽고 쓰는 파일입니다.
Thermal subsystem에서 `cur_state`는 cooling device의 현재 cooling state `0..max_state`를 읽고 쓰며, `max_state`는 최대 cooling state를 제공하는 읽기 전용 파일입니다.
원문의 두 ASCII 표를 구조화해 보존했습니다.
Fan hardware 상태를 두 subsystem의 ABI로 제공합니다.
The driver provides the following sysfs interfaces in hwmon subsystem:
================= == ===================================================
fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
================= == ===================================================
sysfs interfaces in thermal subsystem:
================= == ========================================================================
cur_state RW file for the current cooling state of the cooling device (0..max_state)
max_state RO file for the maximum cooling state of the cooling device
================= == ========================================================================
요약·해설
emc2305.rst:1-36공통 또는 독립 PWM interface와 tachometer·cooling state attribute를 설명합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.