요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Kernel driver adm1177
=====================
Supported chips:
* Analog Devices ADM1177
Prefix: 'adm1177'
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf
Author: Beniamin Bia <[email protected]>
Description
-----------
This driver supports hardware monitoring for Analog Devices ADM1177
Hot-Swap Controller and Digital Power Monitors with Soft Start Pin.
Usage Notes
-----------
This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst
for details.
Sysfs entries
-------------
The following attributes are supported. Current maximum attribute
is read-write, all other attributes are read-only.
in0_input Measured voltage in millivolts.
curr1_input Measured current in milliamperes.
curr1_max Overcurrent shutdown threshold in milliamperes.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
ADM1177과 명시적 장치 생성
1-24이 드라이버는 Analog Devices `ADM1177` Hot-Swap Controller 및 Soft Start Pin을 갖춘 Digital Power Monitor의 hardware monitoring을 지원합니다. Prefix는 `adm1177`, 데이터시트 URL은 `https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf`이며 저자는 Beniamin Bia입니다.
드라이버는 장치를 자동 검색하지 않습니다. 사용자가 장치를 명시적으로 instantiate해야 하며 자세한 방법은 `Documentation/i2c/instantiating-devices.rst`를 참조합니다.
지원 기능과 등록 조건입니다.
자동 검색이 없으므로 platform에서 장치를 선언합니다.
Kernel driver adm1177
=====================
Supported chips:
* Analog Devices ADM1177
Prefix: 'adm1177'
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf
Author: Beniamin Bia <[email protected]>
Description
-----------
This driver supports hardware monitoring for Analog Devices ADM1177
Hot-Swap Controller and Digital Power Monitors with Soft Start Pin.
Usage Notes
-----------
This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst
for details.
전압과 전류 sysfs attribute
25-36드라이버는 아래 sysfs attribute를 지원합니다. Current maximum attribute인 `curr1_max`만 read-write이고 나머지는 모두 read-only입니다.
`in0_input`은 millivolt 단위의 측정 전압입니다. `curr1_input`은 milliampere 단위의 측정 전류이고, `curr1_max`는 milliampere 단위의 overcurrent shutdown threshold입니다.
단위와 접근 권한을 함께 표시합니다.
측정값과 쓰기 가능한 shutdown threshold를 사용합니다.
Sysfs entries
-------------
The following attributes are supported. Current maximum attribute
is read-write, all other attributes are read-only.
in0_input Measured voltage in millivolts.
curr1_input Measured current in milliamperes.
curr1_max Overcurrent shutdown threshold in milliamperes.
요약·해설
adm1177.rst:1-36자동 검색하지 않는 ADM1177을 등록하고 측정 전압·전류와 과전류 shutdown threshold를 사용하는 방법입니다.
원문과 핵심 지원 범위를 요약합니다.
드라이버를 이해할 때의 주요 순서입니다.