요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Texas Instrument OMAP SCM bandgap bindings
In the System Control Module, OMAP supplies a voltage reference
and a temperature sensor feature that are gathered in the band
gap voltage and temperature sensor (VBGAPTS) module. The band
gap provides current and voltage reference for its internal
circuits and other analog IP blocks. The analog-to-digital
converter (ADC) produces an output value that is proportional
to the silicon temperature.
Required properties:
- compatible : Should be:
- "ti,omap34xx-bandgap" : for OMAP34xx bandgap
- "ti,omap36xx-bandgap" : for OMAP36xx bandgap
- "ti,omap4430-bandgap" : for OMAP4430 bandgap
- "ti,omap4460-bandgap" : for OMAP4460 bandgap
- "ti,omap4470-bandgap" : for OMAP4470 bandgap
- "ti,omap5430-bandgap" : for OMAP5430 bandgap
- interrupts : this entry should indicate which interrupt line
the talert signal is routed to;
Specific:
- gpios : this entry should be used to inform which GPIO
line the tshut signal is routed to. The informed GPIO will
be treated as an IRQ;
- regs : this entry must also be specified and it is specific
to each bandgap version, because the mapping may change from
soc to soc, apart of depending on available features.
Example:
OMAP34xx:
bandgap {
reg = <0x48002524 0x4>;
compatible = "ti,omap34xx-bandgap";
};
OMAP36xx:
bandgap {
reg = <0x48002524 0x4>;
compatible = "ti,omap36xx-bandgap";
};
OMAP4430:
bandgap {
reg = <0x4a002260 0x4 0x4a00232C 0x4>;
compatible = "ti,omap4430-bandgap";
};
OMAP4460:
bandgap {
reg = <0x4a002260 0x4
0x4a00232C 0x4
0x4a002378 0x18>;
compatible = "ti,omap4460-bandgap";
interrupts = <0 126 4>; /* talert */
gpios = <&gpio3 22 0>; /* tshut */
};
OMAP4470:
bandgap {
reg = <0x4a002260 0x4
0x4a00232C 0x4
0x4a002378 0x18>;
compatible = "ti,omap4470-bandgap";
interrupts = <0 126 4>; /* talert */
gpios = <&gpio3 22 0>; /* tshut */
};
OMAP5430:
bandgap {
reg = <0x4a0021e0 0xc
0x4a00232c 0xc
0x4a002380 0x2c
0x4a0023C0 0x3c>;
compatible = "ti,omap5430-bandgap";
interrupts = <0 126 4>; /* talert */
};
DRA752:
bandgap {
reg = <0x4a0021e0 0xc
0x4a00232c 0xc
0x4a002380 0x2c
0x4a0023C0 0x3c
0x4a002564 0x8
0x4a002574 0x50>;
compatible = "ti,dra752-bandgap";
interrupts = <0 126 4>; /* talert */
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
OMAP SCM bandgap과 VBGAPTS
1-10Texas Instruments OMAP의 System Control Module은 voltage reference와 temperature sensor 기능을 band gap voltage and temperature sensor, 즉 VBGAPTS module로 제공합니다. Bandgap은 내부 circuit과 다른 analog IP block에 current 및 voltage reference를 제공하며, analog-to-digital converter(ADC)는 silicon temperature에 비례하는 output value를 생성합니다.
Compatible과 talert·tshut 배선
11-28필수 `compatible`은 OMAP 세대에 따라 `ti,omap34xx-bandgap`, `ti,omap36xx-bandgap`, `ti,omap4430-bandgap`, `ti,omap4460-bandgap`, `ti,omap4470-bandgap`, `ti,omap5430-bandgap` 중 하나입니다. `interrupts`는 `talert` signal이 전달되는 interrupt line을 나타냅니다. 별도 `gpios` 항목은 `tshut` signal의 GPIO line을 알리며 그 GPIO는 IRQ로 취급됩니다. 원문에서 `regs`로 부르는 register 항목도 지정해야 하고, mapping은 available feature와 bandgap version에 따라 SoC마다 달라질 수 있습니다.
Required properties:
- compatible : Should be:
- "ti,omap34xx-bandgap" : for OMAP34xx bandgap
- "ti,omap36xx-bandgap" : for OMAP36xx bandgap
- "ti,omap4430-bandgap" : for OMAP4430 bandgap
- "ti,omap4460-bandgap" : for OMAP4460 bandgap
- "ti,omap4470-bandgap" : for OMAP4470 bandgap
- "ti,omap5430-bandgap" : for OMAP5430 bandgap
- interrupts : this entry should indicate which interrupt line
the talert signal is routed to;
Specific:
- gpios : this entry should be used to inform which GPIO
line the tshut signal is routed to. The informed GPIO will
be treated as an IRQ;
- regs : this entry must also be specified and it is specific
to each bandgap version, because the mapping may change from
soc to soc, apart of depending on available features.
OMAP34xx·36xx·4430 예제
29-47OMAP34xx와 OMAP36xx는 모두 `0x48002524`의 4-byte register 영역을 사용하고 각 세대의 compatible을 지정합니다. OMAP4430은 `0x4a002260`과 `0x4a00232C`에 각각 4-byte 영역을 두며 `ti,omap4430-bandgap`을 사용합니다.
OMAP34xx:
bandgap {
reg = <0x48002524 0x4>;
compatible = "ti,omap34xx-bandgap";
};
OMAP36xx:
bandgap {
reg = <0x48002524 0x4>;
compatible = "ti,omap36xx-bandgap";
};
OMAP4430:
bandgap {
reg = <0x4a002260 0x4 0x4a00232C 0x4>;
compatible = "ti,omap4430-bandgap";
};
OMAP4460·4470 interrupt와 GPIO
48-67OMAP4460과 OMAP4470은 `0x4a002260`, `0x4a00232C`, `0x4a002378`의 세 register 영역을 사용합니다. 둘 다 `<0 126 4>`를 `talert` interrupt로, `<&gpio3 22 0>`을 `tshut` GPIO로 연결하고 각 SoC에 맞는 compatible을 지정합니다.
OMAP4460:
bandgap {
reg = <0x4a002260 0x4
0x4a00232C 0x4
0x4a002378 0x18>;
compatible = "ti,omap4460-bandgap";
interrupts = <0 126 4>; /* talert */
gpios = <&gpio3 22 0>; /* tshut */
};
OMAP4470:
bandgap {
reg = <0x4a002260 0x4
0x4a00232C 0x4
0x4a002378 0x18>;
compatible = "ti,omap4470-bandgap";
interrupts = <0 126 4>; /* talert */
gpios = <&gpio3 22 0>; /* tshut */
};
OMAP5430과 DRA752 register map
68-88OMAP5430은 `0x4a0021e0`, `0x4a00232c`, `0x4a002380`, `0x4a0023C0`의 네 register 영역과 `<0 126 4>` talert interrupt를 사용합니다. DRA752는 같은 네 영역에 `0x4a002564` 및 `0x4a002574` 영역을 더하고 `ti,dra752-bandgap` compatible과 같은 talert interrupt를 지정합니다.
OMAP5430:
bandgap {
reg = <0x4a0021e0 0xc
0x4a00232c 0xc
0x4a002380 0x2c
0x4a0023C0 0x3c>;
compatible = "ti,omap5430-bandgap";
interrupts = <0 126 4>; /* talert */
};
DRA752:
bandgap {
reg = <0x4a0021e0 0xc
0x4a00232c 0xc
0x4a002380 0x2c
0x4a0023C0 0x3c
0x4a002564 0x8
0x4a002574 0x50>;
compatible = "ti,dra752-bandgap";
interrupts = <0 126 4>; /* talert */
};
요약과 해설
ti_soc_thermal.txt:1-88OMAP bandgap의 동작, talert·tshut 배선, OMAP34xx부터 DRA752까지의 정확한 register map을 원문 줄 좌표에 맞춰 전문 번역합니다. 접을 수 있는 영어 원문 전체에는 주소 대소문자와 예제 코드가 원형대로 남습니다.