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: 109296 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp287061qge; Wed, 2 Aug 2017 21:36:32 -0700 (PDT) X-Received: by 10.101.76.3 with SMTP id u3mr359781pgq.119.1501734992416; Wed, 02 Aug 2017 21:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501734992; cv=none; d=google.com; s=arc-20160816; b=ka8aEkAYAgskpbsdtMk1/o+moNOe+24YQLHkXraQBGsrqHFF5ggiHzPcWMkYkXHNYe Z8svn8xqT6beeI3NQWUSF9P7hB7+YIhUNqXXomDDmP4gHvAoktYeRSIcxdaveJksQ0pA nBqU4ewWLSpOwC5kKUwsUnuO2/JtngeT1Jzxhamf/qPWxrpiVsu5gsQq3zzO0GH46PCR HUQWxO2BU+q5YrQGhUsi+DMwhIay9KreoGMnwxnWVuEhm7C/57eyzmkplJeI0VjTivSz 7lRIXkb4W6g9I5uXPAB0PGG8SRf5SRowhjTQv64yzH1TC4B3lsbMgTUej4j6gQ9s2HaV VK0w== 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:arc-authentication-results; bh=hiT50Ubw3z1Qvxt/NeLjtAJf4nRWB0WhwoGbUQZbYII=; b=tqO3X4h8UJqYscEcRt6OLXPmcXnq+7C82ms8cn31LfUWwmNhyjjG5rV/iPWrFedBuW znWbwquO12TSGnOkm/jURwcBsM4tanITnqKJI9p6zDQ3HOGYy2POqDKCjwY6cD4X/2fV Z/qt/xpmxV7RP1oPjilU6JJPKTcDnd9Dkd8KLIgObtkowDeF9nHScyUAGwkKAZ3W3Cw2 LapfTmW2YMl5zoYEOT8fynrWZTqyciyVHbZB98WRnw2mvhpP3f0U6Kluxdo/jm251mls Yo1qoaJbaqKME7LA0TuwD1yVEWnz34WQ7LLaNXD3wyhqfC8ngb2t7cLYAZ7dQplDcTNg 7kmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=h0m7uhQR; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si5046628pli.989.2017.08.02.21.36.32; Wed, 02 Aug 2017 21:36:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=h0m7uhQR; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbdHCEgb (ORCPT + 9 others); Thu, 3 Aug 2017 00:36:31 -0400 Received: from mail-pg0-f48.google.com ([74.125.83.48]:35730 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751116AbdHCEfY (ORCPT ); Thu, 3 Aug 2017 00:35:24 -0400 Received: by mail-pg0-f48.google.com with SMTP id v189so1648264pgd.2 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=f2uopeipJorAguHf5UgMX6rpIqT2g/hmnnzvKiSSNUekY+hU+vvcrBmJzAxLR01O4H 4EPXKP7fsJCVOO152uH68Qa+W12qdZ526Y4kDdoonZzAXBkXTOl1mgcbgUE3YTAxrnLg 9WTY3NCVHziCNo+s43wp+So4FdrzCVZZ0zXxMJMv09HFSyPcufeyRvqVYDYbp726aZ62 IgNkbtlDWM6zqYHdNBKeOPNwgnI5OG9SZAWv11JSw3EYfI4v1m6oNYSGhcE4LgMcPpca 5lulLlsQL9U6INpGPKqETKB6xSow4M9orLNKShqY25JR6HTz3bXF5pHd3xGmhqB0qtwe cg6Q== X-Gm-Message-State: AIVw112vrVtDTO45eJ24V3alwO8Iirc0aJa7nIWfT0sKq90KDwg03LpL mqgr/esmnTTjWL4E 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 Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Signed-off-by: Bjorn Andersson --- Changes since v1: - None arch/arm64/boot/dts/qcom/msm8996.dtsi | 78 +++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;