From patchwork Thu Aug 3 04:35:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109294 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp286440qge; Wed, 2 Aug 2017 21:35:47 -0700 (PDT) X-Received: by 10.98.31.93 with SMTP id f90mr400402pff.256.1501734947543; Wed, 02 Aug 2017 21:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501734947; cv=none; d=google.com; s=arc-20160816; b=e7hi9SYL+qRb3DNLB9RQF6ExEUrESUe88vBXTes8IoQVmdQHB/BRcgR3zT8q1H2ZNO EHv4XTMe3YwrLsf4x/A99fB4pLVrj/edRYPDfXjAEa4521ZanuisLA9GNNGBw9vZuDB7 +M2/tMthHq/lYc3H33z1cqUf+qQCW4XvYfuw3REH5Dr3rZPhmsC8WzUF3pGlnPFzrv5L TsCiHSkeqzuhVYaSuMFTr9a/g81IWQF9+QJJAIngFShZeKdpuVJmiSGmL6xpWJKTyF8l W/km0mehFnf100m6i4Or6houLxoJC9g7dyyKob1OoMdsL59YWeuJvVo5Hh8x9UWOG0tQ L9jg== 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:arc-authentication-results; bh=gtKQMqXuRuJZBkds71PnmQGNMjUEMJhiJZ6LS9Ylg7M=; b=rvTpovzO+MIVSsvLA6OPf72HwOGMhBA0gzlsP9wrYKZzgyB02BrX+HdWplWySuKR9O 1pWvQGe+10zIguhK/5w6DY0dgmlqbuYH6t+7BFz+frvxYYc2oH2198KXlPBJ1UEyvDhk g6wWGanUBzADCB/ke6NVb6xEOjHFip1NA5Z2iDSO5Y49XUwqCoZyjviK5tKfDiTYiwt1 ruYqGstgGODfIVWfHeuEHWLxQIM0oO9PmMBF0qrkUNflFhxeKBGBywOGVZhGnfdUJlTJ N7hueKTTcMWnEm/sRVjA05uSKIDeVmt7KEoX8O0HZ031al7jNe/SqSBAWoTHedRI1b0Y klUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=crcNlQQa; 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 o1si20187142pld.967.2017.08.02.21.35.46; Wed, 02 Aug 2017 21:35:47 -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.b=crcNlQQa; 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 S1752034AbdHCEfa (ORCPT + 25 others); Thu, 3 Aug 2017 00:35:30 -0400 Received: from mail-pg0-f41.google.com ([74.125.83.41]:33872 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751240AbdHCEf0 (ORCPT ); Thu, 3 Aug 2017 00:35:26 -0400 Received: by mail-pg0-f41.google.com with SMTP id u185so1664728pgb.1 for ; Wed, 02 Aug 2017 21:35:26 -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=gtKQMqXuRuJZBkds71PnmQGNMjUEMJhiJZ6LS9Ylg7M=; b=crcNlQQa7UjS42IQIhv4F9uK36JZq5uykQ6q/J1NAkdznUbf46YlBHnVhJ47+GLIJe hk3LucgtTmws+so4v4/RJl4Wqokhi5XTkqKnw0pYTXGBoaG7gLd2X1nPweDhb4girIyU dAIXWO4JMp/PHClGiMPzpsf18turF60sH2XEM= 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=gtKQMqXuRuJZBkds71PnmQGNMjUEMJhiJZ6LS9Ylg7M=; b=AH2QibGb+cMuNuLgfSyhlfOHX+3duoHa+ADPmmnLHHt3Zwe1J2T8g3Q2VfAtsddIPU yETWVX490p285epD0TRcAUZ3qGRjqeVPaHH6uK2q8JRGbuOe05mmGq3EXn+zkKYNMzrV v3+OUgikbnwefg9Cy8XvOPVOO0OmfGwj0tHPm2dbIlGwyYxBIP3VfduJi65cIDB1xgaK 51PhHubbh9yshJBvxz23fLUKG7GZkOgxzSyx0cxyAnzlblPl9gY9O4JrtKZjlem2okqR emN6Um6kzQlMFz3aUFQhnIT6k7Ry62zHzn1ug/PizXq9UNFTNVevSZZR+o/OHg1q4ieL Vw8w== X-Gm-Message-State: AIVw112nnZSI/dBUJ0vaV+crCQBIgz3/3rP9udEQFwvpIizHhml/QMJP oXWdlgHKIdm2hZNV X-Received: by 10.99.62.201 with SMTP id l192mr389851pga.408.1501734926325; Wed, 02 Aug 2017 21:35:26 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id k4sm51888344pgr.74.2017.08.02.21.35.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 21:35:25 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: msm8996: Add modem smp2p nodes Date: Wed, 2 Aug 2017 21:35:17 -0700 Message-Id: <20170803043518.21408-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803043518.21408-1-bjorn.andersson@linaro.org> References: <20170803043518.21408-1-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: - Spelled out GIC_SPI arch/arm64/boot/dts/qcom/msm8996.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.12.0 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8ebef05e1750..20336ed597eb 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -662,6 +662,30 @@ }; }; + modem-smp2p { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + + interrupts = ; + + qcom,ipc = <&apcs 16 14>; + + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + smp2p-slpi { compatible = "qcom,smp2p"; qcom,smem = <481>, <430>; From patchwork Thu Aug 3 04:35:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109295 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp286686qge; Wed, 2 Aug 2017 21:36:03 -0700 (PDT) X-Received: by 10.98.40.7 with SMTP id o7mr402561pfo.124.1501734962974; Wed, 02 Aug 2017 21:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501734962; cv=none; d=google.com; s=arc-20160816; b=wunqBdgR2UMwUKBI6XP5mYf2Cy7G3c9Ikf4PvqHWyhdAholh1y2wtUGLaqdPJ3cPrC zxh1nsX4TiybKJmBMtah9onjSK7vStpCPI5nfXLP+WAkK5aYGoQxfEgvdvMrcQwSHu5N YAwfe3sINojy6vHY4ja8WY5jgMXoUcEKKHeUAmuF3Hc+0IbmmpJbZBBaZhl00wU5ToW+ bJnyEGgSlcs/edZeHIMOzjSnqxTjBDT7Ga7jgACQWMGmH7FjPFkFNSVJqx+FmcpROhjM VaQmM5HTlNuAAF4c4gazPXbrQ9ypx+qJRUO7kN4JoCEuScnOxQFcsBEqIZ5hbaYYmoHJ NbBQ== 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:arc-authentication-results; bh=fdwr1aIqdcH8WizOltjPl9JbeBC1beYYQ88SSzLGhJE=; b=gE/mrt6nzVjj23Bc8qJXoumIfKv1q497xMr7RTnFTTplmqVuKvOUtcdPRfZ93vwiHu vfix0GFUNPfVenHFcc1q6jLRt6b2JQAQObt5srTInDDeCBNPUlVyLDNYflzw4mPkQjDz ZsgGScTuRQIVsHacVrYhhFnuIEGhNYvDD0AuY66xf08FAvltOyDEItd5ObsmvGRv0h1R 22txvo1CGxiVAz06aBrpq18lhkKkMh5vuyIBJf3ovbLTkjM3N86lMdS1FBwxrn+U8GTf +xwkoWi9TF15JHnmBWi7YLnXzA5tcA5JKOKveDp+7agtcEVJnRQ1riQCE67Qoj8rdJKX xwzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=jjePdpVl; 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 i8si17418796pgc.21.2017.08.02.21.36.02; Wed, 02 Aug 2017 21:36:02 -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.b=jjePdpVl; 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 S1752154AbdHCEgA (ORCPT + 25 others); Thu, 3 Aug 2017 00:36:00 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34309 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbdHCEf2 (ORCPT ); Thu, 3 Aug 2017 00:35:28 -0400 Received: by mail-pf0-f182.google.com with SMTP id o86so1659043pfj.1 for ; Wed, 02 Aug 2017 21:35:27 -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=fdwr1aIqdcH8WizOltjPl9JbeBC1beYYQ88SSzLGhJE=; b=jjePdpVlk4wT4sLAGI13+HJPiV+VozXyw3i1kOCvbsqkqk93omDJuIY5y4mAt7rjvM qcd+brpNefescpYhYv2tijX8MrKoHLst0QSJW7RA+oU4G1K6NI2pTzcqOohlJHbJgJJY MORsKmxWLCCMReEBSL3KOI33XHXHt1cDZlPZI= 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=fdwr1aIqdcH8WizOltjPl9JbeBC1beYYQ88SSzLGhJE=; b=HL7TiyUse0+vRChLZI5Mv5N6wX2G+Xlz1hSZLxKIKAPNv/eFuHujujFLmN26z8iNzj qtrrZ0eiJFoqa737yT6mlngAGBZ1tpG+yTj49yX83cBJcBJ4hzFx6oVYL3P+u2LZrvmA I9axvB9qX40VGxeIjlOHydNdROAfoZpJ2sLY9gUX8RSZdQUmhkJEKCar0/XRyAe3RiBF 0PmrAb/9fQ5Gyzl+B0aCCCC2+qTG0MR3T61Nurkz15Iqjq/Vte/AJQkO0OQ1AxUceR+r pOtfF9Q5KDEN7oNp1dqH1AlQ9EFABvkmiHaKTbj4y9zOpZ1uMsfOn0lAYnkGF4BoW7GM xMDA== X-Gm-Message-State: AIVw111fdB71uZdoMUYCzuXzE8WNhLNjVZb7lZ5/G3LPB2g4bd2fIknc aH5D/I1UJ0u6CmF8 X-Received: by 10.84.238.9 with SMTP id u9mr395882plk.425.1501734927420; Wed, 02 Aug 2017 21:35:27 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id k4sm51888344pgr.74.2017.08.02.21.35.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 21:35:26 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] arm64: dts: qcom: msm8996: Specify smd-edge for ADSP Date: Wed, 2 Aug 2017 21:35:18 -0700 Message-Id: <20170803043518.21408-5-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803043518.21408-1-bjorn.andersson@linaro.org> References: <20170803043518.21408-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the smd-edge node for the adsp, to allow SMD communication with the ADSP. Signed-off-by: Bjorn Andersson --- Changes since v1: - Spelled out GIC_SPI arch/arm64/boot/dts/qcom/msm8996.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.12.0 diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 20336ed597eb..4764d87c1b99 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -636,6 +636,15 @@ qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-state-names = "stop"; + + smd-edge { + interrupts = ; + + label = "lpass"; + qcom,ipc = <&apcs 16 8>; + qcom,smd-edge = <1>; + qcom,remote-pid = <2>; + }; }; adsp-smp2p {