From patchwork Tue Oct 30 10:10:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 149716 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5248770ljp; Tue, 30 Oct 2018 03:11:41 -0700 (PDT) X-Google-Smtp-Source: AJdET5fWxLWuirSHHOuWzWrNuz4kE/MyfmvXgJxrO9JDziphsYdbIFiAocWRSLMkQhii9F/uDHyu X-Received: by 2002:a63:2ad4:: with SMTP id q203-v6mr16985720pgq.356.1540894301254; Tue, 30 Oct 2018 03:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540894301; cv=none; d=google.com; s=arc-20160816; b=l+OyURBCUROogm7t7UABibCY0qPDIk4pKlR6xJGgptrfE1Q0f3Qdguy/WpIn084nts hsuXcADfXBysc45vQLwtNwzkaOmACyx0vxLsB/l9xBjUyRmNpkhFTMo8DGpcZJ8qpZ6G +KBYXYFG+rBJyONFXNwcgHjAUpgNrnNB1E1j1/qNyhnLNtMycj0N0hAA4aXS3m2u5Fxi ELmX6RjUt3DF21gz8mDQW5secNpR6oe9bM97Fcp4hea3SCB7pogSHAZMsehCy6SPg/fN i66xJON3Zmkw0eBAJCcHO7eV/4bpdPvf6qXjA57jY1wAUjcjdCKodU/tpvqYAn8/L8UT AIew== 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=QKl2ews1IFAzbJ6lJS6VocFoTP5CkMFda42InBJzIwI=; b=pp6e2Vy2AL+uwD1wAj1pxdsPcsChIg7DLEGu89MoFbYuKbOIZFvYDx1kyAtrvF1gLU T5e8G+zVQQy6DT1p8XTdpDm/Ggozt5VbObxLlyFiK7Z4Vk4VOc5O9TSXpNj4rV8Yyy1i uhkkkHXPc/KiJrwSYHYGCpRdkLQTx3IspBDrpF8pqLhTnWoBA4NwFA6DGnGixrV3SVcM DSWTa2nmuQE8IOj+2817MD3GMydAOuyLgfveK4hnBPugti4sQ2FJ3VeuI+bo8qMf3mBj Wvk/7l3ePdnJyNTeKbsdkP0GaO8O9mA/iSkchBa6tsoRhHuvvv2nqzqMgib+loukVVlu z04w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BJoyJNFw; 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 x6-v6si20117958pfn.111.2018.10.30.03.11.40; Tue, 30 Oct 2018 03:11:41 -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=@kernel.org header.s=default header.b=BJoyJNFw; 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 S1727453AbeJ3TE1 (ORCPT + 32 others); Tue, 30 Oct 2018 15:04:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:42708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726451AbeJ3TE1 (ORCPT ); Tue, 30 Oct 2018 15:04:27 -0400 Received: from localhost.localdomain (unknown [171.61.91.108]) (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 F147F20848; Tue, 30 Oct 2018 10:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540894297; bh=1J8ZFSbaMtkC740kyipo1nmIYU8n6Dy5FSx3lsTjgB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BJoyJNFw9q7qflfyum0+SHRJ1Z8aP07kf/8gI6lMw2g619RtN9ocacl/MGly1oqvG HARGLuMLcQkYfu830U7Eu4YOtmF0v+6JcML0XAFrfseoizoUCKz4qgKngwAY5C9gaK dPsDGZ44naC3YrM9JTE72IYWq3872KwXXslF2D2A= 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 03/17] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Tue, 30 Oct 2018 15:40:54 +0530 Message-Id: <20181030101108.11041-4-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181030101108.11041-1-vkoul@kernel.org> References: <20181030101108.11041-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 28e066927b50..403d7f2b94f1 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>; + }; }; };