← Documents Documentation/devicetree/bindings/cpufreq/cpufreq-spear.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

SPEAr CPUFreq

UP/SMP가 공유하는 CPU clock의 오름차순 frequency-table 바인딩입니다.

Source pathDocumentation/devicetree/bindings/cpufreq/cpufreq-spear.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

cpufreq-spear.txt:1-42

CPU0 node의 transition table과 optional latency를 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 SPEAr cpufreq driver
2 -------------------
3
4 SPEAr SoC cpufreq driver for CPU frequency scaling.
5 It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) systems
6 which share clock across all CPUs.
7
8 Required properties:
9 - cpufreq_tbl: Table of frequencies CPU could be transitioned into, in the
10 increasing order.
11
12 Optional properties:
13 - clock-latency: Specify the possible maximum transition latency for clock, in
14 unit of nanoseconds.
15
16 Both required and optional properties listed above must be defined under node
17 /cpus/cpu@0.
18
19 Examples:
20 --------
21 cpus {
22
23 <...>
24
25 cpu@0 {
26 compatible = "arm,cortex-a9";
27 reg = <0>;
28
29 <...>
30
31 cpufreq_tbl = < 166000
32 200000
33 250000
34 300000
35 400000
36 500000
37 600000 >;
38 };
39
40 <...>
41
42 };
43

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

SPEAr CPU frequency table

1-18

SPEAr SoC CPUFreq driver 바인딩입니다. CPU frequency scaling을 제공하며, 모든 CPU가 하나의 clock을 공유하는 uniprocessor(UP)와 symmetric multiprocessor(SMP) system을 모두 지원합니다.

필수 `cpufreq_tbl`은 CPU가 전환할 수 있는 frequency를 오름차순으로 나열한 table입니다. 선택적인 `clock-latency`는 가능한 최대 clock transition latency를 nanosecond 단위로 지정합니다.

필수 및 선택 속성은 모두 `/cpus/cpu@0` node 아래에 정의해야 합니다.

SPEAr shared CPU clock
/cpus/cpu@0cpufreq_tbl + optional latency
SPEAr CPUFreq driver오름차순 frequency 선택
Shared CPU clockUP 또는 모든 SMP CPUs

CPU0 node의 table이 UP 또는 SMP 전체가 공유하는 clock frequency를 선택합니다.

166-600 MHz frequency table 예제

19-42

예제 Cortex-A9 CPU0은 166000, 200000, 250000, 300000, 400000, 500000, 600000의 frequency entry를 오름차순으로 제공합니다.

cpus {

        <...>

        cpu@0 {
                compatible = "arm,cortex-a9";
                reg = <0>;

                <...>

                cpufreq_tbl = < 166000
                                200000
                                250000
                                300000
                                400000
                                500000
                                600000 >;
        };

        <...>

};