Skip to content

Commit 2c54e18

Browse files
committed
Merge tag 'rproc-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux
Pull remoteproc updates from Bjorn Andersson: "In the remoteproc core, it's now possible to mark the sysfs attributes read only on a per-instance basis, which is then used by the TI wkup M3 driver. Also, the rproc_shutdown() interface propagates errors to the caller and an array underflow is fixed in the debugfs interface. The rproc_da_to_va() API is moved to the public API to allow e.g. child rpmsg devices to acquire pointers to memory shared with the remote processor. The TI K3 R5F and DSP drivers gains support for attaching to instances already started by the bootloader, aka IPC-only mode. The Mediatek remoteproc driver gains support for the MT8186 SCP. The driver's probe function is reordered and moved to use the devres version of rproc_alloc() to save a few gotos. The driver's probe function is also transitioned to use dev_err_probe() to provide better debug support. Support for the Qualcomm SC7280 Wireless Subsystem (WPSS) is introduced. The Hexagon based remoteproc drivers gains support for voting for interconnect bandwidth during launch of the remote processor. The modem subsystem (MSS) driver gains support for probing the BAM-DMUX driver, which provides the network interface towards the modem on a set of older Qualcomm platforms. In addition a number a bug fixes are introduces in the Qualcomm drivers. Lastly Qualcomm ADSP DeviceTree binding is converted to YAML format, to allow validation of DeviceTree source files" * tag 'rproc-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: (22 commits) remoteproc: qcom_q6v5_mss: Create platform device for BAM-DMUX remoteproc: qcom: q6v5_wpss: Add support for sc7280 WPSS dt-bindings: remoteproc: qcom: Add SC7280 WPSS support dt-bindings: remoteproc: qcom: adsp: Convert binding to YAML remoteproc: k3-dsp: Add support for IPC-only mode for all K3 DSPs remoteproc: k3-dsp: Refactor mbox request code in start remoteproc: k3-r5: Add support for IPC-only mode for all R5Fs remoteproc: k3-r5: Refactor mbox request code in start remoteproc: Change rproc_shutdown() to return a status remoteproc: qcom: q6v5: Add interconnect path proxy vote remoteproc: mediatek: Support mt8186 scp dt-bindings: remoteproc: mediatek: Add binding for mt8186 scp remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region remoteproc: move rproc_da_to_va declaration to remoteproc.h remoteproc: wkup_m3: Set sysfs_read_only flag remoteproc: Introduce sysfs_read_only flag remoteproc: Fix count check in rproc_coredump_write() remoteproc: mtk_scp: Use dev_err_probe() where possible ...
2 parents d177850 + 59983c7 commit 2c54e18

22 files changed

+1305
-280
lines changed

Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ properties:
1717
compatible:
1818
enum:
1919
- mediatek,mt8183-scp
20+
- mediatek,mt8186-scp
2021
- mediatek,mt8192-scp
2122
- mediatek,mt8195-scp
2223

Documentation/devicetree/bindings/remoteproc/qcom,hexagon-v56.txt

