Skip to content

Commit dec27b1

Browse files
committed
QCLINUX: arm64: dts: qcom: lemans: 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. Co-developed-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com> Signed-off-by: Ignatius Michael Jihan <mignatiu@qti.qualcomm.com> Signed-off-by: Vikram Sharma <vikramsa@qti.qualcomm.com>
1 parent f7beaa7 commit dec27b1

2 files changed

Lines changed: 31 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
@@ -395,6 +395,10 @@ lemans-evk-camx-dtbs := lemans-evk.dtb lemans-evk-camx.dtbo
395395

396396
dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camx.dtb
397397

398+
lemans-camx-el2-dtbs := lemans-evk-el2.dtb lemans-evk-camx.dtbo lemans-camx-el2.dtbo
399+
400+
dtb-$(CONFIG_ARCH_QCOM) += lemans-camx-el2.dtb
401+
398402
monaco-evk-camx-dtbs := monaco-evk.dtb monaco-evk-camx.dtbo
399403

400404
dtb-$(CONFIG_ARCH_QCOM) += monaco-evk-camx.dtb
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
/* cam_cpas label -> /soc@0/qcom,cam-cpas *
11+
fragment@0 {
12+
target-path = "/soc@0/qcom,cam-cpas";
13+
__overlay__ {
14+
enable-secure-qos-update = <0>;
15+
};
16+
};
17+
18+
/* cam_icp_firmware label -> /soc@0/qcom,cam-icp */
19+
fragment@1 {
20+
target-path = "/soc@0/qcom,cam-icp";
21+
__overlay__ {
22+
camera-firmware {
23+
iommus = <&apps_smmu 0x08c1 0x0400>;
24+
};
25+
};
26+
};
27+
};

0 commit comments

Comments
 (0)