Skip to content

Commit 1118574

Browse files
committed
Merge tag 'rproc-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux
Pull remoteproc updates from Bjorn Andersson: - Make the Xilinx remoteproc driver support running on only a single core, disable still unsupported remoteproc features, and stop the remoteproc on shutdown to facilitate kexec. - Conclude the renaming of the Qualcomm ADSP driver to "PAS" that was started many years ago. * tag 'rproc-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux: remoteproc: xlnx: Fix kernel-doc warnings remoteproc: xlnx: Disable unsupported features remoteproc: xlnx: Add shutdown callback remoteproc: xlnx: Allow single core use in split mode dt-bindings: remoteproc: qcom,sa8775p-pas: Correct the interrupt number remoteproc: Don't use %pK through printk dt-bindings: remoteproc: qcom,sm8150-pas: Document QCS615 remoteproc remoteproc: qcom: pas: Conclude the rename from adsp
2 parents 821c9e5 + 1c20224 commit 1118574

File tree

13 files changed

+421
-370
lines changed

13 files changed

+421
-370
lines changed

Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ examples:
144144
145145
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>,
146146
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>,
147-
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
148147
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>,
148+
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>,
149149
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>;
150150
interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
151151

Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,26 @@ description:
1515

1616
properties:
1717
compatible:
18-
enum:
19-
- qcom,sc8180x-adsp-pas
20-
- qcom,sc8180x-cdsp-pas
21-
- qcom,sc8180x-slpi-pas
22-
- qcom,sm8150-adsp-pas
23-
- qcom,sm8150-cdsp-pas
24-
- qcom,sm8150-mpss-pas
25-
- qcom,sm8150-slpi-pas
26-
- qcom,sm8250-adsp-pas
27-
- qcom,sm8250-cdsp-pas
28-
- qcom,sm8250-slpi-pas
18+
oneOf:
19+
- items:
20+
- enum:
21+
- qcom,qcs615-adsp-pas
22+
- const: qcom,sm8150-adsp-pas
23+
- items:
24+
- enum:
25+
- qcom,qcs615-cdsp-pas
26+
- const: qcom,sm8150-cdsp-pas
27+
- enum:
28+
- qcom,sc8180x-adsp-pas
29+
- qcom,sc8180x-cdsp-pas
30+
- qcom,sc8180x-slpi-pas
31+
- qcom,sm8150-adsp-pas
32+
- qcom,sm8150-cdsp-pas
33+
- qcom,sm8150-mpss-pas
34+
- qcom,sm8150-slpi-pas
35+
- qcom,sm8250-adsp-pas
36+
- qcom,sm8250-cdsp-pas
37+
- qcom,sm8250-slpi-pas
2938

3039
reg:
3140
maxItems: 1
@@ -62,16 +71,17 @@ allOf:
6271
- if:
6372
properties:
6473
compatible:
65-
enum:
66-
- qcom,sc8180x-adsp-pas
67-
- qcom,sc8180x-cdsp-pas
68-
- qcom,sc8180x-slpi-pas
69-
- qcom,sm8150-adsp-pas
70-
- qcom,sm8150-cdsp-pas
71-
- qcom,sm8150-slpi-pas
72-
- qcom,sm8250-adsp-pas
73-
- qcom,sm8250-cdsp-pas
74-
- qcom,sm8250-slpi-pas
74+
contains:
75+
enum:
76+
- qcom,sc8180x-adsp-pas
77+
- qcom,sc8180x-cdsp-pas
78+
- qcom,sc8180x-slpi-pas
79+
- qcom,sm8150-adsp-pas
80+
- qcom,sm8150-cdsp-pas
81+
- qcom,sm8150-slpi-pas
82+
- qcom,sm8250-adsp-pas
83+
- qcom,sm8250-cdsp-pas
84+
- qcom,sm8250-slpi-pas
7585
then:
7686
properties:
7787
interrupts:
@@ -88,12 +98,13 @@ allOf:
8898
- if:
8999
properties:
90100
compatible:
91-
enum:
92-
- qcom,sc8180x-adsp-pas
93-
- qcom,sc8180x-cdsp-pas
94-
- qcom,sm8150-adsp-pas
95-
- qcom,sm8150-cdsp-pas
96-
- qcom,sm8250-cdsp-pas
101+
contains:
102+
enum:
103+
- qcom,sc8180x-adsp-pas
104+
- qcom,sc8180x-cdsp-pas
105+
- qcom,sm8150-adsp-pas
106+
- qcom,sm8150-cdsp-pas
107+
- qcom,sm8250-cdsp-pas
97108
then:
98109
properties:
99110
power-domains:

drivers/remoteproc/Kconfig

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ config QCOM_Q6V5_MSS
214214
handled by QCOM_Q6V5_PAS driver.
215215

216216
config QCOM_Q6V5_PAS
217-
tristate "Qualcomm Hexagon v5 Peripheral Authentication Service support"
217+
tristate "Qualcomm Peripheral Authentication Service support"
218218
depends on OF && ARCH_QCOM
219219
depends on QCOM_SMEM
220220
depends on RPMSG_QCOM_SMD || RPMSG_QCOM_SMD=n
@@ -229,11 +229,10 @@ config QCOM_Q6V5_PAS
229229
select QCOM_RPROC_COMMON
230230
select QCOM_SCM
231231
help
232-
Say y here to support the TrustZone based Peripheral Image Loader
233-
for the Qualcomm Hexagon v5 based remote processors. This is commonly
234-
used to control subsystems such as ADSP (Audio DSP),
235-
CDSP (Compute DSP), MPSS (Modem Peripheral SubSystem), and
236-
SLPI (Sensor Low Power Island).
232+
Say y here to support the TrustZone based Peripheral Image Loader for
233+
the Qualcomm remote processors. This is commonly used to control
234+
subsystems such as ADSP (Audio DSP), CDSP (Compute DSP), MPSS (Modem
235+
Peripheral SubSystem), and SLPI (Sensor Low Power Island).
237236

238237
config QCOM_Q6V5_WCSS
239238
tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader"

drivers/remoteproc/omap_remoteproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ static int omap_rproc_of_get_internal_memories(struct platform_device *pdev,
12111211
oproc->mem[i].dev_addr = data->mems[i].dev_addr;
12121212
oproc->mem[i].size = resource_size(res);
12131213

1214-
dev_dbg(dev, "memory %8s: bus addr %pa size 0x%x va %pK da 0x%x\n",
1214+
dev_dbg(dev, "memory %8s: bus addr %pa size 0x%x va %p da 0x%x\n",
12151215
data->mems[i].name, &oproc->mem[i].bus_addr,
12161216
oproc->mem[i].size, oproc->mem[i].cpu_addr,
12171217
oproc->mem[i].dev_addr);

drivers/remoteproc/pru_rproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ static int pru_rproc_probe(struct platform_device *pdev)
10551055
pru->mem_regions[i].pa = res->start;
10561056
pru->mem_regions[i].size = resource_size(res);
10571057

1058-
dev_dbg(dev, "memory %8s: pa %pa size 0x%zx va %pK\n",
1058+
dev_dbg(dev, "memory %8s: pa %pa size 0x%zx va %p\n",
10591059
mem_names[i], &pru->mem_regions[i].pa,
10601060
pru->mem_regions[i].size, pru->mem_regions[i].va);
10611061
}

0 commit comments

Comments
 (0)