Skip to content

Commit 870b281

Browse files
committed
QCLINUX: arm64: dts: qcom: monaco: Add CamX EL2 overlay
Add camx el2 DT overlay for lemans platforms. The overlay updates the ICP firmware node with Secure SMMU SID and disables secure QoS updates for CPAS in EL2/KVM configurations. Wire up the new overlay-built DTBs in the qcom DT Makefile so the corresponding *-camx-el2.dtb targets are generated. Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
1 parent 06f8ab9 commit 870b281

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ monaco-evk-camx-dtbs := monaco-evk.dtb monaco-evk-camx.dtbo
411411

412412
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-camx.dtb
413413

414+
monaco-camx-el2-dtbs := monaco-evk-el2.dtb monaco-evk-camx.dtbo monaco-camx-el2.dtbo
415+
416+
dtb-$(CONFIG_ARCH_QCOM) += monaco-camx-el2.dtb
417+
414418
qcs615-ride-camx-dtbs := qcs615-ride.dtb qcs615-ride-camx.dtbo
415419

416420
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-camx.dtb
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+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
fragment@0 {
11+
target-path = "/soc@0/qcom,cam-cpas";
12+
__overlay__ {
13+
enable-secure-qos-update = <0>;
14+
};
15+
};
16+
17+
fragment@1 {
18+
target-path = "/soc@0/qcom,cam-icp";
19+
__overlay__ {
20+
camera-firmware {
21+
iommus = <&apps_smmu 0x08c1 0x0400>;
22+
};
23+
};
24+
};
25+
};

0 commit comments

Comments
 (0)