linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: agross@codeaurora.org (Andy Gross)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 04/11] arm64: dts: qcom: Add RPM/SMD support on MSM8916
Date: Tue,  8 Sep 2015 16:35:23 -0500	[thread overview]
Message-ID: <1441748131-26490-5-git-send-email-agross@codeaurora.org> (raw)
In-Reply-To: <1441748131-26490-1-git-send-email-agross@codeaurora.org>

Add support for the SMD and RPM devices found on MSM8916 platforms.

Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index d321266..27d3e90 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -138,6 +138,11 @@
 			hwlocks = <&tcsr_mutex 3>;
 		};
 
+		apcs: syscon at b011000 {
+			compatible = "syscon";
+			reg = <0x0b011000 0x1000>;
+		};
+
 		blsp1_uart2: serial at 78b0000 {
 			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
 			reg = <0x78b0000 0x200>;
@@ -427,6 +432,21 @@
 			#interrupt-cells = <4>;
 		};
 	};
+
+	smd {
+		compatible = "qcom,smd";
+
+		rpm {
+			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
+			qcom,ipc = <&apcs 8 0>;
+			qcom,smd-edge = <15>;
+
+			rpm_requests {
+				compatible = "qcom,rpm-msm8916";
+				qcom,smd-channels = "rpm_requests";
+			};
+		};
+	};
 };
 
 #include "msm8916-pins.dtsi"
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

  parent reply	other threads:[~2015-09-08 21:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 21:35 [PATCH 00/11] Add RPM/SMD Support for QCOM platforms Andy Gross
2015-09-08 21:35 ` [PATCH 01/11] soc: qcom: documentation: Update SMD/RPM Docs Andy Gross
2015-09-08 21:35 ` [PATCH 02/11] soc: qcom: smd-rpm: Add existing platform support Andy Gross
2015-09-08 21:35 ` [PATCH 03/11] arm64: dts: qcom: Add MSM8916 SMEM nodes Andy Gross
2015-09-08 21:35 ` Andy Gross [this message]
2015-09-08 21:35 ` [PATCH 05/11] arm64: dts: Add PM8916 support on MSM8916 Andy Gross
2015-09-08 21:35 ` [PATCH 06/11] regulator: qcom-smd: Add PM8916 support Andy Gross
2015-09-08 22:33   ` Bjorn Andersson
2015-09-08 21:35 ` [PATCH 06/11] regulators: " Andy Gross
2015-09-09 18:59   ` Andy Gross
2015-09-08 21:35 ` [PATCH 07/11] arm: dts: Add APQ8084 SMEM nodes Andy Gross
2015-09-08 21:35 ` [PATCH 08/11] arm: dts: Add RPM/SMD support on APQ8084 Andy Gross
2015-09-08 21:35 ` [PATCH 09/11] arm: dts: Add support for PMA8084 " Andy Gross
2015-09-08 21:35 ` [PATCH 10/11] regulator: qcom-smd: Add support for PMA8084 Andy Gross
2015-09-08 22:45   ` Bjorn Andersson
2015-09-08 21:35 ` [PATCH 11/11] arm: dts: Add RPM SMD regulator support on MSM8974 Andy Gross
2015-09-09 19:00   ` Andy Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441748131-26490-5-git-send-email-agross@codeaurora.org \
    --to=agross@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).