요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Binding for a ST pll clock driver.
This binding uses the common clock binding[1].
Base address is located to the parent node. See clock binding[2]
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt
Required properties:
- compatible : shall be:
"st,clkgen-pll0"
"st,clkgen-pll0-a0"
"st,clkgen-pll0-c0"
"st,clkgen-pll1"
"st,clkgen-pll1-c0"
"st,stih407-clkgen-plla9"
"st,stih418-clkgen-plla9"
- #clock-cells : From common clock binding; shall be set to 1.
- clocks : From common clock binding
- clock-output-names : From common clock binding.
Example:
clockgen-a9@92b0000 {
compatible = "st,clkgen-c32";
reg = <0x92b0000 0xffff>;
clockgen_a9_pll: clockgen-a9-pll {
#clock-cells = <1>;
compatible = "st,stih407-clkgen-plla9";
clocks = <&clk_sysin>;
clock-output-names = "clockgen-a9-pll-odf";
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
ST Clockgen PLL 속성
1-25ST PLL clock driver 바인딩입니다. Base address는 이 child node가 아니라 parent Clockgen node에 있으며 `Documentation/devicetree/bindings/clock/st/st,clkgen.txt`를 따릅니다.
`compatible`은 `st,clkgen-pll0`, `st,clkgen-pll0-a0`, `st,clkgen-pll0-c0`, `st,clkgen-pll1`, `st,clkgen-pll1-c0`, `st,stih407-clkgen-plla9`, `st,stih418-clkgen-plla9` 중 hardware에 맞는 값을 사용합니다.
공통 clock 바인딩에 따라 `#clock-cells`는 1이며, `clocks`로 input parent를 지정하고 `clock-output-names`로 output 이름을 제공합니다.
일반 Clockgen PLL과 A9 전용 PLL compatible을 구분합니다.
A9 PLL 예제
26-40예제에서는 parent `clockgen-a9@92b0000`가 공통 register 영역을 소유합니다. Child `clockgen_a9_pll`은 `clk_sysin`을 input으로 받고 1-cell output `clockgen-a9-pll-odf`를 제공합니다.
clockgen-a9@92b0000 {
compatible = "st,clkgen-c32";
reg = <0x92b0000 0xffff>;
clockgen_a9_pll: clockgen-a9-pll {
#clock-cells = <1>;
compatible = "st,stih407-clkgen-plla9";
clocks = <&clk_sysin>;
clock-output-names = "clockgen-a9-pll-odf";
};
};
요약과 해설
st,clkgen-pll.txt:1-40PLL0, PLL1, A9 PLL compatible과 1-cell output 예제를 설명합니다.