From patchwork Wed May 1 04:37:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 163176 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp4100026ill; Tue, 30 Apr 2019 21:37:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFCgxLCjRx3y8214eH9z77sQOpQgwvvIzh94A+SLXUs3xj8Lt7cOxk7Al8FoDW2v9x3LIb X-Received: by 2002:a17:902:f24:: with SMTP id 33mr67910524ply.44.1556685472319; Tue, 30 Apr 2019 21:37:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556685472; cv=none; d=google.com; s=arc-20160816; b=gZkyruS3JOR/lpBfHC5E/gYWdbgEoJTWTEObqlWu0waHYRiYV2/82RsX4dEsNZe5/s px9kNo56WMoypAeCxWf5IPyAXOs6pW5df6TzqPEmmT9s2obmUs/4zbBJO9q9bOT5uY2e tArMyRVOohcnrmCjSA/Tn8kxxCVth6Y7+mAoB5PEb3Mx1YS13tBnueGZ7S2BLt+oF8cH mcZlTlM2hgGooEMPyCZ5k5gcH1KGjQPAH1qVhOf7urKSC5Q7mMbeCcWKjSQLxLAhwlGl THkkgmd6uxOdPQ4fBAvhMnth1BQJD/S8QEqAe8GdSCgMmnKR7e7awtcutoO+RQWVqw/q I/wg== 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=a10hGuK3vdCOEjNUJMZxmg7vPboJuN/bkuHq4KflRrI=; b=V69ccalJrzUGEvzwZgxE/T1CzpIflm/rSfDH4gR7XIS2uJ8cY9nk8hv9wt2zbzsAYT CylriT+5baTVuwL//bpYNH2vuuGVi3dY+Wp9DkGTyj3uMm8y+YUiGbl97YdZ9plcexmQ M5MiYvucGeuSI/5MiZOXnsGUboM+HVhhpdvJllhESyPO7w8kSfTzFK03lPRWTwVO3D3t 5QyDgZ2YV3xW9QAlccIPew7aHH8TMQvbrkIO+bLqFaC5n/Boo4qPMoqUpD7J7aNjo58m is8mBtv6V+UqjasUP9IS1og9+kdkStNahDhMv6gi18IWEEzbjpE1bYguUlMWRVlNU5Fi yZ1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pDVa8e7j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 12si39264746pgu.111.2019.04.30.21.37.51; Tue, 30 Apr 2019 21:37:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=pDVa8e7j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726267AbfEAEhs (ORCPT + 30 others); Wed, 1 May 2019 00:37:48 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36497 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbfEAEhp (ORCPT ); Wed, 1 May 2019 00:37:45 -0400 Received: by mail-pg1-f195.google.com with SMTP id 85so7848354pgc.3 for ; Tue, 30 Apr 2019 21:37:45 -0700 (PDT) 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=a10hGuK3vdCOEjNUJMZxmg7vPboJuN/bkuHq4KflRrI=; b=pDVa8e7jbf89RlDz7t1+7lQQ+gTrLa77cMVKC9yzBXt2ZLJ0JEj/hwmcULHc622DgJ 3kIrUqha4lTIRi7Y+3OGpb3Z4iCFXn3zrarCVhLebOkzUpvOyvL35hYNH/zkbL97xw2S ZCu1Xn0NiiZrCYi++EtqzAonCHVqP4OetOyUAwDA2Tt1Qg4sNW8iSYQGJKR1L7o/kdsi mVPU6SCgzyZ9L6A674KvQtkVOZ1KYE/3mTtKOfAzErDR79jQcEZuzPs5wi/e2O/frGo2 HVrwooQxILs73RIAzRRqQ8lD/8BhZdiHLigNfww2WuM+8GC9gC4tcCLyJFClGCW7wPH9 HWLw== 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=a10hGuK3vdCOEjNUJMZxmg7vPboJuN/bkuHq4KflRrI=; b=kMbVnTfSUhYaFkRcbnSLTom1k5NSLb+Zwc4/qBVBXqZe5INGvn4e4PgLe+clZgXTFw 3vSbrCSJkS0KnmkjQVr0peOjc00KphBsfaAzgH6fwYEtfOlsWlmP1WKAZ3FnZC2AMh1c hsT1zYB0HL8ZuCxpX294PfXTbwdjoqFJ3ynrqNIk408TKjbGu0LzBCGpgdhQgXrWEUmv kJZ/asua3Ih9zPlXAJQVuxWozfrLhrETCaHk/+vzeE9WgmASrIt40r8VNTjgrZCSdwxr X8ZQwG9t1fZh+Y64ePsEgU/gxqU2RZxXb9QSrGgYIu8Di+31COM/i4oh66QnZJiGIqTy n5uQ== X-Gm-Message-State: APjAAAWya+Fw+TdzsEF9JBXspzfgI01mdJA/lcRopoMNe4mRdfv9hxrK OgM97Kbmb5Mkdn6nXTOkEhzoLQ== X-Received: by 2002:a63:541d:: with SMTP id i29mr43040926pgb.174.1556685464670; Tue, 30 Apr 2019 21:37:44 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id q128sm55912865pga.60.2019.04.30.21.37.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 21:37:43 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 4/4] arm64: dts: qcom: sdm845: Add Q6V5 MSS node Date: Tue, 30 Apr 2019 21:37:34 -0700 Message-Id: <20190501043734.26706-5-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190501043734.26706-1-bjorn.andersson@linaro.org> References: <20190501043734.26706-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sibi Sankar This patch adds Q6V5 MSS remoteproc node for SDM845 SoCs. Reviewed-by: Douglas Anderson Signed-off-by: Sibi Sankar Signed-off-by: Bjorn Andersson --- Changes since v6: - 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 666bc88d3e81..2f3ab6acda3d 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1672,6 +1672,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>;