From patchwork Tue Oct 30 10:11:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149726 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5249319ljp; Tue, 30 Oct 2018 03:12:14 -0700 (PDT) X-Google-Smtp-Source: AJdET5dNWS9kxScC3iNNMUlT+1xkitbb6ltCE3u1CWWjdIFIJa7nWGwLS6vIi9JPipZm0zBY0och X-Received: by 2002:a63:b30f:: with SMTP id i15mr15129823pgf.240.1540894333859; Tue, 30 Oct 2018 03:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894333; cv=none; d=google.com; s=arc-20160816; b=F6V99SDsoO6yRAbFKxnm+oD+RQXRnDtj/RhIES6TL6BbVxanqbVSn9WJ5ACRGkEexq 7082jXuKdOQjpGMXAdC04O86aqOTd3SzwQolgCH6sKiZChu/j2s9gtm3Ms5s3kiwRbug PMnhmZhhR+BpJ+0ZBH6GZtO6EwC+1kJpWEcc0JKeQVmHul2jNvoH4ObTFkMT3VmLlfQ7 9dplloFbehAmXiFVrcKXVpAiCvx4GlJ0mF2YP7KeDRIR40wRYdlk4GwOumw4zKIDewlt IgWg+j6cgBefBLoSU90RAFu3nCgxbOxQ/PZ7wb0sj8IRPdLAXApQ/WGgn68KtmOuJkRT zb0w== 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=mNUqQFPh5eag1EOxqXNc1KPV83dBKmZShsgR4hEU3ls=; b=c/QqlTwFjtcuYuI8hPgChzBoBvFIsKjWDcip/nnzNKA19B4PtkR9WD+qfptHLk2cSx 7qoPHnc1vvwQ77xpQvxgB74S4gPhM/qMgcTOkEscybDrRj+h1LfuwO3kXpj5Kg94zj9L 5VVOKD++TdQjlxWfOUZfXs4WsKOTbBFYt4BIPoIXNswW2dlLa7K2rQOnYkTZrSy0y2u6 FUFaEmeiYcNGBc5/LgEDQW4KVsL8Db8gdaK0Qrha6iOa+Hv6tzh9dI5QFHjHiXO56sS9 kDpDKgnUMC+c8B4S6lipZPNs+7hMVezXjpmSkZguacGcPk3qAtM1Cr7Wz5mJM35/Qzzw ejig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=m9LF2ccG; 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 s3-v6si23823978pgi.366.2018.10.30.03.12.13; Tue, 30 Oct 2018 03:12:13 -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=@kernel.org header.s=default header.b=m9LF2ccG; 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 S1727759AbeJ3TFA (ORCPT + 32 others); Tue, 30 Oct 2018 15:05:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:43362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3TFA (ORCPT ); Tue, 30 Oct 2018 15:05:00 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 B6D2A20831; Tue, 30 Oct 2018 10:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894330; bh=RYvlYxlT3Bt0+fgkhXVFLYhUcM9asU6rlWYXD2Xh/Fw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m9LF2ccGOwXFY8BiS9aW1Nvb9s1fIx7Ennuoug0DwX/fXtWT60d3AS2yakatjkkp8 60FPdZF2LBRW/jtgyjgUa8SNGVTfnBlr7JyHJJZWX4ys7x309uMQDLEgvzrjubTPHC Nrp2qQHL6cUYPOc7Uv2ZlvYRPCDFEoevGvAfkD5c= 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 13/17] arm64: dts: qcom: qcs404: Add remoteproc nodes Date: Tue, 30 Oct 2018 15:41:04 +0530 Message-Id: <20181030101108.11041-14-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-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 6f66327014ae..c27ec1806d98 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"; + }; + }; };