Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5193827pxv; Tue, 20 Jul 2021 22:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgv9K/rV0pRBz7NrbdILa+tE5veCQ5qIKV/EgvnxgS5aiKmZ6HZf8larvHA5NOZXnUwGJC X-Received: by 2002:a05:6e02:e82:: with SMTP id t2mr23128741ilj.218.1626846518274; Tue, 20 Jul 2021 22:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626846518; cv=none; d=google.com; s=arc-20160816; b=Gm3PSG+EQIGVJCoOZ90cZ0YJLfuiN3jgo82SuHeAtsGptZ/YmHZ6/SJQmPzoa9r8rd KKbyC9k7mQDVOaA+SW8M+CEG8rLvFc0Ut1vs4AbDFDJAekqFX51kOkd1Lv8pMs37kblO ltTII2p95S91aPcKi0lB7N0JTg3ZjIh22UlwBFG8igkC49felWxsuhPslcCsyeDpVmfw xfP3n2kZjCKgASw2V8kPlh+L5EwzQafoiwX9vLqeTnVG8L/dz5ww421E5l2AZaFsXN55 OpT75qY/EBzma/hj9EnAYTws4ShSOQjuqfYTGyDSkb5OeHASAqjpbP47I29lKfTDl/cf PCEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=WFFZpveA2N/n3D8dsdh+7arE9KhS9kDixvpDhxkwqhU=; b=tKMneqZIkuFVKCcXdJczRe5DRu4MoKtWzhOi34UxiowuH8rBQIcPDotSie/HhL37lz 0KBLyuECHtCC6GP6YKUkEue1iGFCrnfC1aJjbh+YgGXK/glRXHsSCrvpMXZo9K+IPIhR qWB8TzSw76vieWmg9Zfk16tuUxeaxZLAyiBmtSNWmvqn3ISiE5Vm/jHNyqPgJ09vJ6EK rnaJXk42LHql6h0IQXXvyKWUBnK/1ZF1i3C8fN+7K4sXrPhawbDwBTT8ERH1xio9uyh5 QgNO7l0VUlFXa/tPd2PaxuqRngF3MzeJEVIboK7wha5+j/VhXnmV+e6/WYA5mvNBTO81 QnxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=I56mKdaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h29si16141899jav.81.2021.07.20.22.48.26; Tue, 20 Jul 2021 22:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=I56mKdaN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233088AbhGUFHI (ORCPT + 99 others); Wed, 21 Jul 2021 01:07:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbhGUFHF (ORCPT ); Wed, 21 Jul 2021 01:07:05 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC840C061766 for ; Tue, 20 Jul 2021 22:47:41 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id s23so1700939oiw.12 for ; Tue, 20 Jul 2021 22:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=WFFZpveA2N/n3D8dsdh+7arE9KhS9kDixvpDhxkwqhU=; b=I56mKdaNDgA36vKgzORsD//DDSgTgXZWRedVxroLfp32Vo0tAR/B0hX8Jiwm1UCGKz Qz3RuZdnjgDv8z3AEjK9tbWFr2tFE44KD9G1rUJVxDDBuCXNgXaVEr9dGiCAKXXZGd05 bfJtgHjEwBJn8T2ihcG9A4Jq/dWNkWaspJCIc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=WFFZpveA2N/n3D8dsdh+7arE9KhS9kDixvpDhxkwqhU=; b=XJjoT153gRo9ZbXe+5IiGDW9aoUdWtT1D1lqS4REUDSxRIfYxcqPGeyi1XYrqUQ1za FfNTztnbMoySp9ZwPyALh8/W5PdXYdzEGpYQEsg+kqnMJp3TWC1NC0zY7Y2XcegUP+UQ /inwWwJwcW8QMXxZIdhiKNu/C+VGmI2AAF8u/imRIeIKd3ftxepoMYAE2uPWAKSFtGdZ 9QoGKIy61AF5UtF02oUT8VmTxImug+rgRRRwoyVG+HgXRluSLPJ/YYheznXZX2Wk36xx UP04UF4F3B2XJ34n42Xe9yTIXDYqOxs2X/09aZHndl1IgGPUwJ/adtu23XHdznwBkboN PSbg== X-Gm-Message-State: AOAM530UEvuNK6/dGVm9rk9l40PPmG5bobm0+bM+ZcoTHQ2/d2SUocuh NqNA67N+FS5FsXxxeZyOHxOzzhhvmQvrJwjJdf1bQQ== X-Received: by 2002:aca:4dc6:: with SMTP id a189mr1533311oib.166.1626846461124; Tue, 20 Jul 2021 22:47:41 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 21 Jul 2021 05:47:40 +0000 MIME-Version: 1.0 In-Reply-To: <1626775980-28637-11-git-send-email-sibis@codeaurora.org> References: <1626775980-28637-1-git-send-email-sibis@codeaurora.org> <1626775980-28637-11-git-send-email-sibis@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Wed, 21 Jul 2021 05:47:40 +0000 Message-ID: Subject: Re: [PATCH v2 10/10] arm64: dts: qcom: sc7280: Update Q6V5 MSS node To: Sibi Sankar , bjorn.andersson@linaro.org, mka@chromium.org, robh+dt@kernel.org, saiprakash.ranjan@codeaurora.org, will@kernel.org Cc: ohad@wizery.com, agross@kernel.org, mathieu.poirier@linaro.org, robin.murphy@arm.com, joro@8bytes.org, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, evgreen@chromium.org, dianders@chromium.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sibi Sankar (2021-07-20 03:13:00) > Update MSS node to support MSA based modem boot on SC7280 SoCs. > > Signed-off-by: Sibi Sankar > --- > arch/arm64/boot/dts/qcom/sc7280-idp.dts | 7 +++++++ > arch/arm64/boot/dts/qcom/sc7280.dtsi | 19 ++++++++++++++++--- > 2 files changed, 23 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts > index 191e8a92d153..d66e3ca42ad5 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts > +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts > @@ -343,3 +343,10 @@ > bias-pull-up; > }; > }; > + > +&remoteproc_mpss { > + status = "okay"; > + compatible = "qcom,sc7280-mss-pil"; > + iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>; > + memory-region = <&mba_mem &mpss_mem>; > +}; Can this go above the pinctrl zone in this file? Preferably sorted alphabetically by phandle. > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 56ea172f641f..6d3687744440 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -586,7 +586,8 @@ > > remoteproc_mpss: remoteproc@4080000 { > compatible = "qcom,sc7280-mpss-pas"; > - reg = <0 0x04080000 0 0x10000>; > + reg = <0 0x04080000 0 0x10000>, <0 0x04180000 0 0x48>; > + reg-names = "qdsp6", "rmb"; > > interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, > <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, > @@ -597,8 +598,11 @@ > interrupt-names = "wdog", "fatal", "ready", "handover", > "stop-ack", "shutdown-ack"; > > - clocks = <&rpmhcc RPMH_CXO_CLK>; > - clock-names = "xo"; > + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, > + <&gcc GCC_MSS_OFFLINE_AXI_CLK>, > + <&gcc GCC_MSS_SNOC_AXI_CLK>, > + <&rpmhcc RPMH_CXO_CLK>; > + clock-names = "iface", "offline", "snoc_axi", "xo"; > > power-domains = <&rpmhpd SC7280_CX>, > <&rpmhpd SC7280_MSS>; > @@ -611,6 +615,15 @@ > qcom,smem-states = <&modem_smp2p_out 0>; > qcom,smem-state-names = "stop"; > > + resets = <&aoss_reset AOSS_CC_MSS_RESTART>, > + <&pdc_reset PDC_MODEM_SYNC_RESET>; > + reset-names = "mss_restart", "pdc_reset"; > + > + qcom,halt-regs = <&tcsr_mutex 0x23000 0x25000 0x28000 0x33000>; > + qcom,ext-regs = <&tcsr_regs 0x10000 0x10004 > + &tcsr_mutex 0x26004 0x26008>; > + qcom,qaccept-regs = <&tcsr_mutex 0x23030 0x23040 0x23020>; > + > status = "disabled"; > > glink-edge { Any reason to not combine this stuff with the previous patch?