From patchwork Mon Nov 5 15:45:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150207 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2759464ljp; Mon, 5 Nov 2018 07:46:58 -0800 (PST) X-Google-Smtp-Source: AJdET5ctPtaEyE6vOOwOLQg1UjdapgLeCEoM+kKqrQ598k4x2IuUTAdPdRPSAj9+bAxePb44vi+b X-Received: by 2002:a17:902:8ec2:: with SMTP id x2-v6mr22740896plo.157.1541432818150; Mon, 05 Nov 2018 07:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432818; cv=none; d=google.com; s=arc-20160816; b=LHI6e1GJ1XUwFi/KUkKkCsehVu44lof7Gi1KYpdCiwCYvr7EiSkcReJlpE9IGNSXr2 BYezUFDHIpKdFekvXIiLlPz7ci7m5z+YoovEKzOPHAOE3gh/+5MWaBcRxEdx8yujEKvt 5R9UXzJRtk5Hj3vCOOEkyxlez6xGCSEt7cVBflPM2J19IWFxX3DTFOLkdA+ekZuPH8R6 hk5x4v51ZbnFqxmdtJ2+6hQIOvjUH5KvDTfukXfHi19GNre0Aq6iY04JUJrBBNMRdzj8 2qW88infFO5gs1zzU1YvO2Ui2i4W3m2SeDMo4LJJrhwDS0QSDHDKGNK88aNSwNYM11wt NKoA== 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=uKngmDru8Pq6MsDQaeeKxw4jK+fPs7yVW1Q1fnc1OJA=; b=Fa7FKXlOGOsmsaGhJ2V27vupzQ7yLA2PnUM4cY0Tyxd5UaiIDWVs7VX7aUzdtYUXwS bcGFHfpNsFo/OhmrF4L66MiHivIrX5MChuMnewX1mskGIFeFbB/0EciHyo6K6MHs4DUD d9m/nB61dKDOdW4xSZ8/Ox4df2UdjrUYK+w8PU2C20AoYth6F/UZKJ7/hU4HymAqnMq0 deLn/Q6Aeu3m3XbcG9jZ1LI/eKjcOHdRaJrxo9Lofo0WlyH8aydZyFxldnmHhMqclWv5 gMnNEQUR1jlkhMP61cPNo26mYX14LGv0IBdFLNO6wsuPcj7yd2uxGwaw7Q4pqCsRLdas eMtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pQpt4CWp; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b24-v6si35079155pgb.50.2018.11.05.07.46.57; Mon, 05 Nov 2018 07:46:58 -0800 (PST) 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=@kernel.org header.s=default header.b=pQpt4CWp; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387681AbeKFBHN (ORCPT + 32 others); Mon, 5 Nov 2018 20:07:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:52768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387493AbeKFBHM (ORCPT ); Mon, 5 Nov 2018 20:07:12 -0500 Received: from localhost.localdomain (unknown [171.76.98.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D6F1420862; Mon, 5 Nov 2018 15:46:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432813; bh=GIP5tLHuD6TlcadU6R4M1o/T6hnN5De0q18UD3x58i8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pQpt4CWpHB8kPEfl97h5I9zq9dNIdIMOQ7EY3Xi7zc8+XIxSsBFhIaIymUuFse3n1 3vREYfdKij6ok80HpKU3JStpUkRjhRMBfdcDcbzWPGZnKCBW1Fx00GKsltn599M7+P 59pI1QgJdXxh0EEbxla6vm+2gOYwkcKk8UAngjS4= From: Vinod Koul To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v2 13/17] arm64: dts: qcom: qcs404: Add remoteproc nodes Date: Mon, 5 Nov 2018 21:15:25 +0530 Message-Id: <20181105154529.7614-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-1-vkoul@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson Add the TrustZone based remoteproc nodes and their glink edges for adsp, cdsp and wcss. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 87 ++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 8e207a25ddf0..b560ab6e49ff 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -373,4 +373,91 @@ #interrupt-cells = <2>; }; }; + + remoteproc-adsp { + compatible = "qcom,qcs404-adsp-pas"; + + interrupts-extended = <&intc GIC_SPI 293 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&adsp_fw_mem>; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <2>; + mboxes = <&apcs_glb 8>; + + label = "adsp"; + }; + }; + + remoteproc-cdsp { + compatible = "qcom,qcs404-cdsp-pas"; + + interrupts-extended = <&intc GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&cdsp_fw_mem>; + + qcom,smem-states = <&cdsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <5>; + mboxes = <&apcs_glb 12>; + + label = "cdsp"; + }; + }; + + remoteproc-wcss { + compatible = "qcom,qcs404-wcss-pas"; + + interrupts-extended = <&intc GIC_SPI 153 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&wcss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&xo_board>; + clock-names = "xo"; + + memory-region = <&wlan_fw_mem>; + + qcom,smem-states = <&wcss_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + interrupts = ; + + qcom,remote-pid = <1>; + mboxes = <&apcs_glb 16>; + + label = "wcss"; + }; + }; };