summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/Kconfig
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2018-11-30 23:51:29 +0530
committerStephen Boyd <sboyd@kernel.org>2018-12-03 09:38:05 -0800
commit8d3e5b9c1f2cdb9c81073e1f51643617078076ed (patch)
tree85965b236707862f2ab9e4a61a5b6e332bf540c4 /drivers/clk/qcom/Kconfig
parent8ff1a156cb0b40a267fe7a2c69c06a6d566a7524 (diff)
downloadlinux-stable-8d3e5b9c1f2cdb9c81073e1f51643617078076ed.tar.gz
linux-stable-8d3e5b9c1f2cdb9c81073e1f51643617078076ed.tar.bz2
linux-stable-8d3e5b9c1f2cdb9c81073e1f51643617078076ed.zip
clk: qcom: Add lpass clock controller driver for SDM845
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. LPASS clocks present on the global clock controller would be registered with the clock framework based on the protected-clock flag. Also do not gate these clocks if they are left unused, as the lpass clocks require the global clock controller lpass clocks to be enabled before they are accessed. Mark the GCC lpass clocks as CRITICAL, for the LPASS clock access. Signed-off-by: Taniya Das <tdas@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@kernel.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 a611531df115..23adc4c8bf9d 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -293,6 +293,15 @@ config SDM_DISPCC_845
Say Y if you want to support display devices and functionality such as
splash screen.
+config SDM_LPASSCC_845
+ tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
+ depends on COMMON_CLK_QCOM
+ select SDM_GCC_845
+ help
+ Support for the LPASS clock controller on SDM845 devices.
+ Say Y if you want to use the LPASS branch clocks of the LPASS clock
+ controller to reset the LPASS subsystem.
+
config SPMI_PMIC_CLKDIV
tristate "SPMI PMIC clkdiv Support"
depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST