From patchwork Tue Aug 23 05:57:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 74488 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1925289qga; Mon, 22 Aug 2016 22:58:36 -0700 (PDT) X-Received: by 10.98.7.80 with SMTP id b77mr50172411pfd.136.1471931916348; Mon, 22 Aug 2016 22:58:36 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4si2183544pfi.181.2016.08.22.22.58.36; Mon, 22 Aug 2016 22:58:36 -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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932939AbcHWF6X (ORCPT + 27 others); Tue, 23 Aug 2016 01:58:23 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35040 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756250AbcHWF5x (ORCPT ); Tue, 23 Aug 2016 01:57:53 -0400 Received: by mail-pa0-f47.google.com with SMTP id hb8so26292461pac.2 for ; Mon, 22 Aug 2016 22:57:53 -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=sX4hURrQmHMypaB0vtJlRRA9vsTQWYGfe2YeKW2zOrU=; b=KqK0VPH+MXCOAunM8JcM2VkAnuYjKp6Jb6ygdZSpOXb82XNvorS5XXbnROiLPyuRci InN9KUXMmwIaTW22f9sNTw1zQPrvlk3m162U4nPFqozbVJbcAxOA3yjBYPikSTkfB8ev fJVDHLeWz0MdRv/qxVyXTpyuIv53e+VMuRNHY= 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=sX4hURrQmHMypaB0vtJlRRA9vsTQWYGfe2YeKW2zOrU=; b=csIBDbCwlSg/9WBrqo9DVXTfHS6w1DDCFPCo2dxXcEoM9KO2El4gyDh5FLCjAxu0ZY cuJvE734LuutTEvaegjjNBR8Pu5dj9Kfzcg6ougZQixlyzXsC/XDZcYIXXaWtdKkLtwl i1iAwZ/jgV7HGJbWxFy3OVayRO0s+A+V3wDsEeysbDU7VSAa9c47L3SkeUxEc1JotaWS LnFNh0edOIxrtzH6/DnLoQOmB3MGv6VRw0qRVuzVe7IGnwo7CrwWEbFoi3Wtnj34miSo Mnt9asYfpkTF5Km5Xl4vg4nWwOWkV4GuD0VWsx01DhHOrBRZNgll/xns+A5KuUKpTAxc UYaQ== X-Gm-Message-State: AEkoouvGsdheRQ5ku6Sf1Mjak64GyvOW9U5YI10gPL0xYiiwid1OdaXBvgqmFrNRSKYXQ0Xs X-Received: by 10.66.10.234 with SMTP id l10mr49465446pab.69.1471931873107; Mon, 22 Aug 2016 22:57:53 -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 uc1sm1994173pac.24.2016.08.22.22.57.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Aug 2016 22:57:52 -0700 (PDT) From: Bjorn Andersson To: Andy Gross Cc: Mark Rutland , Ohad Ben-Cohen , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 4/4] ARM: dts: msm8974: Add ADSP PIL node Date: Mon, 22 Aug 2016 22:57:46 -0700 Message-Id: <1471931866-3107-4-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1471931866-3107-1-git-send-email-bjorn.andersson@linaro.org> References: <1471931866-3107-1-git-send-email-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Bjorn Andersson --- Changes since v1: - Added this patch arch/arm/boot/dts/qcom-msm8974.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) -- 2.5.0 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index eac24cbe3c87..4fa630cc7e4a 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -29,7 +29,7 @@ no-map; }; - adsp@0dc00000 { + adsp_region: adsp@0dc00000 { reg = <0x0dc00000 0x1900000>; no-map; }; @@ -159,6 +159,24 @@ clock-frequency = <19200000>; }; + adsp-pil { + compatible = "qcom,msm8974-adsp-pil"; + + interrupts-extended = <&intc 0 162 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"; + + cx-supply = <&pm8841_s2>; + + memory-region = <&adsp_region>; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + }; + smem { compatible = "qcom,smem";