요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0-only
Kernel driver gxp-fan-ctrl
==========================
Supported chips:
* HPE GXP SOC
Author: Nick Hawkins <[email protected]>
Description
-----------
gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc.
The driver allows the gathering of fan status and the use of fan
PWM control.
Sysfs attributes
----------------
======================= ===========================================================
pwm[0-7] Fan 0 to 7 respective PWM value (0-255)
fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok
fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled
======================= ===========================================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
HPE GXP fan controller
1-20GPL-2.0-only 드라이버 `gxp-fan-ctrl`은 HPE GXP SoC의 fan control을 제공하며 fan status 수집과 fan PWM control을 지원합니다. 저자는 Nick Hawkins입니다.
SoC fan block에서 제공하는 두 기능입니다.
SoC fan block을 8개 PWM·status channel로 게시합니다.
.. SPDX-License-Identifier: GPL-2.0-only
Kernel driver gxp-fan-ctrl
==========================
Supported chips:
* HPE GXP SOC
Author: Nick Hawkins <[email protected]>
Description
-----------
gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc.
The driver allows the gathering of fan status and the use of fan
PWM control.
GXP 8채널 sysfs 표
21-28`pwm[0-7]`은 fan 0~7 각각의 PWM 값 0~255입니다. `fan[0-7]_fault`는 fan별 fault status로 1은 failure, 0은 정상입니다. `fan[0-7]_enable`은 fan별 enabled status로 1은 enabled, 0은 disabled입니다.
원문의 ASCII 표를 channel·값 의미로 구조화했습니다.
Enable과 PWM을 적용하고 fault를 확인합니다.
Sysfs attributes
----------------
======================= ===========================================================
pwm[0-7] Fan 0 to 7 respective PWM value (0-255)
fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok
fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled
======================= ===========================================================
요약·해설
gxp-fan-ctrl.rst:1-28Fan 0~7의 output과 fault·enable 상태를 동일 channel index로 제공합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.