From patchwork Wed Aug 24 01:33:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 74535 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp62788qga; Tue, 23 Aug 2016 18:34:44 -0700 (PDT) X-Received: by 10.66.219.105 with SMTP id pn9mr782113pac.25.1472002484818; Tue, 23 Aug 2016 18:34:44 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cb1si6606806pad.210.2016.08.23.18.34.44; Tue, 23 Aug 2016 18:34:44 -0700 (PDT) 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=neutral (body hash did not verify) header.i=@linaro.org; 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=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932176AbcHXBen (ORCPT + 8 others); Tue, 23 Aug 2016 21:34:43 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:33734 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755471AbcHXBd7 (ORCPT ); Tue, 23 Aug 2016 21:33:59 -0400 Received: by mail-pf0-f174.google.com with SMTP id y134so974813pfg.0 for ; Tue, 23 Aug 2016 18:33:19 -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=gdzq8GACwkUbMdAy0mAnhy4F3I4bnYfm1OoI9T/QD7s=; b=VLYj3zPOsqpMvrQB95Q8d4Chy/0ovgkz8JShM5Jb7PSz+sjgoLtfM1ay9UgNgjf4z8 e2Jw4Fyfsx2hAD+tmtRQnSbTbsmqx55FSw4m9X7H8kHeY7Fvh5VzdIR4bXndVl6dmMN+ 4P1NDHSho6vWm7SlqFFheRkZZ9dvtSK9v80Zk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gdzq8GACwkUbMdAy0mAnhy4F3I4bnYfm1OoI9T/QD7s=; b=FCVs+5dhbp50jPboHxJ3JiW/tIXZYgG2F+7+1V8ubDAkZVUAgoYu/0e3dUXbg2rF8H /HWH4qeXBpyP0hiDNrvwAJvDSGgQZ7Icy29ZXafWmckE0LYQkzOjXIKFm+ZWMW+A9Q+a mPjx0h1j72rv+Exi8diGNPhhc8jTMRShLEZzt1gbG37LtkC1WynEF1I+yp179ZfhH0HO 0zVWj/Q5gsG/XPP/eBMSWjJ1BZAiXlHW+slo5qezjxuyiG6FdeLuSjHeGsAI6miFdX3Z C2HfFEN6VXE2u6tjTGcZNLy2MP7fBH4HHTuDLxMPsJIZ5PCnSBdiDMRWw/v2BWpUy4Nk tlFQ== X-Gm-Message-State: AE9vXwN9pC3Vz6Jcir2HYTgzzznuzrjxLbhesq7q3m2HXRUgb8dW+OimX4oM+GISDWqf2R7D X-Received: by 10.98.88.131 with SMTP id m125mr783672pfb.63.1472002399232; Tue, 23 Aug 2016 18:33:19 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id w76sm8551774pfd.69.2016.08.23.18.33.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Aug 2016 18:33:18 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: qcom: msm8916: Add Hexagon PIL node Date: Tue, 23 Aug 2016 18:33:13 -0700 Message-Id: <1472002393-1875-4-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1472002393-1875-1-git-send-email-bjorn.andersson@linaro.org> References: <1472002393-1875-1-git-send-email-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 The Hexagon core on the msm8916 provides services for audio control, audio output, sensors and the Hexagon SDK. The Hexagon remoteproc node allows us to boot this core. Although its part of the core platform its left disabled as it will crash without the rmtfs QMI service and we do not yet handle crashes gracefully. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 49 ++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 6e599b75525a..bf0823e76f30 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -78,7 +78,7 @@ no-map; }; - mpss@86800000 { + mpss_mem: mpss@86800000 { reg = <0x0 0x86800000 0x0 0x2b00000>; no-map; }; @@ -87,6 +87,11 @@ reg = <0x0 0x89300000 0x0 0x600000>; no-map; }; + + mba_mem: mba@8ea00000 { + no-map; + reg = <0 0x8ea00000 0 0x100000>; + }; }; cpus { @@ -616,6 +621,48 @@ reg = <0x1937000 0x30000>; }; + hexagon@4080000 { + compatible = "qcom,q6v5-pil"; + reg = <0x04080000 0x100>, + <0x04020000 0x040>; + + reg-names = "qdsp6", "rmb"; + + interrupts-extended = <&intc 0 24 1>, + <&hexagon_smp2p_in 0 0>, + <&hexagon_smp2p_in 1 0>, + <&hexagon_smp2p_in 2 0>, + <&hexagon_smp2p_in 3 0>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, + <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>, + <&gcc GCC_BOOT_ROM_AHB_CLK>; + clock-names = "iface", "bus", "mem"; + + qcom,smem-states = <&hexagon_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + resets = <&scm 0>; + reset-names = "mss_restart"; + + mx-supply = <&pm8916_l3>; + pll-supply = <&pm8916_l7>; + + qcom,halt-regs = <&tcsr 0x18000 0x19000 0x1a000>; + + status = "disabled"; + + mba { + memory-region = <&mba_mem>; + }; + + mpss { + memory-region = <&mpss_mem>; + }; + }; + wcnss@a21b000 { compatible = "qcom,pronto-v2-pil"; reg = <0x0a21b000 0x3000>;