요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver max31790
======================
Supported chips:
* Maxim MAX31790
Prefix: 'max31790'
Addresses scanned: -
Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf
Author: Il Han <[email protected]>
Description
-----------
This driver implements support for the Maxim MAX31790 chip.
The MAX31790 controls the speeds of up to six fans using six independent
PWM outputs. The desired fan speeds (or PWM duty cycles) are written
through the I2C interface. The outputs drive "4-wire" fans directly,
or can be used to modulate the fan's power terminals using an external
pass transistor.
Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%)
monitoring and control of fan RPM as well as detection of fan failure.
Six pins are dedicated tachometer inputs. Any of the six PWM outputs can
also be configured to serve as tachometer inputs.
Sysfs entries
-------------
================== === =======================================================
fan[1-12]_input RO fan tachometer speed in RPM
fan[1-12]_fault RO fan experienced fault
fan[1-6]_target RW desired fan speed in RPM
fan[1-6]_enable RW enable or disable the tachometer input
pwm[1-6]_enable RW regulator mode, 0=disabled (duty cycle=0%), 1=manual mode, 2=rpm mode
pwm[1-6] RW read: current pwm duty cycle,
write: target pwm duty cycle (0-255)
================== === =======================================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
6채널 PWM과 최대 12개 타코미터 입력
1-30Il Han이 작성한 이 드라이버는 Maxim MAX31790을 `max31790` 접두사로 지원하며 주소 자동 검색은 하지 않습니다.
MAX31790은 독립 PWM 출력 여섯 개로 최대 여섯 팬의 속도를 제어합니다. 원하는 팬 RPM 또는 PWM 듀티를 I2C로 기록합니다. 출력은 4선식 팬을 직접 구동하거나 외부 패스 트랜지스터를 통해 팬 전원 단자를 변조할 수 있습니다.
전용 타코미터 입력 여섯 개가 ±1% 정밀도로 RPM을 감시·제어하고 팬 고장을 검출합니다. 여섯 PWM 출력도 각각 타코미터 입력으로 바꿀 수 있으므로 총 `fan[1-12]` 입력을 노출할 수 있습니다.
PWM 핀의 타코미터 전환으로 입력 수를 확장합니다.
목표 RPM과 타코미터 피드백을 연결합니다.
Kernel driver max31790
======================
Supported chips:
* Maxim MAX31790
Prefix: 'max31790'
Addresses scanned: -
Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf
Author: Il Han <[email protected]>
Description
-----------
This driver implements support for the Maxim MAX31790 chip.
The MAX31790 controls the speeds of up to six fans using six independent
PWM outputs. The desired fan speeds (or PWM duty cycles) are written
through the I2C interface. The outputs drive "4-wire" fans directly,
or can be used to modulate the fan's power terminals using an external
pass transistor.
Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%)
monitoring and control of fan RPM as well as detection of fan failure.
Six pins are dedicated tachometer inputs. Any of the six PWM outputs can
타코미터·목표 RPM·PWM 모드
31-45`fan[1-12]_input`은 RPM 단위 타코미터 속도이고 `fan[1-12]_fault`는 팬 고장입니다. `fan[1-6]_target`은 쓰기 가능한 목표 RPM, `fan[1-6]_enable`은 타코미터 입력 활성화·비활성화입니다.
`pwm[1-6]_enable`은 레귤레이터 모드입니다. 0은 비활성화와 듀티 0%, 1은 수동, 2는 RPM 모드입니다. `pwm[1-6]`을 읽으면 현재 듀티, 쓰면 0-255 범위의 목표 듀티를 설정합니다.
측정 채널과 제어 채널의 범위가 다릅니다.
팬별 목표와 실제값을 비교합니다.
also be configured to serve as tachometer inputs.
Sysfs entries
-------------
================== === =======================================================
fan[1-12]_input RO fan tachometer speed in RPM
fan[1-12]_fault RO fan experienced fault
fan[1-6]_target RW desired fan speed in RPM
fan[1-6]_enable RW enable or disable the tachometer input
pwm[1-6]_enable RW regulator mode, 0=disabled (duty cycle=0%), 1=manual mode, 2=rpm mode
pwm[1-6] RW read: current pwm duty cycle,
write: target pwm duty cycle (0-255)
================== === =======================================================
요약·해설
max31790.rst:1-45여섯 팬의 목표 RPM·듀티를 제어하고 PWM 핀을 타코미터로 전환해 최대 12개 속도를 읽습니다.
원문 분량과 핵심 인터페이스입니다.
장치 등록부터 측정·경보 처리까지의 순서입니다.