]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 26 Dec 2022 04:21:43 +0000 (06:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:50 +0000 (16:43 +0100)
commit8333a8be8258574a36e2740db7965158fd95db4e
tree6cb6e9df7e8497247a78e1eceb4ac152c2a6c676
parentdb1c80585bc4ffab1989ad16712d9c0724289de3
clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents

[ Upstream commit 712c64caf31374de57aa193a9dff57172b2f6f82 ]

On the QCS404 platform the driver for the Global Clock Controller
doens't define gpll0_out_aux and gpll4_out_aux clocks, so it's not
possible to use them as parents. Remove entries for these clocks.

Note: backporting this patch to earlier kernels would also require a
previous patch which switches the gcc driver to use ARRAY_SIZE for
parent data arrays.

Fixes: 959ea871ca56 ("clk: qcom: gcc: Add global clock controller driver for QCS404")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221226042154.2666748-6-dmitry.baryshkov@linaro.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-qcs404.c