Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232382

[Patch v3 02/10] soc: qcom: smd-rpm: Add existing platform support

From Andy Gross <agross@codeaurora.org>
Newsgroups linux.kernel
Subject [Patch v3 02/10] soc: qcom: smd-rpm: Add existing platform support
Date 2015-09-24 21:30 +0200
Message-ID <qckno-3W1-29@gated-at.bofh.it> (permalink)
References <qckdI-3Kz-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds support for all current Qualcomm platforms which utilize
RPM over SMD.  This includes both MSM8916 and APQ8084.

Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
---
 .../devicetree/bindings/soc/qcom/qcom,smd-rpm.txt  |    2 ++
 drivers/soc/qcom/smd-rpm.c                         |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
index 003bedd..18d4d04 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt
@@ -19,6 +19,8 @@ resources.
 	Usage: required
 	Value type: <string>
 	Definition: must be one of:
+		    "qcom,rpm-apq8084"
+		    "qcom,rpm-msm8916"
 		    "qcom,rpm-msm8974"
 
 - qcom,smd-channels:
diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c
index 1392ccf..e8450f3 100644
--- a/drivers/soc/qcom/smd-rpm.c
+++ b/drivers/soc/qcom/smd-rpm.c
@@ -211,6 +211,8 @@ static void qcom_smd_rpm_remove(struct qcom_smd_device *sdev)
 }
 
 static const struct of_device_id qcom_smd_rpm_of_match[] = {
+	{ .compatible = "qcom,rpm-apq8084" },
+	{ .compatible = "qcom,rpm-msm8916" },
 	{ .compatible = "qcom,rpm-msm8974" },
 	{}
 };
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Patch v3 00/10] Add RPM/SMD Support for QCOM platforms Andy Gross <agross@codeaurora.org> - 2015-09-24 21:20 +0200
  [Patch v3 01/10] soc: qcom: documentation: Update SMD/RPM Docs Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
    Re: [Patch v3 01/10] soc: qcom: documentation: Update SMD/RPM Docs Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-09-25 05:20 +0200
  [Patch v3 07/10] arm: dts: Add APQ8084 SMEM nodes Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
  [Patch v3 05/10] arm64: dts: Add PM8916 support on MSM8916 Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
  [Patch v3 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
    Re: [Patch v3 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-09-25 05:30 +0200
  [Patch v3 08/10] arm: dts: Add RPM/SMD support on APQ8084 Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
  [Patch v3 02/10] soc: qcom: smd-rpm: Add existing platform support Andy Gross <agross@codeaurora.org> - 2015-09-24 21:30 +0200
  Re: [Patch v3 00/10] Add RPM/SMD Support for QCOM platforms Mark Brown <broonie@kernel.org> - 2015-09-25 20:10 +0200

csiph-web