linux/drivers/clk/qcom
Georgi Djakov d8a82587f6 clk: qcom: gcc-sdm845: Add missing flag to votable GDSCs
commit 5e82548e26 upstream.

On sdm845 devices, during boot we see the following warnings (unless we
have added 'pd_ignore_unused' to the kernel command line):
	hlos1_vote_mmnoc_mmu_tbu_sf_gdsc status stuck at 'on'
	hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc status stuck at 'on'
	hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc status stuck at 'on'
	hlos1_vote_aggre_noc_mmu_tbu2_gdsc status stuck at 'on'
	hlos1_vote_aggre_noc_mmu_tbu1_gdsc status stuck at 'on'
	hlos1_vote_aggre_noc_mmu_pcie_tbu_gdsc status stuck at 'on'
	hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc status stuck at 'on'

As the name of these GDSCs suggests, they are "votable" and in downstream
DT, they all have the property "qcom,no-status-check-on-disable", which
means that we should not poll the status bit when we disable them.

Luckily the VOTABLE flag already exists and it does exactly what we need,
so let's make use of it to make the warnings disappear.

Fixes: 06391eddb6 ("clk: qcom: Add Global Clock controller (GCC) driver for SDM845")
Reported-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Link: https://lkml.kernel.org/r/20191126153437.11808-1-georgi.djakov@linaro.org
Tested-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:21:26 +01:00
..
a53-pll.c
apcs-msm8916.c
clk-alpha-pll.c clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-alpha-pll.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-branch.c clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-branch.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-pll.c
clk-pll.h
clk-rcg.c
clk-rcg.h clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
clk-rcg2.c clk: qcom: Allow constant ratio freq tables for rcg 2020-01-04 19:12:51 +01:00
clk-regmap-divider.c
clk-regmap-divider.h
clk-regmap-mux-div.c
clk-regmap-mux-div.h
clk-regmap-mux.c
clk-regmap-mux.h
clk-regmap.c clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-regmap.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
clk-rpm.c
clk-rpmh.c clk: qcom: clk-rpmh: Add QCOM RPMh clock driver 2018-07-16 10:25:04 -07:00
clk-smd-rpm.c
clk-spmi-pmic-div.c
common.c clk: qcom: Allow constant ratio freq tables for rcg 2020-01-04 19:12:51 +01:00
common.h clk: qcom: Update SPDX headers for common files 2018-07-25 09:23:33 -07:00
dispcc-sdm845.c clk: qcom: Add display clock controller driver for SDM845 2018-08-01 08:08:12 -07:00
gcc-apq8084.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-ipq806x.c
gcc-ipq4019.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-ipq8074.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-mdm9615.c
gcc-msm8660.c
gcc-msm8916.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-msm8960.c
gcc-msm8974.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-msm8994.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
gcc-msm8996.c The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
gcc-msm8998.c clk: qcom: gcc-msm8998: Disable halt check of UFS clocks 2019-12-13 08:52:29 +01:00
gcc-sdm845.c clk: qcom: gcc-sdm845: Add missing flag to votable GDSCs 2020-01-23 08:21:26 +01:00
gdsc.c
gdsc.h
Kconfig Merge branches 'clk-actions-s700', 'clk-exynos-unused', 'clk-qcom-dispcc-845', 'clk-scmi-round' and 'clk-cs2000-spdx' into clk-next 2018-08-14 23:00:15 -07:00
lcc-ipq806x.c
lcc-mdm9615.c
lcc-msm8960.c
Makefile Merge branches 'clk-actions-s700', 'clk-exynos-unused', 'clk-qcom-dispcc-845', 'clk-scmi-round' and 'clk-cs2000-spdx' into clk-next 2018-08-14 23:00:15 -07:00
mmcc-apq8084.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
mmcc-msm8960.c
mmcc-msm8974.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00
mmcc-msm8996.c The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
reset.c
reset.h
videocc-sdm845.c clk: qcom: Move frequency table macro to common file 2018-07-06 16:45:51 -07:00