← Documents Documentation/devicetree/bindings/w1/maxim,ds2482.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / W1

Maxim One-Wire Bus Master

DS2482·DS2484 I2C-to-1-Wire bridge의 address와 VCC를 설명합니다.

Source pathDocumentation/devicetree/bindings/w1/maxim,ds2482.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

maxim,ds2482.yaml:1-46

DS2482·DS2484 I2C-to-1-Wire bridge의 address와 VCC를 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, phandle, baud rate, example, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Maxim One wire bus master controller
8
9 maintainers:
10 - Stefan Wahren <[email protected]>
11
12 description: |
13 I2C to 1-wire bridges
14
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf
16 https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf
18
19 properties:
20 compatible:
21 enum:
22 - maxim,ds2482
23 - maxim,ds2484
24
25 reg:
26 maxItems: 1
27
28 vcc-supply: true
29
30 required:
31 - compatible
32 - reg
33
34 additionalProperties:
35 type: object
36
37 examples:
38 - |
39 i2c {
40 #address-cells = <1>;
41 #size-cells = <0>;
42 onewire@18 {
43 compatible = "maxim,ds2484";
44 reg = <0x18>;
45 };
46 };
47

3. 한국어 전문 번역

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

Maxim I2C-to-1-Wire bridge

1-18

GPL-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>;
      };
    };