]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: qcom: mmcc-msm8960: handle LVDS clock
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 24 Dec 2024 10:12:16 +0000 (12:12 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 7 Jan 2025 00:05:27 +0000 (18:05 -0600)
commit672daf24866bf002d0a7f2dca61e770a570e8cc3
treeb8b8f071a287ece891c6ec8638e393004279a74c
parenta34d21d89c85e8bb72ecd83b7cde2cba1aa718f4
clk: qcom: mmcc-msm8960: handle LVDS clock

On APQ8064 the DSI2_PIXEL_SRC clock can be used either to drive the
second DSI host or to drive the LCDC controller. Add LVDS PLL as
possible source to the clock and LVDS output clock. The DSI2_PIXEL_SRC
clock has separate path to be used for the LVDS clock.  To represent
both DSI and LVDS clocks properly, add intermediate clock which toggles
the enable bit and make DSI2_PIXEL_CLK clock just check for the HALT
bit.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241224-apq8064-fix-mmcc-v1-4-c95d2e2bf143@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/mmcc-msm8960.c