From patchwork Fri Nov 9 09:44:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 150619 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1923100ljp; Fri, 9 Nov 2018 01:45:09 -0800 (PST) X-Google-Smtp-Source: AJdET5cWnOspKiAw6nBSxwF7SXnq/6wUHMcthbkqveA6CzxMGU49N97N7UTgRtnl2uObDzJBAgEg X-Received: by 2002:aa7:8603:: with SMTP id p3-v6mr8314761pfn.247.1541756709352; Fri, 09 Nov 2018 01:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541756709; cv=none; d=google.com; s=arc-20160816; b=mDzrjbgCarVqgH6dOg5DcTpAKSsWq3iefDV0JhIF6AqmWl2q9WA3IVvDasROsNe6eJ H+oKTuGbQoJMDd+jmeYnN9+ScAU+hUo0gq6D690KWJp6e7ibA79+SIIetSXue5e5xJ/B xq7Wz4M0G87ZSfMFslbIBqQQUHM2VOKlGEVTjj6ahI0h7sFZtGTQCykiYORu+K102nOg OcfUQ4Y7+wwtwNaDhGyD6k2qvBD963Og2FeQDySdVUbksBy/Bv0v3HxlrjWEZtl9xv4k vcQY7eNEZyHZRaY0GY/aezzats0rxFoxRvoCKCcQqlymm/UvqRUmoTMDJJAATYuuJnKW FS+w== 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=egKm3UPL3sApsx5MP8xujp0Nvpq1tc/2nH6mvYstmwo=; b=WqXUpHP/WTYx/blEzG94MrhEzpB6/hYpYHi+62MCcQ+Cv2B3GAtRhIF6HbyfqCPHcv 13JLiIqcoiM/C4whzAhOHw+nJ7SnGpkAqvTGsvJGu0Rksw6wm99jBQjTKESfMZJNlwda QF+appAwcHRSSfIInYvnSKNUQnpWsX82e3R/cuxj+pfMNA39iR7DZdsy61riwyeG6OCe PLqlFVrZkmLEtSHZGjIDRzvzlGr8hmoDk4X7jXrDTDfQF6utv3dk9S9wETWOtqND+EK8 Piy8McRfEPiJzOBXJbdOeVsbQK6xapOyFqp1sIczDlCld3/LD24GWrTbw4agDXvEEFBM q1LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=svwt050l; 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 m63-v6si7361632pld.161.2018.11.09.01.45.08; Fri, 09 Nov 2018 01:45:09 -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=svwt050l; 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 S1728073AbeKITYw (ORCPT + 32 others); Fri, 9 Nov 2018 14:24:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:53412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727560AbeKITYv (ORCPT ); Fri, 9 Nov 2018 14:24:51 -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 01FA6208E3; Fri, 9 Nov 2018 09:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541756704; bh=Zd8PV7kk+UNbU2udL9bffX4RclBdeswcwmlojPfvOOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=svwt050lLbX659yUjjNirr7t6+Lg7sXr7txFz5OFf46j3cI2qzVYRymlVzA/WdMLx d2DyDDzU64TmSNf2IbccWGJqq9cL5C75TgaQVn9YA++ayzHjT5XBfAxfdGndjP78yq B5+6yFiX3nOB1uqdY3VHqKXDCQTsyRq8GWV8oSjY= From: Vinod Koul To: Andy Gross Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul Subject: [PATCH v5 04/18] arm64: dts: qcom: qcs404: Add RPM GLINK related nodes Date: Fri, 9 Nov 2018 15:14:03 +0530 Message-Id: <20181109094417.12109-5-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181109094417.12109-1-vkoul@kernel.org> References: <20181109094417.12109-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 d40f3923ed69..6bc0925acda9 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -114,12 +114,45 @@ }; }; + 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>; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@60000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x00060000 0x6000>; + }; + gcc: clock-controller@1800000 { compatible = "qcom,gcc-qcs404"; reg = <0x01800000 0x80000>; @@ -129,6 +162,11 @@ assigned-clock-rates = <19200000>; }; + tcsr_mutex_regs: syscon@1905000 { + compatible = "syscon"; + reg = <0x01905000 0x20000>; + }; + blsp1_uart2: serial@78b1000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x078b1000 0x200>; @@ -146,6 +184,12 @@ <0x0b002000 0x1000>; }; + apcs_glb: mailbox@b011000 { + compatible = "qcom,qcs404-apcs-apps-global", "syscon"; + reg = <0x0b011000 0x1000>; + #mbox-cells = <1>; + }; + timer@b120000 { #address-cells = <1>; #size-cells = <1>;