요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Binding for Texas Instruments ADPLL clock.
This binding uses the common clock binding[1]. It assumes a
register-mapped ADPLL with two to three selectable input clocks
and three to four children.
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
Required properties:
- compatible : shall be one of "ti,dm814-adpll-s-clock" or
"ti,dm814-adpll-lj-clock" depending on the type of the ADPLL
- #clock-cells : from common clock binding; shall be set to 1.
- clocks : link phandles of parent clocks clkinp and clkinpulow, note
that the adpll-s-clock also has an optional clkinphif
- reg : address and length of the register set for controlling the ADPLL.
Examples:
adpll_mpu_ck: adpll@40 {
#clock-cells = <1>;
compatible = "ti,dm814-adpll-s-clock";
reg = <0x40 0x40>;
clocks = <&devosc_ck &devosc_ck &devosc_ck>;
clock-names = "clkinp", "clkinpulow", "clkinphif";
clock-output-names = "481c5040.adpll.dcoclkldo",
"481c5040.adpll.clkout",
"481c5040.adpll.clkoutx2",
"481c5040.adpll.clkouthif";
};
adpll_dsp_ck: adpll@80 {
#clock-cells = <1>;
compatible = "ti,dm814-adpll-lj-clock";
reg = <0x80 0x30>;
clocks = <&devosc_ck &devosc_ck>;
clock-names = "clkinp", "clkinpulow";
clock-output-names = "481c5080.adpll.dcoclkldo",
"481c5080.adpll.clkout",
"481c5080.adpll.clkoutldo";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
TI ADPLL 입력과 출력
1-16Texas Instruments ADPLL clock 바인딩입니다. Register-mapped ADPLL이 두 개 또는 세 개의 선택 가능한 input clock과 세 개 또는 네 개의 child output을 가진다고 가정하며 공통 clock 바인딩을 사용합니다.
`compatible`은 ADPLL 종류에 따라 `ti,dm814-adpll-s-clock` 또는 `ti,dm814-adpll-lj-clock`입니다. 여러 child output을 index로 제공하므로 `#clock-cells`는 1이고, `reg`에는 ADPLL control register set의 address와 length를 넣습니다.
`clocks`에는 `clkinp`와 `clkinpulow` parent phandle을 연결합니다. `adpll-s-clock`은 선택적으로 `clkinphif` input도 가집니다.
두 ADPLL type의 input 및 output 수 차이를 정리합니다.
ADPLL-S와 ADPLL-LJ 예제
17-39`adpll_mpu_ck` 예제는 세 input 이름과 `dcoclkldo`, `clkout`, `clkoutx2`, `clkouthif`의 네 output을 제공합니다. `adpll_dsp_ck` 예제는 두 input과 `dcoclkldo`, `clkout`, `clkoutldo`의 세 output을 제공합니다.
adpll_mpu_ck: adpll@40 {
#clock-cells = <1>;
compatible = "ti,dm814-adpll-s-clock";
reg = <0x40 0x40>;
clocks = <&devosc_ck &devosc_ck &devosc_ck>;
clock-names = "clkinp", "clkinpulow", "clkinphif";
clock-output-names = "481c5040.adpll.dcoclkldo",
"481c5040.adpll.clkout",
"481c5040.adpll.clkoutx2",
"481c5040.adpll.clkouthif";
};
adpll_dsp_ck: adpll@80 {
#clock-cells = <1>;
compatible = "ti,dm814-adpll-lj-clock";
reg = <0x80 0x30>;
clocks = <&devosc_ck &devosc_ck>;
clock-names = "clkinp", "clkinpulow";
clock-output-names = "481c5080.adpll.dcoclkldo",
"481c5080.adpll.clkout",
"481c5080.adpll.clkoutldo";
};
요약과 해설
adpll.txt:1-39두 ADPLL type의 parent 및 output 수 차이를 설명합니다.