← Documents Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / W1

Freescale i.MX One-Wire Bus Master

i.MX21~53 One-Wire master의 compatible fallback과 자원을 설명합니다.

Source pathDocumentation/devicetree/bindings/w1/fsl-imx-owire.yaml
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

fsl-imx-owire.yaml:1-48

i.MX21~53 One-Wire master의 compatible fallback과 자원을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, 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/fsl-imx-owire.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Freescale i.MX One wire bus master controller
8
9 maintainers:
10 - Martin Fuzzey <[email protected]>
11
12 properties:
13 compatible:
14 oneOf:
15 - const: fsl,imx21-owire
16 - items:
17 - enum:
18 - fsl,imx27-owire
19 - fsl,imx50-owire
20 - fsl,imx51-owire
21 - fsl,imx53-owire
22 - const: fsl,imx21-owire
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 clocks:
31 maxItems: 1
32
33 required:
34 - compatible
35 - reg
36
37 additionalProperties: false
38
39 examples:
40 - |
41 #include <dt-bindings/clock/imx5-clock.h>
42
43 owire@63fa4000 {
44 compatible = "fsl,imx53-owire", "fsl,imx21-owire";
45 reg = <0x63fa4000 0x4000>;
46 interrupts = <88>;
47 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
48 };
49

3. 한국어 전문 번역

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

Freescale i.MX One-Wire master

1-11

GPL-2.0-only 또는 BSD-2-Clause로 배포되는 이 스키마는 Freescale i.MX One-Wire bus master controller를 정의합니다. 관리자는 Martin Fuzzey입니다.

SoC compatible과 controller 자원

12-38

`fsl,imx21-owire`를 직접 사용하거나 i.MX27·50·51·53 식별자 뒤에 i.MX21 fallback을 둡니다. `reg`, `interrupts`, `clocks`는 각각 최대 한 항목입니다.

compatible과 reg가 필수이며 interrupt와 clock은 선택 사항입니다. 정의되지 않은 추가 속성은 허용하지 않습니다.

properties:
  compatible:
    oneOf:
      - const: fsl,imx21-owire
      - items:
          - enum:
              - fsl,imx27-owire
              - fsl,imx50-owire
              - fsl,imx51-owire
              - fsl,imx53-owire
          - const: fsl,imx21-owire

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

i.MX53 OWIRE gate clock 예제

39-48

예제 i.MX53 controller는 i.MX21 fallback, register range, interrupt 88과 `IMX5_CLK_OWIRE_GATE` clock을 사용합니다.

examples:
  - |
    #include <dt-bindings/clock/imx5-clock.h>

    owire@63fa4000 {
        compatible = "fsl,imx53-owire", "fsl,imx21-owire";
        reg = <0x63fa4000 0x4000>;
        interrupts = <88>;
        clocks = <&clks IMX5_CLK_OWIRE_GATE>;
    };