From patchwork Thu Aug 3 04:35:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 9878127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AD3526037D for ; Thu, 3 Aug 2017 04:36:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D53D2883F for ; Thu, 3 Aug 2017 04:36:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91FAF28844; Thu, 3 Aug 2017 04:36:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1C39D2883F for ; Thu, 3 Aug 2017 04:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mN2V+RLztnyNoH9IzGJ79cx8xEFka7MAzSdLuvxn4O4=; b=N//Hl0U17xkV2ZuiOzxXCzOESR unzXgM9UGWF1voHiKovTzEDx1vF5vfq+QSAQtMoViLuGXp/gfM2tLGZChrmmzzoXj47eJYJb0Wy+y tr7wcuuNno5jpTovYe0FoeSMMN8/etPT+YHtYz37iSeCKks5+1KVmIBRTyR5eZPaBO1AqTxSo6YOW cR3k4aQ0ZcyLqs4QHCtLIwNyVjeOa2N1TSvvjFolUJxBEFizjyoLMNE5dzdFa7J3emhBIuYXaK/e6 I2X4h9QoICBJsSh6yX7OXDXu6dSfSjuiygcRxqppWRJhWIm+QrdaX73OetZyBrFExZX1UptKZaFBv qofmUkcg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dd7re-0002MB-3j; Thu, 03 Aug 2017 04:36:02 +0000 Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dd7rM-00024q-TF for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2017 04:35:46 +0000 Received: by mail-pg0-x22a.google.com with SMTP id c14so1699527pgn.0 for ; Wed, 02 Aug 2017 21:35:24 -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=6jwdhBcCllYVxH+hjTbxL/9ZyBX7/w5wlWysFMbRHPQ=; b=h0m7uhQRmskPRm9C7ZZfqStvlmFBK7CZgFkSam0DGh2A//6rPA6KECw9JUWOnvHc1P al2uxKGdbz5X87+jpxcHYaIs2iI31FWHwTB5i6yrL7MXCnx9gH8rAHf011PPrvP3W74O KAkeW3PaandEuYxS10Voud7bA4UfYi8QkKuvA= 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=6jwdhBcCllYVxH+hjTbxL/9ZyBX7/w5wlWysFMbRHPQ=; b=ndGhAYEJax4s5UQuB2vE238X3tPwUoWihlJCKDoCP6sQb0h1DqnzphYDR8071XbTJ9 f677DxVrqNCgOqMcAgF8o5xlBiFytq1fo+xoSNRp3sYoIsB+oTqy9ORmn86QQ6euFj52 J4iwjE1WNvyZruBxewDGJecLVH9GUs4KXEF+sylR1fqroBbgIo0cmvG0CLiuJgA3sT6N ITx8nm48zGO7sfVaKA7/3u04cyZR0HK8ACkHkvaQWvxMd63LWKwMsyMyqJirVnfhZ/G2 KQfz1khWpX2ZJu2oFTAP+h/8k0Ywp3FkpgHBtkXRc3s9R4U9yI697Umr9AIUL/fDA9dN B1ow== X-Gm-Message-State: AIVw113VMWWSUszuuANkeopR7rKNYmhsktTi71sQh8w7xgPEU1myiRow QVUgrh3cNBd+DlEUwgEYQQ== X-Received: by 10.99.117.30 with SMTP id q30mr345402pgc.437.1501734923918; Wed, 02 Aug 2017 21:35:23 -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.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 21:35:23 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Subject: [PATCH v2 1/4] arm64: dts: qcom: Add RPM glink nodes to msm8996 Date: Wed, 2 Aug 2017 21:35:15 -0700 Message-Id: <20170803043518.21408-2-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170802_213545_022355_6BDB5714 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8f085716e258..8ebef05e1750 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -276,12 +276,83 @@ hwlocks = <&tcsr_mutex 3>; }; + rpm-glink { + compatible = "qcom,glink-rpm"; + + interrupts = ; + + qcom,rpm-msg-ram = <&rpm_msg_ram>; + + mboxes = <&apcs_glb 0>; + + rpm_requests { + compatible = "qcom,rpm-msm8996"; + qcom,glink-channels = "rpm_requests"; + + pm8994-regulators { + compatible = "qcom,rpm-pm8994-regulators"; + + pm8994_s1: s1 {}; + pm8994_s2: s2 {}; + pm8994_s3: s3 {}; + pm8994_s4: s4 {}; + pm8994_s5: s5 {}; + pm8994_s6: s6 {}; + pm8994_s7: s7 {}; + pm8994_s8: s8 {}; + pm8994_s9: s9 {}; + pm8994_s10: s10 {}; + pm8994_s11: s11 {}; + pm8994_s12: s12 {}; + + pm8994_l1: l1 {}; + pm8994_l2: l2 {}; + pm8994_l3: l3 {}; + pm8994_l4: l4 {}; + pm8994_l5: l5 {}; + pm8994_l6: l6 {}; + pm8994_l7: l7 {}; + pm8994_l8: l8 {}; + pm8994_l9: l9 {}; + pm8994_l10: l10 {}; + pm8994_l11: l11 {}; + pm8994_l12: l12 {}; + pm8994_l13: l13 {}; + pm8994_l14: l14 {}; + pm8994_l15: l15 {}; + pm8994_l16: l16 {}; + pm8994_l17: l17 {}; + pm8994_l18: l18 {}; + pm8994_l19: l19 {}; + pm8994_l20: l20 {}; + pm8994_l21: l21 {}; + pm8994_l22: l22 {}; + pm8994_l23: l23 {}; + pm8994_l24: l24 {}; + pm8994_l25: l25 {}; + pm8994_l26: l26 {}; + pm8994_l27: l27 {}; + pm8994_l28: l28 {}; + pm8994_l29: l29 {}; + pm8994_l30: l30 {}; + pm8994_l31: l31 {}; + pm8994_l32: l32 {}; + }; + + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; + rpm_msg_ram: memory@68000 { + compatible = "qcom,rpm-msg-ram"; + reg = <0x68000 0x6000>; + }; + tcsr_mutex_regs: syscon@740000 { compatible = "syscon"; reg = <0x740000 0x20000>; @@ -303,6 +374,13 @@ reg = <0x9820000 0x1000>; }; + apcs_glb: mailbox@9820000 { + compatible = "qcom,msm8996-apcs-hmss-global"; + reg = <0x9820000 0x1000>; + + #mbox-cells = <1>; + }; + gcc: clock-controller@300000 { compatible = "qcom,gcc-msm8996"; #clock-cells = <1>;