Lines changed: 0 additions & 140 deletions
This file was deleted.
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/remoteproc/qcom,qcs404-cdsp-pil.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm QCS404 CDSP Peripheral Image Loader
8+
9+
maintainers:
10+
- Bjorn Andersson <bjorn.andersson@linaro.org>
11+
12+
description:
13+
This document defines the binding for a component that loads and boots firmware
14+
on the Qualcomm Technology Inc. CDSP (Compute DSP).
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- qcom,qcs404-cdsp-pil
20+
21+
reg:
22+
maxItems: 1
23+
description:
24+
The base address and size of the qdsp6ss register
25+
26+
interrupts:
27+
items:
28+
- description: Watchdog interrupt
29+
- description: Fatal interrupt
30+
- description: Ready interrupt
31+
- description: Handover interrupt
32+
- description: Stop acknowledge interrupt
33+
34+
interrupt-names:
35+
items:
36+
- const: wdog
37+
- const: fatal
38+
- const: ready
39+
- const: handover
40+
- const: stop-ack
41+
42+
clocks:
43+
items:
44+
- description: XO clock
45+
- description: SWAY clock
46+
- description: TBU clock
47+
- description: BIMC clock
48+
- description: AHB AON clock
49+
- description: Q6SS SLAVE clock
50+
- description: Q6SS MASTER clock
51+
- description: Q6 AXIM clock
52+
53+
clock-names:
54+
items:
55+
- const: xo
56+
- const: sway
57+
- const: tbu
58+
- const: bimc
59+
- const: ahb_aon
60+
- const: q6ss_slave
61+
- const: q6ss_master
62+
- const: q6_axim
63+
64+
power-domains:
65+
items:
66+
- description: CX power domain
67+
68+
resets:
69+
items:
70+
- description: AOSS restart
71+
72+
reset-names:
73+
items:
74+
- const: restart
75+
76+
memory-region:
77+
maxItems: 1
78+
description: Reference to the reserved-memory for the Hexagon core
79+
80+
qcom,halt-regs:
81+
$ref: /schemas/types.yaml#/definitions/phandle-array
82+
description:
83+
Phandle reference to a syscon representing TCSR followed by the
84+
three offsets within syscon for q6, modem and nc halt registers.
85+
86+
qcom,smem-states:
87+
$ref: /schemas/types.yaml#/definitions/phandle-array
88+
description: States used by the AP to signal the Hexagon core
89+
items:
90+
- description: Stop the modem
91+
92+
qcom,smem-state-names:
93+
$ref: /schemas/types.yaml#/definitions/string
94+
description: The names of the state bits used for SMP2P output
95+
items:
96+
- const: stop
97+
98+
required:
99+
- compatible
100+
- reg
101+
- interrupts
102+
- interrupt-names
103+
- clocks
104+
- clock-names
105+
- power-domains
106+
- resets
107+
- reset-names
108+
- qcom,halt-regs
109+
- memory-region
110+
- qcom,smem-states
111+
- qcom,smem-state-names
112+
113+
additionalProperties: false
114+
115+
examples:
116+
- |
117+
#include <dt-bindings/interrupt-controller/arm-gic.h>
118+
#include <dt-bindings/clock/qcom,gcc-qcs404.h>
119+
#include <dt-bindings/power/qcom-rpmpd.h>
120+
#include <dt-bindings/clock/qcom,turingcc-qcs404.h>
121+
remoteproc@b00000 {
122+
compatible = "qcom,qcs404-cdsp-pil";
123+
reg = <0x00b00000 0x4040>;
124+
125+
interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
126+
<&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
127+
<&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
128+
<&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
129+
<&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
130+
interrupt-names = "wdog", "fatal", "ready",
131+
"handover", "stop-ack";
132+
133+
clocks = <&xo_board>,
134+
<&gcc GCC_CDSP_CFG_AHB_CLK>,
135+
<&gcc GCC_CDSP_TBU_CLK>,
136+
<&gcc GCC_BIMC_CDSP_CLK>,
137+
<&turingcc TURING_WRAPPER_AON_CLK>,
138+
<&turingcc TURING_Q6SS_AHBS_AON_CLK>,
139+
<&turingcc TURING_Q6SS_AHBM_AON_CLK>,
140+
<&turingcc TURING_Q6SS_Q6_AXIM_CLK>;
141+
clock-names = "xo",
142+
"sway",
143+
"tbu",
144+
"bimc",
145+
"ahb_aon",
146+
"q6ss_slave",
147+
"q6ss_master",
148+
"q6_axim";
149+
150+
power-domains = <&rpmhpd SDM845_CX>;
151+
152+
resets = <&gcc GCC_CDSP_RESTART>;
153+
reset-names = "restart";
154+
155+
qcom,halt-regs = <&tcsr 0x19004>;
156+
157+
memory-region = <&cdsp_fw_mem>;
158+
159+
qcom,smem-states = <&cdsp_smp2p_out 0>;
160+
qcom,smem-state-names = "stop";
161+
};

0 commit comments

Comments
 (0)