Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1066310rdb; Tue, 19 Sep 2023 20:46:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqyPPEIDHNQH//ONkQrldvxJ9/avGAyKFVdZzWF1BuIzYhSPCD2oj+vwuBP34D3O8Ycr6W X-Received: by 2002:a05:6a20:1398:b0:153:d71f:cd21 with SMTP id hn24-20020a056a20139800b00153d71fcd21mr1353452pzc.49.1695181603782; Tue, 19 Sep 2023 20:46:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695181603; cv=none; d=google.com; s=arc-20160816; b=G16OH1/cwpCDn4ApzQ2F93+BvwoXcRFvebmH3i4MWnjG7Ckgdc50G+0cxVfdJIcZ4d 8DB7mRy/+EbW/DNT/SsRX51QHMbUqeGw25CCKkGj36pggo9m5qPhqHCXdJJlDMoR5BCI /iiKSeSaS3Y5mRzFkkwAQikPU09agEZUaCCEqO6eZR22+jNRu6OjFhWeaHGR6ZknVC1a fIZpJtFD+O4ojVe2EbAj4W/d/RneRLhW9pXw4qHCsXGkgLpEeWUq1gIbyWxS0OorRHZ2 +jQgj+ft5zueZnA53KcJv7e92Sm+eP+GY5fw2sJxc0JK0snMqvw2IVpMGc03JwH8YYNU GStw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HW7TnAgPGFLxDOc/0fnsBnvfv6yk6nmtIGzURNUloRQ=; fh=rhlhGfZdPWZJagNWhbMctgRZ63F46FT/iDP9POF56mw=; b=rMKqekTKX8VEdo+GtUfTqA70FRBlCc0B1tbUqH+SbG8z/HQtLoADC7ksMOiUT6brMo AUT2ltTboSMBTv6AlW1skBBLL+VAcbNd4m/1DXFnmjFRTFTKmDXxWzr+zUpg43x7bwPb mZR+S4flHw0sTzzZKbrPVxJgBRm2rhWZhTTiuY5mLAXgmvOr6GhTWoS28/v1udHEvkpt 72xXKtrjyh/PfSkSYegyjWje4IcaduC+HKtrLWIVI1pjISMmlj2td2/OlbcnVSaTP0or O3vAsljwzDs73ZZfRb55tlK3DZDgzYrLSYB0wlqYPvi8qg5mo+1MITIbQnJLyquaoIuM vteQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vNqDXkl7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p7-20020a170902e74700b001b3c7e6a8c0si10924104plf.531.2023.09.19.20.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 20:46:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vNqDXkl7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id E014E8092692; Tue, 19 Sep 2023 20:45:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232197AbjITDpR (ORCPT + 99 others); Tue, 19 Sep 2023 23:45:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjITDpP (ORCPT ); Tue, 19 Sep 2023 23:45:15 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D75B0; Tue, 19 Sep 2023 20:45:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B905CC433C7; Wed, 20 Sep 2023 03:45:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695181509; bh=dGJWqegoej4rPxoaGwuYh4Ve04vulyDF+4O2d33gaY4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vNqDXkl7idWewutiGjoujhKSU/t6v3soDqhANYFRDRFCxp5LxdWGAjpk4unVBqYdC Bcty+yUX43iVrdXIRUgqgD416o3wWQl5Y3XEt8EcNXtam66Dkgkx5Bg5dVTq4N5r7e O2YEEJbwwO6phzJw4TxhANdaMjyl8iXnjZrM5j1ArCms1kb9917BxV2GtbsP7tMcXG wwQboetFsdW00Bfm4G2BGAdhIM8duIU0QiBimQ6mc56rK8QW8fbF9FxrE35vZ5z1Iv PHO0spaUgivQDjie1ZDgGx5cDpiuzKPiwf5fn1tpu2fOrYH4ehT0xo/i2EeB9r0eLs zPrKgmkSlEijg== Date: Tue, 19 Sep 2023 20:49:16 -0700 From: Bjorn Andersson To: Tengfei Fan Cc: will@kernel.org, robin.murphy@arm.com, joro@8bytes.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, catalin.marinas@arm.com, geert+renesas@glider.be, arnd@arndb.de, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, peng.fan@nxp.com, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_tsoni@quicinc.com, quic_shashim@quicinc.com, quic_kaushalk@quicinc.com, quic_tdas@quicinc.com, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, kernel@quicinc.com, Ajit Pandey Subject: Re: [PATCH v2 5/8] arm64: dts: qcom: sm4450: Add apps_rsc and cmd_db node Message-ID: References: <20230915021509.25773-1-quic_tengfan@quicinc.com> <20230915021509.25773-7-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230915021509.25773-7-quic_tengfan@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 20:45:18 -0700 (PDT) On Fri, Sep 15, 2023 at 10:15:06AM +0800, Tengfei Fan wrote: > From: Ajit Pandey > > Add apps_rsc node and cmd_db memory region for sm4450. > > Signed-off-by: Ajit Pandey > Signed-off-by: Tengfei Fan > --- > arch/arm64/boot/dts/qcom/sm4450.dtsi | 34 ++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qcom/sm4450.dtsi > index c4e5b33f5169..0d1d39197d77 100644 > --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi > @@ -5,6 +5,7 @@ > > #include > #include > +#include > > / { > interrupt-parent = <&intc>; > @@ -328,6 +329,18 @@ > }; > }; > > + reserved_memory: reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + aop_cmd_db_mem: cmd-db@80860000 { > + compatible = "qcom,cmd-db"; > + reg = <0x0 0x80860000 0x0 0x20000>; > + no-map; > + }; > + }; > + > soc: soc@0 { > #address-cells = <2>; > #size-cells = <2>; > @@ -335,6 +348,27 @@ > dma-ranges = <0 0 0 0 0x10 0>; > compatible = "simple-bus"; > > + apps_rsc: rsc@17a00000 { > + compatible = "qcom,rpmh-rsc"; > + reg = <0 0x17a00000 0 0x10000>, As your later patch shows, and Krzysztof pointed out, the sort order is wrong here (sort nodes under /soc by address). > + <0 0x17a10000 0 0x10000>, > + <0 0x17a20000 0 0x10000>; > + reg-names = "drv-0", "drv-1", "drv-2"; > + interrupts = , > + , > + ; > + label = "apps_rsc"; > + qcom,tcs-offset = <0xd00>; > + qcom,drv-id = <2>; > + qcom,tcs-config = , , > + , ; Please confirm that you indeed want 0 CONTROL_TCSs. Thanks, Bjorn > + power-domains = <&CLUSTER_PD>; > + > + apps_bcm_voter: bcm-voter { > + compatible = "qcom,bcm-voter"; > + }; > + }; > + > tcsr_mutex: hwlock@1f40000 { > compatible = "qcom,tcsr-mutex"; > reg = <0x0 0x01f40000 0x0 0x40000>; > -- > 2.17.1 >