Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4ec4b7d authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: gcc-sdm845: Add the BRANCH_VOTED flag to certain votable clocks



The gcc_gpu_memnoc_gfx_clk and gcc_ddrss_gpu_axi_clk clocks
are votable through the SMMU voting registers. So defer
checking for their status during clk_disable.

Change-Id: I5a0bc30cbb5dc3821c2ee09a2f3a928457eb696e
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 13ce0881
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1474,7 +1474,7 @@ static struct clk_branch gcc_cxo_tx1_clkref_clk = {

static struct clk_branch gcc_ddrss_gpu_axi_clk = {
	.halt_reg = 0x44038,
	.halt_check = BRANCH_HALT,
	.halt_check = BRANCH_VOTED,
	.clkr = {
		.enable_reg = 0x44038,
		.enable_mask = BIT(0),
@@ -1661,7 +1661,7 @@ static struct clk_gate2 gcc_gpu_gpll0_div_clk_src = {

static struct clk_branch gcc_gpu_memnoc_gfx_clk = {
	.halt_reg = 0x7100c,
	.halt_check = BRANCH_HALT,
	.halt_check = BRANCH_VOTED,
	.clkr = {
		.enable_reg = 0x7100c,
		.enable_mask = BIT(0),