요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
OMAP HS USB Host TLL (Transceiver-Less Interface)
Required properties:
- compatible : should be "ti,usbhs-tll"
- reg : should contain one register range i.e. start and length
- interrupts : should contain the TLL module's interrupt
- ti,hwmod : must contain "usb_tll_hs"
Optional properties:
- clocks: a list of phandles and clock-specifier pairs, one for each entry in
clock-names.
- clock-names: should include:
* "usb_tll_hs_usb_ch0_clk" - USB TLL channel 0 clock
* "usb_tll_hs_usb_ch1_clk" - USB TLL channel 1 clock
* "usb_tll_hs_usb_ch2_clk" - USB TLL channel 2 clock
Example:
usbhstll: usbhstll@4a062000 {
compatible = "ti,usbhs-tll";
reg = <0x4a062000 0x1000>;
interrupts = <78>;
ti,hwmods = "usb_tll_hs";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
OMAP USB TLL 필수 속성
1-9OMAP HS USB Host TLL은 Transceiver-Less Interface입니다. `compatible`은 `ti,usbhs-tll`, `reg`는 시작 주소와 길이로 이루어진 하나의 범위, `interrupts`는 TLL module interrupt를 담아야 합니다. 하드웨어 모듈 속성은 원문 표기대로 `ti,hwmod`이며 값은 `usb_tll_hs`입니다.
TLL module이 하나의 interrupt와 세 채널 클록을 통해 USB Host 측 인터페이스를 제공합니다.
채널별 선택 클록
10-19선택 속성 `clocks`는 `clock-names`의 각 항목에 대응하는 phandle과 clock-specifier 쌍입니다. `clock-names`에는 USB TLL channel 0·1·2 클록인 `usb_tll_hs_usb_ch0_clk`, `usb_tll_hs_usb_ch1_clk`, `usb_tll_hs_usb_ch2_clk`가 포함되어야 합니다.
USB TLL 예제
20-27예제는 `0x4a062000`의 4KiB TLL 레지스터 범위, interrupt 78, `usb_tll_hs` 하드웨어 모듈을 지정합니다. 예제 속성은 필수 설명의 단수 `ti,hwmod`와 달리 복수형 `ti,hwmods`를 사용하며, 이 원문 불일치를 그대로 보존합니다.
usbhstll: usbhstll@4a062000 {
compatible = "ti,usbhs-tll";
reg = <0x4a062000 0x1000>;
interrupts = <78>;
ti,hwmods = "usb_tll_hs";
};
요약과 해설
omap-usb-tll.txt:1-27세 TLL channel clock과 OMAP4 register 예제, `ti,hwmod` 표기 차이를 함께 설명합니다.