Message ID | 20230705053914.9759-2-quic_kbajaj@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1658154vqx; Tue, 4 Jul 2023 23:10:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlGPvzsHPug/2jltTvRSrYOV3KWTs8O4jrVVx6uIVkl2JXbTAXqRpiUQqN7LcmWNFCuRRumF X-Received: by 2002:a17:902:9346:b0:1b8:903e:bcf3 with SMTP id g6-20020a170902934600b001b8903ebcf3mr7308207plp.24.1688537403193; Tue, 04 Jul 2023 23:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688537403; cv=none; d=google.com; s=arc-20160816; b=cvIEW55GfDVX+0CBre6ZoX1eFst3wIr8sLt0YcUvnjwnNmrYJHRcgeZCmFvjoZy3Ud c+c9IJz3IX+TLoyJpT7uolxYdkhR16IRp/LVRTRoTdaAmD5hynVMcWcHjFfX54WaPLMt Ms8DY6JhP3oiEGR3ypIxrlS9ucHKDmO6pj+4pMC+6KonMyfiLvw/C1SNkvp9Fo/0Eb+m Ov4Q5srcwCjgPSHeEZSMJSeSimV8BryTTBZKw6SExMm+1YnauUADdrxMmVFZyCYFNeZ/ dStbhkkfz9u7tWh9ATkpeiSMd8OfZ/uL63fmAzDEu/VLDRfrVfHmdcnHJaG0JCJTtlGO 81Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FzqulshdNgSmcpqlgDmtEO55P9Ahcv6wigFia9ZAxFo=; fh=hSCSUIVDtVbA/Ox52ubsoicWkzwPHNRvmYySap4OF8w=; b=ZhCR//2GmTJsrYXGZymSgcoQJp2ME850SXBCA1RiahFMR79+jX5SIwWO/UA3F/EsVD +nkyjYoixgPUsp1MHZn1mHpG0yhsSOSJH7/4X4mNgl3w5eoAfqS2EZn8GY/FRvrOi1IL w1VW4Z42x/sJxLTyUYQJXYgbDmWq8eZX2RDmStrZQ15qTCsxnPM/SeHuyT+ETQnBAK+f YEGigusWKx/PYWTaL2aMFcmO4VhSLqx1hE1J/IKyJ6SMG8UGigX13YNECy3qdrYWF+ao hMj5s2rGWwbAsI2pm4U/QjCmqdwH/fPK/jsZDEHqZvnmBdFEg52ZpZ2PUyLRX4/tI480 vPtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FzztOhAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kg14-20020a170903060e00b001b89bfd0c34si4992714plb.18.2023.07.04.23.09.48; Tue, 04 Jul 2023 23:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FzztOhAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbjGEFkp (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Wed, 5 Jul 2023 01:40:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjGEFkn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Jul 2023 01:40:43 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F407134; Tue, 4 Jul 2023 22:40:42 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3654sTMU024093; Wed, 5 Jul 2023 05:40:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=FzqulshdNgSmcpqlgDmtEO55P9Ahcv6wigFia9ZAxFo=; b=FzztOhAFuLdU09Yc0yttMzqdf/qLCbxoG6mK8/pyf8iszQT5Xfj7/Bg5J/RtCCHPOM/m pkb7PuNf0K+OU0mXy1/eWT7CViuavALsHM03n0cDqDGqdD6P54H5ZWP9A2UN3T4ZLfwA +TH6bHBgKhmTQSigQstLsEGR2fiaeg7Ca07lwNsy66YyNy3QZRLzeLZOQmWFGT4Zt6wF yE0wnMQaSLH8dLNgP0f5iwcvr3ibwsHsMQxIULBAqftpO3z0vBeCTO5PnH+0mpnZMJHF jRd5gzyD2Z4lTdUhQUGgNsV/6d1in5dRvl/QHRqUsQMk5kMHsjZ5HhUUH2/gACGhxiYM lw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rm8v9jy3j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 05:40:35 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3655eXov008496 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Jul 2023 05:40:33 GMT Received: from hu-kbajaj-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Tue, 4 Jul 2023 22:40:30 -0700 From: Komal Bajaj <quic_kbajaj@quicinc.com> To: <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org> CC: <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Komal Bajaj <quic_kbajaj@quicinc.com> Subject: [PATCH 1/2] arm64: dts: qcom: qdu1000-idp: Update reserved memory region Date: Wed, 5 Jul 2023 11:09:13 +0530 Message-ID: <20230705053914.9759-2-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230705053914.9759-1-quic_kbajaj@quicinc.com> References: <20230705053914.9759-1-quic_kbajaj@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: RGYdrlXV52_8-G9oWk0V9zsQdRGjcEfU X-Proofpoint-GUID: RGYdrlXV52_8-G9oWk0V9zsQdRGjcEfU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-04_16,2023-07-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 mlxlogscore=759 bulkscore=0 malwarescore=0 phishscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050051 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770559670495894373?= X-GMAIL-MSGID: =?utf-8?q?1770559795955731801?= |
Series |
arm64: dts: qcom: qdu1000: Update reserved memory region
|
|
Commit Message
Komal Bajaj
July 5, 2023, 5:39 a.m. UTC
Add missing reserved regions as described in QDU1000 memory map.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++
1 file changed, 26 insertions(+)
--
2.40.1
Comments
On 05/07/2023 07:39, Komal Bajaj wrote: > Add missing reserved regions as described in QDU1000 memory map. > > Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > index 1d22f87fd238..3f5512ec0a90 100644 > --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > @@ -448,6 +448,32 @@ &qupv3_id_0 { > status = "okay"; > }; > > +&reserved_memory{ > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; Drop, you should not neeed it. > + > + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ That's not correct style. Missing space after ':', no underscores in node names. reg is first property, not second. Please open existing files and look how it is done there. Srsly, just open qdu1000.dtsi which you are extending. Best regards, Krzysztof
On 7/5/2023 11:19 AM, Dmitry Baryshkov wrote: > On Wed, 5 Jul 2023 at 08:40, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >> Add missing reserved regions as described in QDU1000 memory map. >> >> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ >> 1 file changed, 26 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> index 1d22f87fd238..3f5512ec0a90 100644 >> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> @@ -448,6 +448,32 @@ &qupv3_id_0 { >> status = "okay"; >> }; >> >> +&reserved_memory{ >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges; >> + >> + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ > no_underscores_in_node_names. Ever. > > Also, if you have checked other platforms, you'd have seen that other > platforms use a much more generic node name for 'memory' nodes (which > you should have used too). These memory nodes are new to QDU platform, so will it be okay if I keep these names without region suffix? Thanks Komal > >> + no-map; >> + reg = <0x0 0xe0000000 0x0 0x20000000>; >> + }; >> + >> + harq_buffer_mem:harq_buffer_region@800000000{ >> + no-map; >> + reg = <0x8 0x0 0x0 0x80000000>; >> + }; >> + >> + tenx_sp_buffer_mem:tenx_sp_buffer_region@880000000{ >> + no-map; >> + reg = <0x8 0x80000000 0x0 0x50000000>; >> + }; >> + >> + fapi_buffer_mem:fapi_buffer_region@8d0000000{ >> + no-map; >> + reg = <0x8 0xd0000000 0x0 0x20000000>; >> + }; >> +}; >> + >> &sdhc { >> pinctrl-0 = <&sdc_on_state>; >> pinctrl-1 = <&sdc_off_state>; >> -- >> 2.40.1 >> >
On Wed, 5 Jul 2023 at 10:06, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: > > > > On 7/5/2023 11:19 AM, Dmitry Baryshkov wrote: > > On Wed, 5 Jul 2023 at 08:40, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: > >> Add missing reserved regions as described in QDU1000 memory map. > >> > >> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> > >> --- > >> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ > >> 1 file changed, 26 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > >> index 1d22f87fd238..3f5512ec0a90 100644 > >> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > >> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > >> @@ -448,6 +448,32 @@ &qupv3_id_0 { > >> status = "okay"; > >> }; > >> > >> +&reserved_memory{ > >> + #address-cells = <2>; > >> + #size-cells = <2>; > >> + ranges; > >> + > >> + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ > > no_underscores_in_node_names. Ever. > > > > Also, if you have checked other platforms, you'd have seen that other > > platforms use a much more generic node name for 'memory' nodes (which > > you should have used too). > > These memory nodes are new to QDU platform, so will it be okay if I keep > these names without region suffix? Just use 'memory@abcd'. > > Thanks > Komal > > > > >> + no-map; > >> + reg = <0x0 0xe0000000 0x0 0x20000000>; > >> + }; > >> + > >> + harq_buffer_mem:harq_buffer_region@800000000{ > >> + no-map; > >> + reg = <0x8 0x0 0x0 0x80000000>; > >> + }; > >> + > >> + tenx_sp_buffer_mem:tenx_sp_buffer_region@880000000{ > >> + no-map; > >> + reg = <0x8 0x80000000 0x0 0x50000000>; > >> + }; > >> + > >> + fapi_buffer_mem:fapi_buffer_region@8d0000000{ > >> + no-map; > >> + reg = <0x8 0xd0000000 0x0 0x20000000>; > >> + }; > >> +}; > >> + > >> &sdhc { > >> pinctrl-0 = <&sdc_on_state>; > >> pinctrl-1 = <&sdc_off_state>; > >> -- > >> 2.40.1 > >> > > >
On 7/5/2023 3:12 PM, Dmitry Baryshkov wrote: > On Wed, 5 Jul 2023 at 10:06, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >> >> >> On 7/5/2023 11:19 AM, Dmitry Baryshkov wrote: >>> On Wed, 5 Jul 2023 at 08:40, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >>>> Add missing reserved regions as described in QDU1000 memory map. >>>> >>>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >>>> --- >>>> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ >>>> 1 file changed, 26 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> index 1d22f87fd238..3f5512ec0a90 100644 >>>> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> @@ -448,6 +448,32 @@ &qupv3_id_0 { >>>> status = "okay"; >>>> }; >>>> >>>> +&reserved_memory{ >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + ranges; >>>> + >>>> + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ >>> no_underscores_in_node_names. Ever. >>> >>> Also, if you have checked other platforms, you'd have seen that other >>> platforms use a much more generic node name for 'memory' nodes (which >>> you should have used too). >> These memory nodes are new to QDU platform, so will it be okay if I keep >> these names without region suffix? > Just use 'memory@abcd'. Sure, will update like that. > >> Thanks >> Komal >> >>>> + no-map; >>>> + reg = <0x0 0xe0000000 0x0 0x20000000>; >>>> + }; >>>> + >>>> + harq_buffer_mem:harq_buffer_region@800000000{ >>>> + no-map; >>>> + reg = <0x8 0x0 0x0 0x80000000>; >>>> + }; >>>> + >>>> + tenx_sp_buffer_mem:tenx_sp_buffer_region@880000000{ >>>> + no-map; >>>> + reg = <0x8 0x80000000 0x0 0x50000000>; >>>> + }; >>>> + >>>> + fapi_buffer_mem:fapi_buffer_region@8d0000000{ >>>> + no-map; >>>> + reg = <0x8 0xd0000000 0x0 0x20000000>; >>>> + }; >>>> +}; >>>> + >>>> &sdhc { >>>> pinctrl-0 = <&sdc_on_state>; >>>> pinctrl-1 = <&sdc_off_state>; >>>> -- >>>> 2.40.1 >>>> >
On 5.07.2023 11:42, Dmitry Baryshkov wrote: > On Wed, 5 Jul 2023 at 10:06, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >> >> >> >> On 7/5/2023 11:19 AM, Dmitry Baryshkov wrote: >>> On Wed, 5 Jul 2023 at 08:40, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >>>> Add missing reserved regions as described in QDU1000 memory map. >>>> >>>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >>>> --- >>>> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ >>>> 1 file changed, 26 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> index 1d22f87fd238..3f5512ec0a90 100644 >>>> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>> @@ -448,6 +448,32 @@ &qupv3_id_0 { >>>> status = "okay"; >>>> }; >>>> >>>> +&reserved_memory{ >>>> + #address-cells = <2>; >>>> + #size-cells = <2>; >>>> + ranges; >>>> + >>>> + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ >>> no_underscores_in_node_names. Ever. >>> >>> Also, if you have checked other platforms, you'd have seen that other >>> platforms use a much more generic node name for 'memory' nodes (which >>> you should have used too). >> >> These memory nodes are new to QDU platform, so will it be okay if I keep >> these names without region suffix? > > Just use 'memory@abcd'. Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml Following the generic-names recommended practice, node names should reflect the purpose of the node (ie. "framebuffer" or "dma-pool"). Unit address (@<address>) should be appended to the name if the node is a static allocation. Konrad > >> >> Thanks >> Komal >> >>> >>>> + no-map; >>>> + reg = <0x0 0xe0000000 0x0 0x20000000>; >>>> + }; >>>> + >>>> + harq_buffer_mem:harq_buffer_region@800000000{ >>>> + no-map; >>>> + reg = <0x8 0x0 0x0 0x80000000>; >>>> + }; >>>> + >>>> + tenx_sp_buffer_mem:tenx_sp_buffer_region@880000000{ >>>> + no-map; >>>> + reg = <0x8 0x80000000 0x0 0x50000000>; >>>> + }; >>>> + >>>> + fapi_buffer_mem:fapi_buffer_region@8d0000000{ >>>> + no-map; >>>> + reg = <0x8 0xd0000000 0x0 0x20000000>; >>>> + }; >>>> +}; >>>> + >>>> &sdhc { >>>> pinctrl-0 = <&sdc_on_state>; >>>> pinctrl-1 = <&sdc_off_state>; >>>> -- >>>> 2.40.1 >>>> >>> >> > >
On 05/07/2023 13:08, Konrad Dybcio wrote: > On 5.07.2023 11:42, Dmitry Baryshkov wrote: >> On Wed, 5 Jul 2023 at 10:06, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >>> >>> >>> >>> On 7/5/2023 11:19 AM, Dmitry Baryshkov wrote: >>>> On Wed, 5 Jul 2023 at 08:40, Komal Bajaj <quic_kbajaj@quicinc.com> wrote: >>>>> Add missing reserved regions as described in QDU1000 memory map. >>>>> >>>>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >>>>> --- >>>>> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 26 ++++++++++++++++++++++++ >>>>> 1 file changed, 26 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>>> index 1d22f87fd238..3f5512ec0a90 100644 >>>>> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>>> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>>>> @@ -448,6 +448,32 @@ &qupv3_id_0 { >>>>> status = "okay"; >>>>> }; >>>>> >>>>> +&reserved_memory{ >>>>> + #address-cells = <2>; >>>>> + #size-cells = <2>; >>>>> + ranges; >>>>> + >>>>> + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ >>>> no_underscores_in_node_names. Ever. >>>> >>>> Also, if you have checked other platforms, you'd have seen that other >>>> platforms use a much more generic node name for 'memory' nodes (which >>>> you should have used too). >>> >>> These memory nodes are new to QDU platform, so will it be okay if I keep >>> these names without region suffix? >> >> Just use 'memory@abcd'. > Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml > > Following the generic-names recommended practice, node names should > reflect the purpose of the node (ie. "framebuffer" or "dma-pool"). > Unit address (@<address>) should be appended to the name if the node > is a static allocation. > Yeah, two minutes too late :) Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts index 1d22f87fd238..3f5512ec0a90 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts @@ -448,6 +448,32 @@ &qupv3_id_0 { status = "okay"; }; +&reserved_memory{ + #address-cells = <2>; + #size-cells = <2>; + ranges; + + ecc_meta_data_reserved_mem:ecc_meta_data_reserved_region@e0000000{ + no-map; + reg = <0x0 0xe0000000 0x0 0x20000000>; + }; + + harq_buffer_mem:harq_buffer_region@800000000{ + no-map; + reg = <0x8 0x0 0x0 0x80000000>; + }; + + tenx_sp_buffer_mem:tenx_sp_buffer_region@880000000{ + no-map; + reg = <0x8 0x80000000 0x0 0x50000000>; + }; + + fapi_buffer_mem:fapi_buffer_region@8d0000000{ + no-map; + reg = <0x8 0xd0000000 0x0 0x20000000>; + }; +}; + &sdhc { pinctrl-0 = <&sdc_on_state>; pinctrl-1 = <&sdc_off_state>;