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

Linux 6.18.37 · Hardware Monitoring

Kernel driver emc2305

EMC2301/2/3/5의 최대 5채널 RPM PWM과 hwmon·thermal ABI입니다.

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

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

1. 요약·해설

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

요약·해설

emc2305.rst:1-36

공통 또는 독립 PWM interface와 tachometer·cooling state attribute를 설명합니다.

문서 개요
항목
SourceDocumentation/hwmon/emc2305.rst
분량36 source lines
Fan drive최대 5개
PWM range0..255

원문 분량과 핵심 범위입니다.

핵심 흐름
Model 확인Tachometer 등록RPM feedback 제어Thermal state 게시

장치 동작의 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver emc2305
4 =====================
5
6 Supported chips:
7 Microchip EMC2305, EMC2303, EMC2302, EMC2301
8
9 Prefixes: 'emc2305'
10
11 Datasheet: Publicly available at the Microchip website :
12 https://www.microchip.com/en-us/product/EMC2305
13
14 Description:
15 ------------
16 This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller.
17 The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives.
18 Fan rotation speeds are reported in RPM.
19 The driver supports the RPM-based PWM control to keep a fan at the desired speed.
20 The driver provides the possibility to have one common PWM interface for all FANs
21 or up to the maximum available or configured independent PWMs.
22
23 The driver provides the following sysfs interfaces in hwmon subsystem:
24
25 ================= == ===================================================
26 fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication
27 fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM)
28 pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
29 ================= == ===================================================
30
31 sysfs interfaces in thermal subsystem:
32
33 ================= == ========================================================================
34 cur_state RW file for the current cooling state of the cooling device (0..max_state)
35 max_state RO file for the maximum cooling state of the cooling device
36 ================= == ========================================================================
37

3. 한국어 전문 번역

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

EMC2301/2/3/5 지원 정보

1-15

GPL-2.0 문서의 이 드라이버는 Microchip EMC2305, EMC2303, EMC2302, EMC2301을 지원하며 prefix는 `emc2305`입니다. Datasheet는 Microchip의 EMC2305 product page에 공개되어 있습니다.

EMC230x metadata
항목
지원 chipEMC2301, EMC2302, EMC2303, EMC2305
Prefixemc2305
LicenseGPL-2.0
DatasheetMicrochip EMC2305 product page

같은 드라이버가 처리하는 RPM 기반 PWM controller입니다.

EMC230x 등록
EMC230x model 확인가용 fan channel 결정PWM interface 구성Hwmon·thermal interface 등록

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를 둘 수 있습니다.

EMC2305 PWM 구성
구성PWM interfaceFan drive
공통1개 공유구성된 모든 fan
독립최대 5개Fan별 제어
FeedbackRPM목표 속도 유지

공통 또는 독립 interface의 선택입니다.

RPM PWM 제어
목표 fan speed 지정Tachometer RPM 읽기목표와 측정값 비교PWM duty cycle 조정목표 RPM 유지

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-36

Hwmon 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를 제공하는 읽기 전용 파일입니다.

EMC2305 sysfs
SubsystemAttribute권한의미
hwmonfan[1-5]_faultROTACH1-TACH5 fault indication
hwmonfan[1-5]_inputROTACH1-TACH5 input, RPM
hwmonpwm[1-5]RWTarget duty cycle, 0..255
thermalcur_stateRW현재 cooling state, 0..max_state
thermalmax_stateRO최대 cooling state

원문의 두 ASCII 표를 구조화해 보존했습니다.

Cooling state 게시
Tachometer 상태 수집Hwmon RPM·fault 게시PWM duty cycle 적용Thermal cur_state 변환max_state 범위 검증

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
================= == ========================================================================