Re: [PATCH v3 05/11] arm64: dts: qcom: sc7180: Add cmd_db reserved area

From: Rajendra Nayak
Date: Wed Oct 23 2019 - 22:31:06 EST




On 10/23/2019 5:46 PM, Sibi Sankar wrote:
On 2019-10-23 14:32, Rajendra Nayak wrote:
From: Maulik Shah <mkshah@xxxxxxxxxxxxxx>

Command_db provides mapping for resource key and address managed
by remote processor. Add cmd_db reserved memory area.

Signed-off-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
Signed-off-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
---
Âarch/arm64/boot/dts/qcom/sc7180.dtsi | 12 ++++++++++++
Â1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi
b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index f17684148595..dfa49ef2bce0 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -32,6 +32,18 @@
ÂÂÂÂÂÂÂÂ };
ÂÂÂÂ };

+ÂÂÂ reserved_memory: reserved-memory {
+ÂÂÂÂÂÂÂ #address-cells = <2>;
+ÂÂÂÂÂÂÂ #size-cells = <2>;
+ÂÂÂÂÂÂÂ ranges;
+
+ÂÂÂÂÂÂÂ cmd_db: reserved-memory@80820000 {

aop_cmd_db_mem: memory@80820000 {
please use ^^ instead

right, I thought I looked up sm8150.dtsi to make sure
the labeling for various things is consistent, but
maybe i didn't. Will fix. Thanks.


+ÂÂÂÂÂÂÂÂÂÂÂ reg = <0x0 0x80820000 0x0 0x20000>;
+ÂÂÂÂÂÂÂÂÂÂÂ compatible = "qcom,cmd-db";
+ÂÂÂÂÂÂÂÂÂÂÂ no-map;
+ÂÂÂÂÂÂÂ };
+ÂÂÂ };
+
ÂÂÂÂ cpus {
ÂÂÂÂÂÂÂÂ #address-cells = <2>;
ÂÂÂÂÂÂÂÂ #size-cells = <0>;


--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation