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

Linux 6.18.37 · Hardware Monitoring

Kernel driver lt7182s

LT7182S 듀얼 6A 전력 채널의 입력·출력·VMON·최고 이력·온도 감시입니다.

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

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

1. 요약·해설

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

요약·해설

lt7182s.rst:1-92

듀얼 입력·출력 전류·전압·전력과 선택 VMON 핀을 감시하고 전체 최고 이력을 한 속성으로 초기화합니다.

문서 개요
항목
SourceDocumentation/hwmon/lt7182s.rst
분량92 source lines
채널듀얼 6A
등록new_device 또는 DT

원문 분량과 핵심 인터페이스입니다.

동작 흐름
장치 생성듀얼 채널 측정선택 VMON 확인이력·경보 관리

장치 연결부터 측정·이력 사용까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver lt7182s
4 =====================
5
6 Supported chips:
7
8 * ADI LT7182S
9
10 Prefix: 'lt7182s'
11
12 Addresses scanned: -
13
14 Datasheet: https://www.analog.com/en/products/lt7182s.html
15
16 Author: Guenter Roeck <linux@roeck-us.net>
17
18
19 Description
20 -----------
21
22 LT7182S is a Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher with
23 Digital Power System Management support.
24
25
26 Usage Notes
27 -----------
28
29 This driver does not probe for PMBus devices. You will have to instantiate
30 devices explicitly.
31
32 Example: the following commands will load the driver for a LT7182S
33 at address 0x4f on I2C bus #4::
34
35 # modprobe lt7182s
36 # echo lt7182s 0x4f > /sys/bus/i2c/devices/i2c-4/new_device
37
38 It can also be instantiated by declaring an entry in device tree.
39
40
41 Sysfs attributes
42 ----------------
43
44 ======================= ====================================
45 curr[1-2]_label "iin[12]"
46 curr[1-2]_input Measured input current
47 curr[1-2]_max Maximum input current
48 curr[1-2]_max_alarm Current high alarm
49
50 curr[3-4]_label "iout[1-2]"
51 curr[3-4]_input Measured output current
52 curr[3-4]_highest Highest measured output current
53 curr[3-4]_max Maximum output current
54 curr[3-4]_max_alarm Output current high alarm
55
56 in[1-2]_label "vin[12]"
57 in[1-2]_input Measured input voltage
58 in[1-2]_highest Highest measured input voltage
59 in[1-2]_crit Critical maximum input voltage
60 in[1-2]_crit_alarm Input voltage critical high alarm
61 in[1-2]_min Minimum input voltage
62 in[1-2]_min_alarm Input voltage low alarm
63 in[1-2]_rated_min Rated minimum input voltage
64 in[1-2]_rated_max Rated maximum input voltage
65 in1_reset_history Write to reset history for all attributes
66
67 in[3-5]_label "vmon[1-3]"
68 in[3-5]_input Measured voltage on ITH1/ITH2/EXTVCC pins
69 Only available if enabled with MFR_ADC_CONTROL_LT7182S
70 command.
71
72 in[3-4|6-7]_label "vout[1-2]"
73 in[3-4|6-7]_input Measured output voltage
74 in[3-4|6-7]_highest Highest measured output voltage
75 in[3-4|6-7]_lcrit Critical minimum output voltage
76 in[3-4|6-7]_lcrit_alarm Output voltage critical low alarm
77 in[3-4|6-7]_min Minimum output voltage
78 in[3-4|6-7]_max_alarm Output voltage low alarm
79 in[3-4|6-7]_max Maximum output voltage
80 in[3-4|6-7]_max_alarm Output voltage high alarm
81 in[3-4|6-7]_crit Critical maximum output voltage
82 in[3-4|6-7]_crit_alarm Output voltage critical high alarm
83
84 power[1-2]_label "pout[1-2]"
85 power[1-2]_input Measured output power
86
87 temp1_input Measured temperature
88 temp1_crit Critical high temperature
89 temp1_crit_alarm Chip temperature critical high alarm
90 temp1_max Maximum temperature
91 temp1_max_alarm Chip temperature high alarm
92 ======================= ====================================
93

3. 한국어 전문 번역

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

듀얼 채널 LT7182S와 명시적 등록

1-39

ADI LT7182S는 `lt7182s` 접두사를 사용하는 듀얼 채널 6 A, 20 V PolyPhase 강압 Silent Switcher이며 디지털 전력 시스템 관리 기능을 지원합니다. 작성자는 Guenter Roeck입니다.

드라이버는 PMBus 장치를 탐색하지 않으므로 명시적으로 생성해야 합니다. I2C 버스 4의 주소 `0x4f` 예시는 `modprobe lt7182s` 뒤 `echo lt7182s 0x4f > /sys/bus/i2c/devices/i2c-4/new_device`를 실행합니다.

장치 트리에 항목을 선언하는 방식으로도 생성할 수 있습니다.

LT7182S 기본 정보
항목
채널듀얼 6 A
입력 정격20 V
토폴로지PolyPhase Step-Down Silent Switcher
등록new_device 또는 장치 트리
자동 탐색없음

듀얼 전력 변환기와 등록 방식입니다.

LT7182S 생성
LT7182S 주소 확인lt7182s 모듈 적재new_device 또는 장치 트리 선언두 전력 채널 초기화이력·경보 속성 게시

