요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 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로 제공합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.