요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver ina233
====================
Supported chips:
* TI INA233
Prefix: 'ina233'
* Datasheet
Publicly available at the TI website : https://www.ti.com/lit/ds/symlink/ina233.pdf
Author: Leo Yang <leo.yang.sy0@gmail.com>
Usage Notes
-----------
The shunt resistor value can be configured by a device tree property;
see Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml for details.
Description
-----------
This driver supports hardware monitoring for TI INA233.
The driver is a client driver to the core PMBus driver. Please see
Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
The driver provides the following attributes for input voltage:
**in1_input**
**in1_label**
**in1_max**
**in1_max_alarm**
**in1_min**
**in1_min_alarm**
The driver provides the following attributes for shunt voltage:
**in2_input**
**in2_label**
The driver provides the following attributes for output voltage:
**in3_input**
**in3_label**
**in3_alarm**
The driver provides the following attributes for output current:
**curr1_input**
**curr1_label**
**curr1_max**
**curr1_max_alarm**
The driver provides the following attributes for input power:
**power1_input**
**power1_label**
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
INA233 지원과 shunt 설정
1-23GPL-2.0 라이선스의 `ina233` 드라이버는 TI INA233을 지원합니다. 데이터시트는 TI 웹사이트의 `https://www.ti.com/lit/ds/symlink/ina233.pdf`에서 공개되며 작성자는 Leo Yang입니다.
Shunt 저항값은 장치 트리 속성으로 구성할 수 있습니다. 자세한 binding은 `Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml`에 정의되어 있습니다.
지원 칩과 device-tree 설정 경로입니다.
장치 트리의 저항값이 PMBus 측정 배율에 반영됩니다.
.. SPDX-License-Identifier: GPL-2.0
Kernel driver ina233
====================
Supported chips:
* TI INA233
Prefix: 'ina233'
* Datasheet
Publicly available at the TI website : https://www.ti.com/lit/ds/symlink/ina233.pdf
Author: Leo Yang <leo.yang.sy0@gmail.com>
Usage Notes
-----------
The shunt resistor value can be configured by a device tree property;
see Documentation/devicetree/bindings/hwmon/ti,ina2xx.yaml for details.
PMBus 클라이언트와 입력 전압 속성
24-46이 드라이버는 TI INA233의 하드웨어 모니터링을 지원하며 PMBus 코어 드라이버의 클라이언트입니다. PMBus 클라이언트 드라이버의 구조는 `Documentation/hwmon/pmbus.rst`를 참고해야 합니다.
입력 전압에는 현재값 `in1_input`, 레이블 `in1_label`, 최대 한계 `in1_max`와 초과 경보 `in1_max_alarm`, 최소 한계 `in1_min`과 미달 경보 `in1_min_alarm`을 제공합니다.
입력 전압 측정과 상·하한 경보 속성입니다.
PMBus 코어가 INA233 레지스터를 표준 hwmon 속성으로 변환합니다.
Description
-----------
This driver supports hardware monitoring for TI INA233.
The driver is a client driver to the core PMBus driver. Please see
Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
The driver provides the following attributes for input voltage:
**in1_input**
**in1_label**
**in1_max**
**in1_max_alarm**
**in1_min**
**in1_min_alarm**
Shunt·출력 전압·전류·입력 전력 속성
47-75Shunt 전압은 현재값 `in2_input`과 레이블 `in2_label`을 제공합니다. 출력 전압은 `in3_input`, `in3_label`, 통합 경보 `in3_alarm`을 제공합니다.
출력 전류에는 `curr1_input`, `curr1_label`, 최대 한계 `curr1_max`, 최대 경보 `curr1_max_alarm`이 있습니다. 입력 전력에는 `power1_input`과 `power1_label`이 있습니다.
Shunt와 출력 측정량을 hwmon 이름별로 정리했습니다.
입력 전압에서 shunt·출력 측정과 전력까지 한 장치에서 읽습니다.
The driver provides the following attributes for shunt voltage:
**in2_input**
**in2_label**
The driver provides the following attributes for output voltage:
**in3_input**
**in3_label**
**in3_alarm**
The driver provides the following attributes for output current:
**curr1_input**
**curr1_label**
**curr1_max**
**curr1_max_alarm**
The driver provides the following attributes for input power:
**power1_input**
**power1_label**
요약·해설
ina233.rst:1-75장치 트리에서 shunt 저항값을 받고 PMBus 코어를 통해 전력 경로 측정값과 경보를 제공합니다.
원문 분량과 핵심 기능입니다.
장치 설정에서 hwmon 값까지의 핵심 순서입니다.