요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Binding for a type of quad channel digital frequency synthesizer found on
certain STMicroelectronics consumer electronics SoC devices.
This version contains a programmable PLL which can generate up to 216, 432
or 660MHz (from a 30MHz oscillator input) as the input to the digital
synthesizers.
This binding uses the common clock binding[1].
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
Required properties:
- compatible : shall be:
"st,quadfs"
"st,quadfs-d0"
"st,quadfs-d2"
"st,quadfs-d3"
"st,quadfs-pll"
- #clock-cells : from common clock binding; shall be set to 1.
- reg : A Base address and length of the register set.
- clocks : from common clock binding
- clock-output-names : From common clock binding. The block has 4
clock outputs but not all of them in a specific instance
have to be used in the SoC. If a clock name is left as
an empty string then no clock will be created for the
output associated with that string index. If fewer than
4 strings are provided then no clocks will be created
for the remaining outputs.
Example:
clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
#clock-cells = <1>;
compatible = "st,quadfs-pll";
reg = <0x9103000 0x1000>;
clocks = <&clk_sysin>;
clock-output-names = "clk-s-c0-fs0-ch0",
"clk-s-c0-fs0-ch1",
"clk-s-c0-fs0-ch2",
"clk-s-c0-fs0-ch3";
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
QuadFS digital frequency synthesizer
1-34STMicroelectronics consumer-electronics SoC의 4-channel digital frequency synthesizer 바인딩입니다. 이 버전의 programmable PLL은 30 MHz oscillator input으로부터 최대 216, 432 또는 660 MHz를 생성해 digital synthesizer의 input으로 공급합니다.
`compatible`은 `st,quadfs`, `st,quadfs-d0`, `st,quadfs-d2`, `st,quadfs-d3`, `st,quadfs-pll` 중 하나입니다. `#clock-cells`는 1이며 `reg`는 register set, `clocks`는 input parent를 지정합니다.
Block에는 output이 네 개 있지만 SoC instance마다 모두 사용할 필요는 없습니다. `clock-output-names`의 어떤 entry가 빈 문자열이면 그 index의 clock을 만들지 않고, 문자열을 네 개보다 적게 제공하면 나머지 output clock도 만들지 않습니다.
30 MHz input에서 programmable PLL과 네 synthesizer channel로 이어지는 경로입니다.
QuadFS 4-channel 예제
35-48예제 `clk_s_c0_quadfs`는 `clk_sysin`을 parent로 받고 `clk-s-c0-fs0-ch0`부터 `ch3`까지 네 output 이름을 모두 제공하므로 네 channel clock을 생성합니다.
clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
#clock-cells = <1>;
compatible = "st,quadfs-pll";
reg = <0x9103000 0x1000>;
clocks = <&clk_sysin>;
clock-output-names = "clk-s-c0-fs0-ch0",
"clk-s-c0-fs0-ch1",
"clk-s-c0-fs0-ch2",
"clk-s-c0-fs0-ch3";
};
요약과 해설
st,quadfs.txt:1-4830 MHz input의 PLL 주파수와 선택적으로 생성하는 네 output을 설명합니다.