From patchwork Wed Feb 6 05:13:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 157560 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6000941jaa; Tue, 5 Feb 2019 21:13:56 -0800 (PST) X-Google-Smtp-Source: AHgI3IarJ8f43tcfEhTZ1kHcQzFuoX8F7CboAFLyBYtwt7y6jaMvQMSdW5DB5ypVtfSQ35Yqb5ER X-Received: by 2002:a62:1212:: with SMTP id a18mr8950444pfj.217.1549430035939; Tue, 05 Feb 2019 21:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549430035; cv=none; d=google.com; s=arc-20160816; b=ZLXa2XFIo0fhTgBWULdSDFWdU4JUDm3bGRLVZPC5aSfv2FellBpRhJOAFQqzZMujEy O4VoqlLQYu96602AMQLRDJE3NDfCqUDdMNhN/7IyD3Eyun6ij3YGKEY7dXxXKnChEvEW DfVO9ezOR01hAQSplkNsgnJZ3VJlpZwW6LvSQ24DSA3paj/GKprUnNz2LYjHCQO2rqSu oqTKWcWMTV0idgqpS4Y0oINc6/3C0hCm9I7GpUqkyhsouVEihPijsif7f4vByhnTUgDC xvuA5JgFy5G2FkSsEg6AxtNBX7PMMUiH28Tqs0cY2reVkeX9UcWLlexuMUSUIazkbyYB Tclw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Mrkl5VM69wq7IZYdl1FKPkbga/hB//VCoDnZzElgaXE=; b=HIRUuMMvTwQoQgYVk0QtsNdJKna1V3lBX0ir9qD3QtH9tbPWU7M6fP3J94cYiXI/ZJ 9clsvasx2NTpxO4jMWaojlL5PCqWUcWzDaLwU04Ecz5u/KX2fzgHekDNmouiY4a2YakJ sw+UpC2CWZItXJC5B2xiNYxCopZ2dYhYYsl4VMSDMVkTn7ZxKkXQh3UeNUL6vIOaGwZ4 2/m9VphZh2VtGSYNVXZRt2yplpl2xzpG8klTMA9C38aKI1EJwehbJL8Swa10XA1jzz2y K7aF25VMl+8gCVu3wQrkUMWomK7viwX10c/ouSI/AscgAYWgspWCaldpCNGIqhodQdiM yybQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gL8Jp57H; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si4836067pgc.65.2019.02.05.21.13.55; Tue, 05 Feb 2019 21:13:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gL8Jp57H; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727920AbfBFFNx (ORCPT + 15 others); Wed, 6 Feb 2019 00:13:53 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:44376 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727921AbfBFFNx (ORCPT ); Wed, 6 Feb 2019 00:13:53 -0500 Received: by mail-pl1-f194.google.com with SMTP id p4so2566772plq.11 for ; Tue, 05 Feb 2019 21:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Mrkl5VM69wq7IZYdl1FKPkbga/hB//VCoDnZzElgaXE=; b=gL8Jp57HJpu47gYmCWJeW9k4OMF27ReiPmhs2wR98y8IXIzIzTVIN92UynHSBdNWcT uSjOquQ1g4F18QoXzqP6k0b2ZRWh9O8B9zgYMz2tkdfp31BT01IM0iXsrq5dUYrOlks3 hbVAyEWiijjhwg27P97A5CAnwWYWkZJcXaeh+cGpoY2Zso98MVGgAifKoD53bMfJgjBH KrZPPyIxIbnecltS0+d7Tm++PwJm6igltgw/E1xi3zBNUJZwpNEGecMCmetxweTN6XQX yaPaWGJjH2azAhHryjUQCMICLkr3snC0/v/uzVCOW53AopdaG8TMtSAFCPVD5HscYu3s 0hqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Mrkl5VM69wq7IZYdl1FKPkbga/hB//VCoDnZzElgaXE=; b=G5vw0A+A1MdhmxfhgCky9qx2K78NWKlQc++Pgo2npzlk8WLOnO7X5iQIV7rQTnxJgD O+bA0a3EX18k5sQQYagdxHYb049b94eM0yDnTLkTOoIx0ChfPwsL3eHA17GW9V4a5Jur o232fGVQ+LGMmRRAfw5hzDSNqTMM/HIq+neDCR9PesohFdceHJq1fESMx1U2ab5d3t7f T675kDgISY3SUYpw6ZtUCjRoyASvvrXjKEv3O27JZlj9kWc7R65R6NXbk0YkpEKbfKv4 7Y8t8gMfEFiNK1gmPU6MqT6QfBksI5adNvChrVuZCzIV/sRDaxUtfY5RCsGF5VUAcM4o MLZA== X-Gm-Message-State: AHQUAubotsLAlVa20gmgxMdcw9zQtvYD2UYfx2qFldNI+kKZIuUPHF/R Tfi1mXS1sP84oHbWBulpqXuyPg== X-Received: by 2002:a17:902:b114:: with SMTP id q20mr4387028plr.48.1549430032494; Tue, 05 Feb 2019 21:13:52 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id y71sm10735012pfi.123.2019.02.05.21.13.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 21:13:51 -0800 (PST) From: Bjorn Andersson To: Andy Gross Cc: David Brown , Rob Herring , Mark Rutland , Arun Kumar Neelakantam , Sibi Sankar , Doug Anderson , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 8/8] arm64: dts: qcom: sdm845: Add Q6V5 MSS node Date: Tue, 5 Feb 2019 21:13:35 -0800 Message-Id: <20190206051335.23799-9-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190206051335.23799-1-bjorn.andersson@linaro.org> References: <20190206051335.23799-1-bjorn.andersson@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Sibi Sankar This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. Signed-off-by: Sibi Sankar Reviewed-by: Douglas Anderson Signed-off-by: Bjorn Andersson --- Changes since v5: - None arch/arm64/boot/dts/qcom/sdm845.dtsi | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 560c16616ee6..5c41f6fe3e1b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1612,6 +1612,64 @@ }; }; + mss_pil: remoteproc@4080000 { + compatible = "qcom,sdm845-mss-pil"; + reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>; + reg-names = "qdsp6", "rmb"; + + interrupts-extended = + <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack", + "shutdown-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>, + <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, + <&gcc GCC_MSS_SNOC_AXI_CLK>, + <&gcc GCC_MSS_MFAB_AXIS_CLK>, + <&gcc GCC_PRNG_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "bus", "mem", "gpll0_mss", + "snoc_axi", "mnoc_axi", "prng", "xo"; + + 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_regs 0x23000 0x25000 0x24000>; + + power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, + <&rpmhpd SDM845_CX>, + <&rpmhpd SDM845_MX>, + <&rpmhpd SDM845_MSS>; + power-domain-names = "load_state", "cx", "mx", "mss"; + + mba { + memory-region = <&mba_region>; + }; + + mpss { + memory-region = <&mpss_region>; + }; + + glink-edge { + interrupts = ; + label = "modem"; + qcom,remote-pid = <1>; + mboxes = <&apss_shared 12>; + }; + }; + gpucc: clock-controller@5090000 { compatible = "qcom,sdm845-gpucc"; reg = <0 0x05090000 0 0x9000>;