From patchwork Thu Nov 8 18:39:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150575 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1184547ljp; Thu, 8 Nov 2018 10:41:21 -0800 (PST) X-Google-Smtp-Source: AJdET5exFmuMy8JAJTp5nofbgaECs+WzO4ZihBt6Wo93wtAQygmTwEvSedNX3hJ1eXmiGxmNoa7e X-Received: by 2002:a63:ba48:: with SMTP id l8mr4619604pgu.72.1541702481308; Thu, 08 Nov 2018 10:41:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702481; cv=none; d=google.com; s=arc-20160816; b=EOqMOrcmhe6jPQ5ZLGrkHGTEZnpJYULST23/PdD7TJ332hXTD6C/FZ0X5mL9cv5Y7y AbefRCE1msclD4bMD/h1bNVYSPIWZgV1h6DQgsLwPz4KYDCxFF0Y0WQuX8FeuRcXPm9e 20qKzBqMa0aZ3dtANDpU4vyrZUKjoEghujQJk0qQL6DnjROlISP3KWESX5ZTFLO3RI7h LVlxM2+mTzybWR/dSxcS/TSEm8gZTDcTDqxqzF+48DTllQra81jcWUDjTc/lSjz62HjS mOoKajUJ9Qkoz1rm1FOzFkCb46KMSYOTndYO/ObPYhdehYvc6CavhS7PmLOwjAczzzAv zBXw== 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=Yn5WRJhp/il9B25QmUZxp26tn9gGWo8qWTp+DCOBOyA=; b=wjT/5uHnXVcIZPG/tCByxPiymlMxF4U2rHfhX3XLRXgI96xF1pog2h+sbaXoQEghFg A7rScWquN/u8X2dtfKqeSQ75H1vp37Sc0jPEtHtD82M9A6rco7+Q777i02rxJNsNr4IN X7s0xfnbocMgFLShB/Pwdjmx5hdNq7oZYCeZRJwkzbe9UwhJw+a+PSj56qMEO7d+Rg0S Bt8tu/gNG44aeM3f1AvQrLqPJh4hWdKPvC8UNz3XIzf3MuY5a85Be7D0vzltgOBmY15N qcUUoHUTNmou8F1Mi529xBLe+azljbFmrD3FCtI2jsD0zxSmiEq+quwrDj6syLcSqzVq cnyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aBtKjXWc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 q13si4399549pgj.86.2018.11.08.10.41.21; Thu, 08 Nov 2018 10:41:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=aBtKjXWc; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727495AbeKIESH (ORCPT + 6 others); Thu, 8 Nov 2018 23:18:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:60118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeKIESG (ORCPT ); Thu, 8 Nov 2018 23:18:06 -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 F052520684; Thu, 8 Nov 2018 18:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702479; bh=zZpXSbmNbp/b/hkBQO15rUMRnsw6ga9X7VfhMkxt3Y8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aBtKjXWci6FbzVY9pTyLDjRLv/tS6e17LSmCP5+bdqmS8l/wh2KLNFzo8m95kirQA +siZhX6kobFqjIHblDx5CcfYcI5kjNlN9PHDLJ7179g/DuLQ2tMAxt7PZ5NNPef1yI EwfzDffY3iVCPV/paPHv1F1DXv3f9fIipEeHU9bQ= 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, Vinod Koul Subject: [PATCH v4 06/18] arm64: dts: qcom: qcs404: add smp2p nodes Date: Fri, 9 Nov 2018 00:09:57 +0530 Message-Id: <20181108184009.18430-7-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-1-vkoul@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the smp2p-adsp, smp2p-cdsp and smp2p-wcss nodes found in QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index e21b4a549e75..cc4dd3186ae9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -257,4 +257,64 @@ , ; }; + + smp2p-adsp { + compatible = "qcom,smp2p"; + qcom,smem = <443>, <429>; + interrupts = ; + mboxes = <&apcs_glb 10>; + qcom,local-pid = <0>; + qcom,remote-pid = <2>; + + adsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + adsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-cdsp { + compatible = "qcom,smp2p"; + qcom,smem = <94>, <432>; + interrupts = ; + mboxes = <&apcs_glb 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + cdsp_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + cdsp_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + smp2p-wcss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs_glb 18>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + wcss_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + wcss_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; }; From patchwork Thu Nov 8 18:40:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150584 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1185255ljp; Thu, 8 Nov 2018 10:41:58 -0800 (PST) X-Google-Smtp-Source: AJdET5fRwPItuquOIMG+pXD7KOFMd7DKfYLR9ctalvLEC/1vBZuUC+hTEuHemKTydwA9Abn4T8e/ X-Received: by 2002:a62:de84:: with SMTP id h126-v6mr5596630pfg.129.1541702518428; Thu, 08 Nov 2018 10:41:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541702518; cv=none; d=google.com; s=arc-20160816; b=DbTcwqJWDZJFFPZoTapy2pV4XfFLdk8EC7+x4gnH1MAm816z+oVAMcX6EJF2hSeyHM 3iucfuS/NzgoQ8Wy3s9sEdf3ra+vlJn0Rt/8bWnYOT1kCI9/gHTxF42YT0eXQOaxA0lP IiumAOt82hCZXuHKF9/z9l1HS3oBZjGrCq/hth6ECuL/kLRD2RqR785vMMEyRWJk94xg jG1RyYEunKnNvfIbzTh1T3aOiLWwwSOsBgecfLPihhV+QoT7kRXbS6yYnqsF1FrzKrnp FjR5EOjHNgcknQ6wbx27l7uW0lWQ31CnS72o3FbNEhNmsYAPu/fIrnWa3iUAV8riZSyN mLaw== 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=yGRaHzwLTjggE6PJF3AAFFSLsqsQfAahPoamgQGjVrY=; b=nGZJw+gtgqQJH2CDZu8iKzYAa/F6YlKfLOcZVTH37iFNH9suDlTnWl+5ShRL0sQMC0 tV+PI7UnxUbuR4zCO0Pi4aQqRorY2319UO/SA0jYHk9EV4Q+cRr690exG31TRfb3Dhfk 00E8t9lsSV8j4rfJFQlEwHeGuM2RgSWu9mCpABDZ4GxgkFJi2pt/pNXsMAfCR0v2cS5g dK+tKMnB+TLNLnxqmhF9GO3vNM1voOdbV4KVhlLdSaifkhRQhF5UqakQOioJiC0VC68u N2gVr2lOUwA+nBGKxbutRnba2CldTfJewT2tkt5JfsudQdtBcnoyOuTox+F3nra3kq4k ousg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wtL7z9JV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 62-v6si5155439plf.308.2018.11.08.10.41.58; Thu, 08 Nov 2018 10:41:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=wtL7z9JV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727232AbeKIESo (ORCPT + 6 others); Thu, 8 Nov 2018 23:18:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:60854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbeKIESo (ORCPT ); Thu, 8 Nov 2018 23:18:44 -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 3E0D42081C; Thu, 8 Nov 2018 18:41:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541702516; bh=jpM1GYtMSAoO+7oNSDomvaf0GVayhIm0QNSN7jJTROk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wtL7z9JVZEfaJdVZLOSGWgCGqcLpY9eS4krlSdQWad8eAESI0pRz8fEe85h2RPuk8 I81oZu6RIFwDXzkbFCpVcJ2u5HEvcCcySeRXMxDMvVjDgx5huuKm39RuFEf1UEIilT pJa+63wjEgcgY2XPH3VkbpArxdA0JU2rQRZmpTgw= 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, Vinod Koul Subject: [PATCH v4 15/18] arm64: dts: qcom: qcs404: add prng-ee node Date: Fri, 9 Nov 2018 00:10:06 +0530 Message-Id: <20181108184009.18430-16-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181108184009.18430-1-vkoul@kernel.org> References: <20181108184009.18430-1-vkoul@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org RNG hardware in QCS404 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for QCS404. Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 4805f66cd2cd..6ef641f62469 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -253,6 +253,13 @@ reg = <0x00060000 0x6000>; }; + rng: rng@e3000 { + compatible = "qcom,prng-ee"; + reg = <0x000e3000 0x1000>; + clocks = <&gcc GCC_PRNG_AHB_CLK>; + clock-names = "core"; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,qcs404-pinctrl"; reg = <0x01000000 0x200000>,