← Documents Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / Remoteproc

Qualcomm Hexagon Q6V5 PIL

IPQ8074·QCS404 Hexagon firmware loader의 register, clock, reset, SMEM binding을 설명합니다.

Source pathDocumentation/devicetree/bindings/remoteproc/qcom,q6v5.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

qcom,q6v5.txt:1-102

필수 property와 원문 특이점을 요약하고 영어 원문 전체 및 줄 좌표별 한국어 전문을 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Qualcomm Hexagon Peripheral Image Loader
2
3 This document defines the binding for a component that loads and boots firmware
4 on the Qualcomm Hexagon core.
5
6 - compatible:
7 Usage: required
8 Value type: <string>
9 Definition: must be one of:
10 "qcom,ipq8074-wcss-pil"
11 "qcom,qcs404-wcss-pil"
12
13 - reg:
14 Usage: required
15 Value type: <prop-encoded-array>
16 Definition: must specify the base address and size of the qdsp6 and
17 rmb register blocks
18
19 - reg-names:
20 Usage: required
21 Value type: <stringlist>
22 Definition: must be "q6dsp" and "rmb"
23
24 - interrupts-extended:
25 Usage: required
26 Value type: <prop-encoded-array>
27 Definition: reference to the interrupts that match interrupt-names
28
29 - interrupt-names:
30 Usage: required
31 Value type: <stringlist>
32 Definition: must be "wdog", "fatal", "ready", "handover", "stop-ack"
33
34 - clocks:
35 Usage: required
36 Value type: <phandle>
37 Definition: reference to the clocks that match clock-names
38
39 - clock-names:
40 Usage: required
41 Value type: <stringlist>
42 Definition: The clocks needed depend on the compatible string:
43 qcom,ipq8074-wcss-pil:
44 no clock names required
45 qcom,qcs404-wcss-pil:
46 must be "xo", "gcc_abhs_cbcr", "gcc_abhs_cbcr",
47 "gcc_axim_cbcr", "lcc_ahbfabric_cbc", "tcsr_lcc_cbc",
48 "lcc_abhs_cbc", "lcc_tcm_slave_cbc", "lcc_abhm_cbc",
49 "lcc_axim_cbc", "lcc_bcr_sleep"
50
51 - resets:
52 Usage: required
53 Value type: <phandle>
54 Definition: reference to the list of 3 reset-controllers for the
55 wcss sub-system
56
57 - reset-names:
58 Usage: required
59 Value type: <stringlist>
60 Definition: must be "wcss_aon_reset", "wcss_reset", "wcss_q6_reset"
61 for the wcss sub-system
62
63 - memory-region:
64 Usage: required
65 Value type: <phandle>
66 Definition: reference to wcss reserved-memory region.
67
68 For the compatible string below the following supplies are required:
69 "qcom,qcs404-wcss-pil"
70 - cx-supply:
71 Usage: required
72 Value type: <phandle>
73 Definition: reference to the regulators to be held on behalf of the
74 booting of the Hexagon core
75
76 - qcom,smem-states:
77 Usage: required
78 Value type: <phandle>
79 Definition: reference to the smem state for requesting the Hexagon to
80 shut down
81
82 - qcom,smem-state-names:
83 Usage: required
84 Value type: <stringlist>
85 Definition: must be "stop"
86
87 - qcom,halt-regs:
88 Usage: required
89 Value type: <prop-encoded-array>
90 Definition: a phandle reference to a syscon representing TCSR followed
91 by the three offsets within syscon for q6, wcss and nc
92 halt registers.
93
94 - memory-region:
95 Usage: required
96 Value type: <phandle>
97 Definition: reference to the reserved-memory for the region
98
99 The Hexagon node may also have an subnode named either "smd-edge" or
100 "glink-edge" that describes the communication edge, channels and devices
101 related to the Hexagon. See ../soc/qcom/qcom,smd.yaml and
102 ../soc/qcom/qcom,glink.txt for details on how to describe these.
103

3. 한국어 전문 번역

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

Qualcomm Hexagon PIL

1-5

이 문서는 Qualcomm Hexagon core에 firmware를 load하고 boot하는 component의 binding을 정의합니다.

Compatible과 register block

6-23

필수 string `compatible`은 `qcom,ipq8074-wcss-pil` 또는 `qcom,qcs404-wcss-pil`이어야 합니다. 필수 prop-encoded array `reg`에는 `qdsp6`와 `rmb` register block의 base address와 size를 지정합니다. 필수 stringlist `reg-names`는 `q6dsp`, `rmb`여야 합니다.

Interrupt와 compatible별 clock

24-50

필수 `interrupts-extended`는 `interrupt-names`에 대응하는 interrupt reference입니다. `interrupt-names` stringlist는 `wdog`, `fatal`, `ready`, `handover`, `stop-ack`여야 합니다.

필수 `clocks`는 `clock-names`에 대응하는 clock reference입니다. `qcom,ipq8074-wcss-pil`에는 clock 이름이 필요하지 않습니다.

`qcom,qcs404-wcss-pil`에는 `xo`, `gcc_abhs_cbcr`, `gcc_abhs_cbcr`, `gcc_axim_cbcr`, `lcc_ahbfabric_cbc`, `tcsr_lcc_cbc`, `lcc_abhs_cbc`, `lcc_tcm_slave_cbc`, `lcc_abhm_cbc`, `lcc_axim_cbc`, `lcc_bcr_sleep`가 필요합니다. 원문은 `gcc_abhs_cbcr`를 두 번 나열합니다.

Reset controller와 reserved memory

51-67

필수 `resets` phandle은 WCSS subsystem의 reset-controller 3개 목록을 참조합니다. `reset-names` stringlist는 `wcss_aon_reset`, `wcss_reset`, `wcss_q6_reset`이어야 합니다.

필수 `memory-region` phandle은 WCSS reserved-memory region을 참조합니다.

QCS404 CX supply

68-75

`qcom,qcs404-wcss-pil` compatible에서는 필수 `cx-supply` phandle이 필요합니다. 이는 Hexagon core boot를 대신해 켜진 상태로 유지할 regulator를 참조합니다.

SMEM shutdown과 halt register

76-98

필수 `qcom,smem-states` phandle은 Hexagon shutdown 요청에 사용할 SMEM state를 참조하고, 필수 `qcom,smem-state-names` stringlist는 `stop`이어야 합니다.

필수 `qcom,halt-regs` prop-encoded array는 TCSR을 나타내는 syscon phandle 뒤에 q6, wcss, nc halt register의 syscon 내부 offset 3개를 둡니다.

문서에 다시 등장하는 필수 `memory-region` phandle은 해당 region의 reserved-memory를 참조합니다.

SMD 또는 GLINK communication edge

99-102

Hexagon node에는 `smd-edge` 또는 `glink-edge` subnode를 둘 수 있으며, Hexagon 관련 communication edge, channel, device를 기술합니다. 작성 방법은 `../soc/qcom/qcom,smd.yaml`과 `../soc/qcom/qcom,glink.txt`를 참조하십시오.