Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: Add missing msm8998 gcc_bimc_gfx_clk

gcc_bimc_gfx_clk is a required clock for booting the GPU and GPU SMMU.

Fixes: 4807c71cc688 (arm64: dts: Add msm8998 SoC and MTP board support)
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lkml.kernel.org/r/20191217164913.4783-1-jeffrey.l.hugo@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Jeffrey Hugo and committed by
Stephen Boyd
db2c7c0a 1ea7d2ca

+15
+14
drivers/clk/qcom/gcc-msm8998.c
··· 1996 1996 }, 1997 1997 }; 1998 1998 1999 + static struct clk_branch gcc_bimc_gfx_clk = { 2000 + .halt_reg = 0x46040, 2001 + .halt_check = BRANCH_HALT, 2002 + .clkr = { 2003 + .enable_reg = 0x46040, 2004 + .enable_mask = BIT(0), 2005 + .hw.init = &(struct clk_init_data){ 2006 + .name = "gcc_bimc_gfx_clk", 2007 + .ops = &clk_branch2_ops, 2008 + }, 2009 + }, 2010 + }; 2011 + 1999 2012 static struct clk_branch gcc_gpu_bimc_gfx_clk = { 2000 2013 .halt_reg = 0x71010, 2001 2014 .halt_check = BRANCH_HALT, ··· 2823 2810 [GCC_GP1_CLK] = &gcc_gp1_clk.clkr, 2824 2811 [GCC_GP2_CLK] = &gcc_gp2_clk.clkr, 2825 2812 [GCC_GP3_CLK] = &gcc_gp3_clk.clkr, 2813 + [GCC_BIMC_GFX_CLK] = &gcc_bimc_gfx_clk.clkr, 2826 2814 [GCC_GPU_BIMC_GFX_CLK] = &gcc_gpu_bimc_gfx_clk.clkr, 2827 2815 [GCC_GPU_BIMC_GFX_SRC_CLK] = &gcc_gpu_bimc_gfx_src_clk.clkr, 2828 2816 [GCC_GPU_CFG_AHB_CLK] = &gcc_gpu_cfg_ahb_clk.clkr,
+1
include/dt-bindings/clock/qcom,gcc-msm8998.h
··· 182 182 #define GCC_MSS_GPLL0_DIV_CLK_SRC 173 183 183 #define GCC_MSS_SNOC_AXI_CLK 174 184 184 #define GCC_MSS_MNOC_BIMC_AXI_CLK 175 185 + #define GCC_BIMC_GFX_CLK 176 185 186 186 187 #define PCIE_0_GDSC 0 187 188 #define UFS_GDSC 1