]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: Add lpass clock controller driver for SDM845
authorTaniya Das <tdas@codeaurora.org>
Fri, 30 Nov 2018 18:21:29 +0000 (23:51 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 3 Dec 2018 17:38:05 +0000 (09:38 -0800)
commit07b050d99ac8897c2178654c580c504145027ca8
tree85965b236707862f2ab9e4a61a5b6e332bf540c4
parent60b6913660b38c424651f8e5f40939cfec2c9f98
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>
drivers/clk/qcom/Kconfig
drivers/clk/qcom/Makefile
drivers/clk/qcom/gcc-sdm845.c
drivers/clk/qcom/lpasscc-sdm845.c [new file with mode: 0644]