summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/Kconfig
diff options
context:
space:
mode:
authorTirupathi Reddy <tirupath@codeaurora.org>2017-11-21 10:11:04 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-12-07 07:30:30 +0100
commit4cfaa55f42aa3365603f99e3d695939114706b8b (patch)
tree1314b022808203ab63185204e2f9d653e41b4d19 /drivers/clk/qcom/Kconfig
parentdt-bindings: Add qcom spmi_pmic clock divider bindings (diff)
downloadlinux-4cfaa55f42aa3365603f99e3d695939114706b8b.tar.xz
linux-4cfaa55f42aa3365603f99e3d695939114706b8b.zip
clk: qcom: Add spmi_pmic clock divider support
Clkdiv module provides a clock output on the PMIC with CXO as the source. This clock can be routed through PMIC GPIOs. Add a device driver to configure this clkdiv module. Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org> [sboyd: Simplified code and moved to devm clk provider APIs] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/Kconfig')
-rw-r--r--drivers/clk/qcom/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 9f6c278deead..20b5d6fd501d 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -196,3 +196,12 @@ config MSM_MMCC_8996
Support for the multimedia clock controller on msm8996 devices.
Say Y if you want to support multimedia devices such as display,
graphics, video encode/decode, camera, etc.
+
+config SPMI_PMIC_CLKDIV
+ tristate "SPMI PMIC clkdiv Support"
+ depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST
+ help
+ This driver supports the clkdiv functionality on the Qualcomm
+ Technologies, Inc. SPMI PMIC. It configures the frequency of
+ clkdiv outputs of the PMIC. These clocks are typically wired
+ through alternate functions on GPIO pins.