버스·주소를 명시해 PMBus 채널을 활성화합니다.

.. SPDX-License-Identifier: GPL-2.0

Kernel driver lt7182s
=====================

Supported chips:

  * ADI LT7182S

    Prefix: 'lt7182s'

    Addresses scanned: -

    Datasheet: https://www.analog.com/en/products/lt7182s.html

Author: Guenter Roeck <linux@roeck-us.net>


Description
-----------

LT7182S is a Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher with
Digital Power System Management support.


Usage Notes
-----------

This driver does not probe for PMBus devices. You will have to instantiate
devices explicitly.

Example: the following commands will load the driver for a LT7182S
at address 0x4f on I2C bus #4::

    # modprobe lt7182s
    # echo lt7182s 0x4f > /sys/bus/i2c/devices/i2c-4/new_device

It can also be instantiated by declaring an entry in device tree.

듀얼 입력·출력과 최고 이력·온도

40-92

`curr1-2`는 `iin1-2` 입력 전류의 현재값·최대값·고전류 경보입니다. `curr3-4`는 `iout1-2` 출력 전류의 현재값·역대 최고값·최대 제한·고전류 경보입니다.

`in1-2`는 `vin1-2` 입력 전압의 현재값·역대 최고값·임계 최대·최소·경보·정격 최소·정격 최대를 제공합니다. `in1_reset_history`에 쓰면 모든 속성의 이력을 초기화합니다.

`in3-5`의 `vmon1-3`은 ITH1·ITH2·EXTVCC 핀 전압이며 `MFR_ADC_CONTROL_LT7182S` 명령으로 활성화한 경우에만 사용할 수 있습니다.

출력 전압 `vout1-2` 채널은 현재값·역대 최고값·임계 최소·최소·최대·임계 최대와 각 경보를 제공합니다. 원문의 범위 표기는 `in[3-4|6-7]`이며 그대로 보존됩니다. `power1-2`는 `pout1-2` 출력 전력을 측정합니다.

`temp1`은 칩 온도와 최대·임계 제한, 고온·임계 고온 경보를 제공합니다.

LT7182S 채널
속성군라벨주요 값
curr1-2iin1-2입력 전류·최대·경보
curr3-4iout1-2출력 전류·최고 이력·경보
in1-2vin1-2입력 전압·정격·최고 이력
in3-5vmon1-3ITH1·ITH2·EXTVCC, 명령으로 활성화
출력 전압군vout1-2최소·최대·임계·경보·이력
power1-2 / temp1pout1-2 / -출력 전력 / 칩 온도

듀얼 입력·출력과 선택 모니터 핀입니다.

LT7182S 이력 감시
듀얼 입력·출력 전류 읽기입력·출력 전압과 전력 읽기선택 VMON 채널 활성 여부 확인최고 이력과 경보 기록in1_reset_history로 전체 이력 초기화

현재값과 역대 최고값을 읽고 필요하면 한 번에 초기화합니다.


Sysfs attributes
----------------

======================= ====================================
curr[1-2]_label                "iin[12]"
curr[1-2]_input                Measured input current
curr[1-2]_max                Maximum input current
curr[1-2]_max_alarm        Current high alarm

curr[3-4]_label                "iout[1-2]"
curr[3-4]_input                Measured output current
curr[3-4]_highest        Highest measured output current
curr[3-4]_max                Maximum output current
curr[3-4]_max_alarm        Output current high alarm

in[1-2]_label                "vin[12]"
in[1-2]_input                Measured input voltage
in[1-2]_highest                Highest measured input voltage
in[1-2]_crit                Critical maximum input voltage
in[1-2]_crit_alarm        Input voltage critical high alarm
in[1-2]_min                Minimum input voltage
in[1-2]_min_alarm        Input voltage low alarm
in[1-2]_rated_min        Rated minimum input voltage
in[1-2]_rated_max        Rated maximum input voltage
in1_reset_history        Write to reset history for all attributes

in[3-5]_label                "vmon[1-3]"
in[3-5]_input                Measured voltage on ITH1/ITH2/EXTVCC pins
                        Only available if enabled with MFR_ADC_CONTROL_LT7182S
                        command.

in[3-4|6-7]_label        "vout[1-2]"
in[3-4|6-7]_input        Measured output voltage
in[3-4|6-7]_highest        Highest measured output voltage
in[3-4|6-7]_lcrit        Critical minimum output voltage
in[3-4|6-7]_lcrit_alarm        Output voltage critical low alarm
in[3-4|6-7]_min                Minimum output voltage
in[3-4|6-7]_max_alarm        Output voltage low alarm
in[3-4|6-7]_max                Maximum output voltage
in[3-4|6-7]_max_alarm        Output voltage high alarm
in[3-4|6-7]_crit        Critical maximum output voltage
in[3-4|6-7]_crit_alarm        Output voltage critical high alarm

power[1-2]_label        "pout[1-2]"
power[1-2]_input        Measured output power

temp1_input                Measured temperature
temp1_crit                Critical high temperature
temp1_crit_alarm        Chip temperature critical high alarm
temp1_max                Maximum temperature
temp1_max_alarm                Chip temperature high alarm
======================= ====================================