← Documents Documentation/hwmon/gxp-fan-ctrl.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver gxp-fan-ctrl

HPE GXP SoC의 8채널 fan PWM·fault·enable 상태입니다.

Source pathDocumentation/hwmon/gxp-fan-ctrl.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

gxp-fan-ctrl.rst:1-28

Fan 0~7의 output과 fault·enable 상태를 동일 channel index로 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/gxp-fan-ctrl.rst
분량28 source lines
Channels8
PWM0..255

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

핵심 흐름
SoC 초기화Channel enablePWM 설정Fault 확인

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 Kernel driver gxp-fan-ctrl
4 ==========================
5
6 Supported chips:
7
8 * HPE GXP SOC
9
10 Author: Nick Hawkins <nick.hawkins@hpe.com>
11
12
13 Description
14 -----------
15
16 gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc.
17 The driver allows the gathering of fan status and the use of fan
18 PWM control.
19
20
21 Sysfs attributes
22 ----------------
23
24 ======================= ===========================================================
25 pwm[0-7] Fan 0 to 7 respective PWM value (0-255)
26 fan[0-7]_fault Fan 0 to 7 respective fault status: 1 fail, 0 ok
27 fan[0-7]_enable Fan 0 to 7 respective enabled status: 1 enabled, 0 disabled
28 ======================= ===========================================================
29

3. 한국어 전문 번역

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

HPE GXP fan controller

1-20

GPL-2.0-only 드라이버 `gxp-fan-ctrl`은 HPE GXP SoC의 fan control을 제공하며 fan status 수집과 fan PWM control을 지원합니다. 저자는 Nick Hawkins입니다.

GXP 기능
기능지원
Fan status8 channel 수집
PWM control8 channel 제어
ChipHPE GXP SoC

SoC fan block에서 제공하는 두 기능입니다.

GXP fan 등록
GXP SoC 식별Fan controller 초기화Channel 0~7 등록PWM·fault·enable 게시

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 <nick.hawkins@hpe.com>


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입니다.

GXP sysfs
AttributeChannel
pwm[0-7]Fan 0~70..255
fan[0-7]_faultFan 0~71=fail, 0=ok
fan[0-7]_enableFan 0~71=enabled, 0=disabled

원문의 ASCII 표를 channel·값 의미로 구조화했습니다.

Fan channel 제어
fanN_enable 확인pwmN 0~255 설정Fan 동작fanN_fault 확인

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