Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp66255pxv; Wed, 21 Jul 2021 15:54:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygiz1k99hGwb20neysHWZmG6ZfBDfJVblEON/ViYlYZCPeo4z/7e+CS3VFj7ASLLPqAvZr X-Received: by 2002:a05:6e02:d41:: with SMTP id h1mr24484668ilj.191.1626908061770; Wed, 21 Jul 2021 15:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626908061; cv=none; d=google.com; s=arc-20160816; b=noACxjHWvS5xai2GPKTwbKuGgW9fKeE87pZKWFDxuipEaxPLWTfXMFF1rpgcaglepD 8Anwsfj2z3cgtxQ+lq/zUCaTlvrzZeB5MIzGp1BkXMahVUw9IBRdoDVNrvMJIuBwd87M jDUslT2HMNyRB/7tvr2rNSNIvryURVsXmPGmrRYaWm9GLJ8liaczQrk9aLeL0z4D0NB7 EBXtPhHGpIGHjkft/l3znKN5xbpdH4WWbfD0TG0OUObYGTq+RdCdtButQ6MeABIjQYyB h9CPdYNSpViS+HY39U5vXa8eLrprAaqKyvxG6Hv3MciUyMLqJlQZti75H74KYx7jcR89 WJdw== 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=oCKEd1eI7lqzSHK9yaavlpSmIIydu9UzKpE8HGQM2SE=; b=cr4SeVqRxzTylTO8JoUrdZOhN5XMeC90NhnMxrOOq+8qyknCjlpoMoRxL8vLUx7SJ9 BrPCoR5OvRhCM/T2rqR9uecSRGWuOoqYI4I1Tj4w1dRiNKfTr0FEZXk/xWEEVX26+259 WHf+hZpZfj6Oile1d0eVc03VRJUl0xq3ikrKBoBEt6ySaYzIH2GIcUUR6J3YLCuz4Pa9 jc0D/JF1K5wu2pvxlOI0uOUjk1V5oEsxEoANLX5iHA4jnv4YEmIjp+N+JoGlzZTF4brv jozx/tDDFeHJEhtbuyr2yX9OS02fIbh9wcImavA0LRuS8fe4t2ekTDM8/v8tJnfpg9Th fIQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PbkHC3LY; 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 t15si26530403ilg.47.2021.07.21.15.54.10; Wed, 21 Jul 2021 15:54:21 -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=PbkHC3LY; 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 S230222AbhGUWMo (ORCPT + 99 others); Wed, 21 Jul 2021 18:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbhGUWMn (ORCPT ); Wed, 21 Jul 2021 18:12:43 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82BDAC061575 for ; Wed, 21 Jul 2021 15:53:18 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id t143so4594336oie.8 for ; Wed, 21 Jul 2021 15:53:18 -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=oCKEd1eI7lqzSHK9yaavlpSmIIydu9UzKpE8HGQM2SE=; b=PbkHC3LYJgY3qQZv8q2gWel042lTPUj1HBzY544pXIla5BJkUbECdmQkthsyLfqtcw es196ZVx11s5Wb5qEoOVbUfylOvVqaqxvOO3N7D75HUzslf2/CIAy/sHF7yQ5uLVzrHm L5N1CFe8HtcSHhQ/dE+jCWR3BHIQP7TOseU2Y= 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=oCKEd1eI7lqzSHK9yaavlpSmIIydu9UzKpE8HGQM2SE=; b=V5OwN86gnn50Qti0RdrWUQ/4uHsTeSdpZ+m42lbzl/lMN7oGFUOokCrwLxwHWE5gWd Pn98GmIuzx3F0XjexeyM8wW+2W2tqpbB0xpXFH3QFZnquVALm+KPlRLgUB0cdzrOynep Jf2TH45kq2g/OM42+Id/RNlVMrGPdns/k7Ki3FSYFVTIXrrtUykOOQixPtGx8NIGpS5H e7sX6MxHQe0HoEyAofUbLhvcl88N/V2wZGCsWqCWOibKoAmHXiw9n7wjtm4o+PESlNsi +qHGL0fgF2mMraoFh1014k7wyPmmAYPsRL4x96J5ax+lRMbB8bFhuWkbZcxbUEM+MKpU 0U7g== X-Gm-Message-State: AOAM533uTl/Q60QnFF0iozR47Fxn+P57K/btyCh1Qlv0Kl/BzLK+Xx0a gdCvhF4mq4bwqQ8NItcmsxsBMjVHx3iKMricWnY5Jg== X-Received: by 2002:a05:6808:a83:: with SMTP id q3mr4032552oij.125.1626907997947; Wed, 21 Jul 2021 15:53:17 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 21 Jul 2021 22:53:17 +0000 MIME-Version: 1.0 In-Reply-To: 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 22:53:17 +0000 Message-ID: Subject: Re: [PATCH v2 10/10] arm64: dts: qcom: sc7280: Update Q6V5 MSS node To: Sibi Sankar Cc: bjorn.andersson@linaro.org, mka@chromium.org, robh+dt@kernel.org, saiprakash.ranjan@codeaurora.org, will@kernel.org, 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-21 10:16:14) > On 2021-07-21 11:17, Stephen Boyd wrote: > > Quoting Sibi Sankar (2021-07-20 03:13:00) > > > >> 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? > > I split it into two separate > patches just to show that sc7280 > supports two ways of bringing > modem out of reset and method > used is determined by the platform. > Ok. But if there are two methods do they work with the same node in sc7280.dtsi? Because I was expecting to see the node introduced in the SoC dtsi file in the final form instead of the half form and then be amended in this patch.