]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: clk-alpha-pll: Add HUAYRA_2290 support
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 6 Jun 2024 11:36:01 +0000 (13:36 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Jun 2024 04:06:52 +0000 (23:06 -0500)
commitd4d74e4b305bf69ad82b8253ae38fdf54214c5ee
tree01fa2f9b17508b4b7cc71bd0f0cbb99cea9efee9
parentea5594aa3eb800f67e4d22ce375f4d74b6c48599
clk: qcom: clk-alpha-pll: Add HUAYRA_2290 support

Commit 134b55b7e19f ("clk: qcom: support Huayra type Alpha PLL")
introduced an entry to the alpha offsets array, but diving into QCM2290
downstream and some documentation, it turned out that the name Huayra
apparently has been used quite liberally across many chips, even with
noticeably different hardware.

Introduce another set of offsets and a new configure function for the
Huayra PLL found on QCM2290. This is required e.g. for the consumers
of GPUCC_PLL0 to properly start.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240606-topic-rb1_gpu-v4-2-4bc0c19da4af@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c
drivers/clk/qcom/clk-alpha-pll.h