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

Commit 4b4d0432 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: gcc-sdm845: Add support to control the GCC_GPU_IREF_EN signal" into msm-4.9

parents 98ad9011 69ba1ca9
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -1698,6 +1698,19 @@ static struct clk_gate2 gcc_gpu_gpll0_div_clk_src = {
	},
};

static struct clk_branch gcc_gpu_iref_clk = {
	.halt_reg = 0x8c010,
	.halt_check = BRANCH_HALT,
	.clkr = {
		.enable_reg = 0x8c010,
		.enable_mask = BIT(0),
		.hw.init = &(struct clk_init_data){
			.name = "gcc_gpu_iref_clk",
			.ops = &clk_branch2_ops,
		},
	},
};

static struct clk_branch gcc_gpu_memnoc_gfx_clk = {
	.halt_reg = 0x7100c,
	.halt_check = BRANCH_VOTED,
@@ -3310,6 +3323,7 @@ static struct clk_regmap *gcc_sdm845_clocks[] = {
	[GCC_GPU_CFG_AHB_CLK] = &gcc_gpu_cfg_ahb_clk.clkr,
	[GCC_GPU_GPLL0_CLK_SRC] = &gcc_gpu_gpll0_clk_src.clkr,
	[GCC_GPU_GPLL0_DIV_CLK_SRC] = &gcc_gpu_gpll0_div_clk_src.clkr,
	[GCC_GPU_IREF_CLK] = &gcc_gpu_iref_clk.clkr,
	[GCC_GPU_MEMNOC_GFX_CLK] = &gcc_gpu_memnoc_gfx_clk.clkr,
	[GCC_GPU_SNOC_DVM_GFX_CLK] = &gcc_gpu_snoc_dvm_gfx_clk.clkr,
	[GCC_MSS_AXIS2_CLK] = &gcc_mss_axis2_clk.clkr,
+1 −0
Original line number Diff line number Diff line
@@ -197,6 +197,7 @@
#define GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK			179
#define GCC_UFS_CARD_PHY_AUX_HW_CTL_CLK				180
#define GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK				181
#define GCC_GPU_IREF_CLK					182

/* GCC reset clocks */
#define GCC_GPU_BCR						0