Thread (11 messages) 11 messages, 6 authors, 2014-07-04

[PATCH v3 2/3] soc: qcom-rpm: Driver for the Qualcomm RPM

From: pramod gurav <hidden>
Date: 2014-07-04 06:16:49
Also in: linux-arm-msm, linux-devicetree, lkml

Hi Bjorn,

On Tue, Jun 17, 2014 at 12:16 AM, Bjorn Andersson
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960
and 8064 based devices. The driver exposes resources that child drivers
can operate on; to implementing regulator, clock and bus frequency
drivers.

Signed-off-by: Bjorn Andersson <redacted>
---
 drivers/soc/qcom/Kconfig     |  14 ++
 drivers/soc/qcom/Makefile    |   1 +
 drivers/soc/qcom/qcom_rpm.c  | 573 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/soc/qcom_rpm.h |  12 +
 4 files changed, 600 insertions(+)
 create mode 100644 drivers/soc/qcom/qcom_rpm.c
 create mode 100644 include/linux/soc/qcom_rpm.h
diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index 7bd2c94..a8c2a96 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -9,3 +9,17 @@ config QCOM_GSBI
           functions for connecting the underlying serial UART, SPI, and I2C
           devices to the output pins.

+config QCOM_RPM
+       tristate "Qualcomm Resource Power Manager (RPM)"
+       depends on ARCH_QCOM && OF
+       help
+         If you say yes to this option, support will be included for the
+         Resource Power Manager system found in the Qualcomm 8660, 8960 and
+         8064 based devices.
+
+         This is required to access many regulators, clocks and bus
+         frequencies controlled by the RPM on these devices.
+
+         Say M here if you want to include support for the Qualcomm RPM as a
+         module. This will build a module called "qcom_rpm".
+
Adds extra line EOF here.
quoted hunk ↗ jump to hunk
diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
index 4389012..e7706e8 100644
--- a/drivers/soc/qcom/Makefile

br,
Pramod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help