요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
* OMAP HDQ One wire bus master controller
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"
9
Optional properties:
10
- ti,mode: should be "hdq": HDQ mode "1w": one-wire mode.
11
If not specified HDQ mode is implied.
13
Example:
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
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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";
};
요약과 해설
omap-hdq.txt:1-22OMAP HDQ·One-Wire master의 hwmod와 mode 선택을 설명합니다. 접을 수 있는 영어 원문 전체와 한국어 전문 번역을 함께 제공하며, property, phandle, baud rate, example, source path와 원문 줄 좌표를 원형대로 보존합니다.