← Documents Documentation/devicetree/bindings/w1/omap-hdq.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / W1

OMAP HDQ One-Wire Bus Master

OMAP HDQ·One-Wire master의 hwmod와 mode 선택을 설명합니다.

Source pathDocumentation/devicetree/bindings/w1/omap-hdq.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

omap-hdq.txt:1-22

OMAP HDQ·One-Wire master의 hwmod와 mode 선택을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, phandle, baud rate, example, source path와 원문 줄 좌표를 원형대로 보존합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * OMAP HDQ One wire bus master controller
2
3 Required properties:
4 - compatible : should be "ti,omap3-1w" or "ti,am4372-hdq"
5 - reg : Address and length of the register set for the device
6 - interrupts : interrupt line.
7 - ti,hwmods : "hdq1w"
8
9 Optional properties:
10 - ti,mode: should be "hdq": HDQ mode "1w": one-wire mode.
11 If not specified HDQ mode is implied.
12
13 Example:
14
15 - From omap3.dtsi
16 hdqw1w: 1w@480b2000 {
17 compatible = "ti,omap3-1w";
18 reg = <0x480b2000 0x1000>;
19 interrupts = <58>;
20 ti,hwmods = "hdq1w";
21 ti,mode = "hdq";
22 };
23

3. 한국어 전문 번역

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

OMAP HDQ/One-Wire master

1-2

이 binding은 TI OMAP의 HDQ 및 One-Wire bus master controller를 설명합니다.

필수 자원과 HDQ·1W mode

3-12

`compatible`은 `ti,omap3-1w` 또는 `ti,am4372-hdq`입니다. register address·length, interrupt line과 `ti,hwmods = "hdq1w"`가 필수입니다.

선택적인 `ti,mode`는 `hdq` 또는 `1w`를 지정합니다. 생략하면 HDQ mode가 기본값입니다.

Required properties:
- compatible : should be "ti,omap3-1w" or "ti,am4372-hdq"
- reg : Address and length of the register set for the device
- interrupts : interrupt line.
- ti,hwmods : "hdq1w"

Optional properties:
- ti,mode: should be "hdq": HDQ mode  "1w": one-wire mode.
           If not specified HDQ mode is implied.

OMAP3 HDQ mode 예제

13-22

`omap3.dtsi` 예제는 address 0x480b2000, interrupt 58과 `hdq1w` hwmod를 사용하고 mode를 명시적으로 HDQ로 설정합니다.

Example:

- From omap3.dtsi
  hdqw1w: 1w@480b2000 {
        compatible = "ti,omap3-1w";
        reg = <0x480b2000 0x1000>;
        interrupts = <58>;
        ti,hwmods = "hdq1w";
        ti,mode = "hdq";
  };