From patchwork Mon Nov 5 15:45:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150197 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2758836ljp; Mon, 5 Nov 2018 07:46:24 -0800 (PST) X-Google-Smtp-Source: AJdET5dgyl/kwW4x6UxxTMH5a8+vRTR2/hcOkW0vxmxsl8gbbE6bs3BGynX5LYJDsbC03IAdSeU7 X-Received: by 2002:a17:902:7406:: with SMTP id g6-v6mr18289630pll.335.1541432784813; Mon, 05 Nov 2018 07:46:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541432784; cv=none; d=google.com; s=arc-20160816; b=vMHDIwChwzCJIaLF1dgPfvpM2sVD1fhVcKgNcq+80ALr5BpNnhr1KO+HrUoZtP2ZCT Dx3by3EF9PklAGZ2lI5jGxkh4W52WQsHZkjcLloiEX5X/u+IpJN+sGvuhlWMIb6yTaOC NTCny5gR6oNH3mqB9+315p4XsoCchWOvZBwu095LYIUsnT8tR5Z3yHkyQoHHRXT1MmOa 0dzF7ooCIAXxU7RVVAkRvMOYeozJhsorLZsXJ99XRiqueqd8n57zGA6HoyouvrVmnxzH v5Kv82b+c9IYOQg1hJ+LhuFRxgCpuQjaLmVpEKg0YCW7uQA1Sz7IbczG/VaTqluPZf15 H1AQ== 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=PIOO1/yUI19eyhbMqYw/RaPfmokNFmnOjZPfmcFRgB4=; b=V36hAI310hhVcvWmlFoi+rfbf8JYTayellMi+0o6SqEjdJuuuBA9ZaMsjnkHYWuwAJ 3RLQ6oX+HKQdKiu/zxC6IhS+WB81nYl1NhuMtX3ZKyEg8JxRM/1sgB3z77wjr7OlSPMI bI90JD//Xil/78gk01BXn/YMUDX5H5IU0OvpXE2sUKyS0ZQqyDelu4aaM4DSdvndRA5m mX2ZoLViImK81MG9c2fScLqomW1duwvtxQqPcBGGCIt18Wit2JlG7LB5cDGlqnXLgdQc 717q43bIuqyhVbtER3j4uNVs3AmAugQpRVmRJoCm4JofCYfaTpmWo+C37hoc6RgrEDsN W2kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DhOfqhlt; 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 u8-v6si15118692plz.431.2018.11.05.07.46.24; Mon, 05 Nov 2018 07:46:24 -0800 (PST) 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=DhOfqhlt; 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 S1730323AbeKFBGk (ORCPT + 32 others); Mon, 5 Nov 2018 20:06:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:52042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730166AbeKFBGj (ORCPT ); Mon, 5 Nov 2018 20:06:39 -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 7814420862; Mon, 5 Nov 2018 15:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541432781; bh=ahJpnFD3I9VU1GUxyVdludZTO7YXrTtDOQOIjNiTtyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DhOfqhltYYydPostO5GU38tFUJbFAb0fmwqcr6JaE/zX0nKEnKLWwlJBE6a/kIBSk rRMsfUog+X17soo1ZgX3oLQS/+L5ry6KiILOft2GraiPmnyJecPYj/WMqEn7un77jQ t2vEzShCqCx3P4bpCzI0uiHcdrKkkvtpfhwxMFt8= 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 v2 03/17] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Mon, 5 Nov 2018 21:15:15 +0530 Message-Id: <20181105154529.7614-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181105154529.7614-1-vkoul@kernel.org> References: <20181105154529.7614-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 RPM GLINK node and the RPM message ram, hwspinlock, APCS apps global and smem nodes it depends on. Signed-off-by: Bjorn Andersson Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) -- 2.14.4 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index ba7cd707299c..c749c61225b4 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -106,6 +106,34 @@ method = "smc"; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + mboxes = <&apcs_glb 0>; + + rpm_requests: glink-channel { + compatible = "qcom,rpm-qcs404"; + qcom,glink-channels = "rpm_requests"; + }; + }; + + smem { + compatible = "qcom,smem"; + + memory-region = <&smem_region>; + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + hwlocks = <&tcsr_mutex 3>; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_regs 0 0x1000>; + #hwlock-cells = <1>; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , @@ -128,6 +156,11 @@ ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x60000 0x6000>; + }; + intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; interrupt-controller; @@ -145,6 +178,11 @@ assigned-clock-rates = <19200000>; }; + tcsr_mutex_regs: syscon@1905000 { + compatible = "syscon"; + reg = <0x1905000 0x20000>; + }; + timer@b120000 { #address-cells = <1>; #size-cells = <1>; @@ -212,5 +250,11 @@ clock-names = "core", "iface"; status = "okay"; }; + + apcs_glb: mailbox@b011000 { + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + reg = <0xb011000 0x1000>; + #mbox-cells = <1>; + }; }; };