Skip to content

Commit 5a0fa7d

Browse files
authored
Merge pull request #203 from mukeshojha-linux/6.18.y
6.18.y: Support to bring el2 overlay support for Monaco and Talos
2 parents 40c4e2e + b706d5c commit 5a0fa7d

4 files changed

Lines changed: 71 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb
4646

4747
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk.dtb
4848

49+
monaco-evk-el2-dtbs := monaco-evk.dtb monaco-el2.dtbo
50+
51+
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-el2.dtb
52+
4953
monaco-evk-camera-imx577-dtbs := monaco-evk.dtb monaco-evk-camera-imx577.dtbo
5054
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-camera-imx577.dtb
5155
monaco-evk-camx-dtbs := monaco-evk.dtb monaco-evk-camx.dtbo
@@ -142,6 +146,11 @@ dtb-$(CONFIG_ARCH_QCOM) += qcm6490-shift-otter.dtb
142146
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb
143147
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb
144148
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride.dtb
149+
150+
qcs615-ride-el2-dtbs := qcs615-ride.dtb talos-el2.dtbo
151+
152+
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-el2.dtb
153+
145154
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb
146155

147156
qcs6490-rb3gen2-vision-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-vision-mezzanine.dtbo
@@ -157,6 +166,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-vision-mezzanine-camx.dtb
157166

158167
dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride.dtb
159168

169+
qcs8300-ride-el2-dtbs := qcs8300-ride.dtb monaco-el2.dtbo
170+
171+
dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride-el2.dtb
172+
160173
qcs8300-ride-camx-dtbs:= qcs8300-ride.dtb qcs8300-ride-camx.dtbo
161174

162175
dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride-camx.dtb

arch/arm64/boot/dts/qcom/lemans-el2.dtso

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
/dts-v1/;
1111
/plugin/;
1212

13+
&gpu_zap_shader {
14+
status = "disabled";
15+
};
16+
1317
&iris {
1418
/* More driver work is needed */
1519
status = "disabled";
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
*
5+
* Monaco specific modifications required to boot in EL2.
6+
*/
7+
8+
/dts-v1/;
9+
/plugin/;
10+
11+
&gpu_zap_shader {
12+
status = "disabled";
13+
};
14+
15+
&iris {
16+
status = "disabled";
17+
};
18+
19+
&remoteproc_adsp {
20+
iommus = <&apps_smmu 0x2000 0x0>;
21+
};
22+
23+
&remoteproc_cdsp {
24+
iommus = <&apps_smmu 0x19c0 0x0400>;
25+
};
26+
27+
&remoteproc_gpdsp {
28+
iommus = <&apps_smmu 0x28a0 0x0>;
29+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
5+
* Talos specific modifications required to boot in EL2.
6+
*/
7+
8+
/dts-v1/;
9+
/plugin/;
10+
11+
&gpu_zap_shader {
12+
status = "disabled";
13+
};
14+
15+
&remoteproc_adsp {
16+
iommus = <&apps_smmu 0x1720 0x0>;
17+
};
18+
19+
&remoteproc_cdsp {
20+
iommus = <&apps_smmu 0x1080 0x0>;
21+
};
22+
23+
&venus {
24+
status = "disabled";
25+
};

0 commit comments

Comments
 (0)