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

Linux 6.18.37 · Hardware Monitoring

Kernel driver sl28cpld

Kontron SL28CPLD의 7비트 팬 카운터와 자동 ×8 범위 확장을 지원합니다.

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

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

1. 요약·해설

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

요약·해설

sl28cpld.rst:1-36

1초 동안 팬 펄스를 세고 7비트 오버플로 시 자동으로 ×8 모드로 전환해 두 펄스당 한 회전 기준 RPM을 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/sl28cpld.rst
분량36 source lines
카운터7비트·1초
가정회전당 2펄스

원문 분량과 핵심 장치 구성을 정리합니다.

운영 흐름
장치 결합1초 펄스 집계오버플로 확인×8 모드 반영RPM 계산

장치 식별부터 센서 확인까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 Kernel driver sl28cpld
4 ======================
5
6 Supported chips:
7
8 * Kontron sl28cpld
9
10 Prefix: 'sl28cpld'
11
12 Datasheet: not available
13
14 Authors: Michael Walle <michael@walle.cc>
15
16 Description
17 -----------
18
19 The sl28cpld is a board management controller which also exposes a hardware
20 monitoring controller. At the moment this controller supports a single fan
21 supervisor. In the future there might be other flavours and additional
22 hardware monitoring might be supported.
23
24 The fan supervisor has a 7 bit counter register and a counter period of 1
25 second. If the 7 bit counter overflows, the supervisor will automatically
26 switch to x8 mode to support a wider input range at the loss of
27 granularity.
28
29 Sysfs entries
30 -------------
31
32 The following attributes are supported.
33
34 ======================= ========================================================
35 fan1_input Fan RPM. Assuming 2 pulses per revolution.
36 ======================= ========================================================
37

3. 한국어 전문 번역

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

Kontron SL28CPLD 관리 컨트롤러

1-16

GPL-2.0-only 라이선스의 `sl28cpld` 드라이버는 Kontron SL28CPLD를 지원합니다. 접두사는 `sl28cpld`이고 데이터시트는 공개되어 있지 않습니다. 문서 작성자는 Michael Walle입니다.

SL28CPLD 기본 정보
항목
제조사·장치Kontron sl28cpld
접두사sl28cpld
역할보드 관리 컨트롤러
데이터시트비공개

지원 장치의 식별 정보입니다.

SL28CPLD hwmon 결합
SL28CPLD 장치 식별관리 컨트롤러 기능 초기화하드웨어 모니터 하위 기능 탐지단일 팬 감독기 등록fan1_input 생성

보드 관리 컨트롤러의 팬 감시 기능을 hwmon에 연결합니다.

.. SPDX-License-Identifier: GPL-2.0-only

Kernel driver sl28cpld
======================

Supported chips:

   * Kontron sl28cpld

     Prefix: 'sl28cpld'

     Datasheet: not available

Authors: Michael Walle <michael@walle.cc>

Description

7비트 카운터와 자동 ×8 모드

17-28

SL28CPLD는 보드 관리 컨트롤러이며 하드웨어 모니터링 컨트롤러도 제공합니다. 현재 구현은 팬 감독기 하나를 지원하고 향후 다른 변형과 추가 모니터링 기능이 지원될 수 있습니다.

팬 감독기는 7비트 카운터 레지스터와 1초의 카운터 주기를 사용합니다. 7비트 카운터가 오버플로하면 더 넓은 입력 범위를 지원하기 위해 자동으로 ×8 모드로 전환하지만 세분성은 낮아집니다.

SL28CPLD 팬 카운터
항목영향
카운터 폭7비트기본 측정 세분성
카운터 주기1초회전 펄스 집계 창
오버플로 처리자동 ×8 모드입력 범위 확대
×8 절충세분성 감소낮은 정밀도

기본 카운터와 오버플로 시 범위 확장 동작입니다.

팬 펄스 집계
1초 카운터 주기 시작7비트 카운터에 팬 펄스 누적오버플로 여부 확인오버플로 시 ×8 모드 전환카운터를 RPM으로 변환

1초 동안 펄스를 세고 범위를 넘으면 자동으로 스케일을 바꿉니다.

-----------

The sl28cpld is a board management controller which also exposes a hardware
monitoring controller. At the moment this controller supports a single fan
supervisor. In the future there might be other flavours and additional
hardware monitoring might be supported.

The fan supervisor has a 7 bit counter register and a counter period of 1
second. If the 7 bit counter overflows, the supervisor will automatically
switch to x8 mode to support a wider input range at the loss of
granularity.

두 펄스 기준 팬 RPM

29-36

지원 속성은 `fan1_input`이며 팬 한 회전에 펄스 두 개가 발생한다고 가정해 RPM을 계산합니다.

SL28CPLD sysfs 속성
속성의미가정
fan1_input팬 RPM회전당 2펄스

단일 팬 측정 채널과 계산 가정입니다.

fan1_input 계산
1초 펄스 수 판독×8 모드 여부 반영회전당 2펄스로 회전 수 계산분당 회전수로 환산fan1_input 갱신

카운터 펄스를 회전당 두 펄스 기준으로 RPM에 환산합니다.

Sysfs entries
-------------

The following attributes are supported.

======================= ========================================================
fan1_input                Fan RPM. Assuming 2 pulses per revolution.
======================= ========================================================