Skip to contentSkip to conversation

arm64: dts: qcom: qcs615: Add Command DB support

PATCH Applied Lijuan Gao 2 participants 2 messages Feb 21, 2025 – Mar 4, 2025

Subsystems (3)
lore
Share & tools
lore

Lijuan Gao

author
#0 lore raw

PATCH 1/1 arm64: dts: qcom: qcs615: Add Command DB support

Command DB is a database in the shared memory of QCOM SoCs, that provides a mapping between resource key and the resource address for a system resource managed by a remote processor. The data is stored in a shared memory region and is loaded by the remote processor. Therefore, enabling Command DB ensures that those resources function properly.

---
 arch/arm64/boot/dts/qcom/qcs615.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/boot/dts/qcom/qcs615.dtsi +6 -0
index f4abfad474ea..4e060ce68e6c 100644
@@ -417,6 +417,12 @@ reserved-memory {
 		#size-cells = <2>;
 		ranges;
 
+		aop_cmd_db_mem: aop-cmd-db@85f20000 {
+			compatible = "qcom,cmd-db";
+			reg = <0x0 0x85f20000 0x0 0x20000>;
+			no-map;
+		};
+
 		smem_region: smem@86000000 {
 			compatible = "qcom,smem";
 			reg = <0x0 0x86000000 0x0 0x200000>;

---
base-commit: 8936cec5cb6e27649b86fabf383d7ce4113bba49
change-id: 20250220-add_command_db_support-71c1e7d683b4

Best regards,

Signature · 1 line
Lijuan Gao <[email protected]>
maintainer Applied
#1 lore raw
Quoted 8 lines · Lijuan Gao

Command DB is a database in the shared memory of QCOM SoCs, that provides a mapping between resource key and the resource address for a system resource managed by a remote processor. The data is stored in a shared memory region and is loaded by the remote processor. Therefore, enabling Command DB ensures that those resources function properly.

[...]

Applied, thanks!

[1/1] arm64: dts: qcom: qcs615: Add Command DB support

      commit: 83934b5d6b1a9664867beb4e822a6f9fa1fac687

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>