요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Maxim One wire bus master controller
maintainers:
- Stefan Wahren <[email protected]>
description: |
I2C to 1-wire bridges
https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf
https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf
properties:
compatible:
enum:
- maxim,ds2482
- maxim,ds2484
reg:
maxItems: 1
vcc-supply: true
required:
- compatible
- reg
additionalProperties:
type: object
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
onewire@18 {
compatible = "maxim,ds2484";
reg = <0x18>;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Maxim I2C-to-1-Wire bridge
1-18GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Maxim DS2482·DS2484 I2C-to-1-Wire bridge를 정의합니다. DS2482-100, DS2482-800, DS2484 datasheet 링크를 제공하며 관리자는 Stefan Wahren입니다.
I2C address와 VCC supply
19-36`compatible`은 `maxim,ds2482` 또는 `maxim,ds2484`입니다. I2C `reg`는 최대 한 항목이며 `vcc-supply`를 지원합니다. compatible과 reg가 필수이고 1-Wire slave child object를 추가 속성으로 허용합니다.
properties:
compatible:
enum:
- maxim,ds2482
- maxim,ds2484
reg:
maxItems: 1
vcc-supply: true
required:
- compatible
- reg
additionalProperties:
type: object
DS2484 I2C bridge 예제
37-46예제 DS2484 bridge는 I2C address 0x18에 배치되고 I2C bus는 address cell 1개와 size cell 0개를 사용합니다.
examples:
- |
i2c {
#address-cells = <1>;
#size-cells = <0>;
onewire@18 {
compatible = "maxim,ds2484";
reg = <0x18>;
};
};
요약과 해설
maxim,ds2482.yaml:1-46DS2482·DS2484 I2C-to-1-Wire bridge의 address와 VCC를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, phandle, baud rate, example, source path와 원문 줄 좌표를 원형대로 보존합니다.