summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/Kconfig
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2016-11-02 16:56:57 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-11-11 01:46:56 +0100
commit872f91b5ea720c72f81fb46d353c43ecb3263ffa (patch)
tree5b0afa53299427be4ba43b9cbd3077f9f2a970b5 /drivers/clk/qcom/Kconfig
parentclk: qcom: Add support for SMD-RPM Clocks (diff)
downloadlinux-872f91b5ea720c72f81fb46d353c43ecb3263ffa.tar.xz
linux-872f91b5ea720c72f81fb46d353c43ecb3263ffa.zip
clk: qcom: Add support for RPM Clocks
This adds initial support for clocks controlled by the Resource Power Manager (RPM) processor on some Qualcomm SoCs, which use the qcom_rpm driver to communicate with RPM. Such platforms are apq8064 and msm8960. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/Kconfig')
-rw-r--r--drivers/clk/qcom/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index b537c59dcfe6..b82d2f33c9e4 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -12,6 +12,19 @@ config COMMON_CLK_QCOM
select REGMAP_MMIO
select RESET_CONTROLLER
+config QCOM_CLK_RPM
+ tristate "RPM based Clock Controller"
+ depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
+ select QCOM_RPMCC
+ help
+ The RPM (Resource Power Manager) is a dedicated hardware engine for
+ managing the shared SoC resources in order to keep the lowest power
+ profile. It communicates with other hardware subsystems via shared
+ memory and accepts clock requests, aggregates the requests and turns
+ the clocks on/off or scales them on demand.
+ Say Y if you want to support the clocks exposed by the RPM on
+ platforms such as apq8064, msm8660, msm8960 etc.
+
config QCOM_CLK_SMD_RPM
tristate "RPM over SMD based Clock Controller"
depends on COMMON_CLK_QCOM && QCOM_SMD_RPM