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

clk:gcc-msm8916: add missing mss_q6_bimc_axi clock

This clock is required for loading the qdsp firmware.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Srinivas Kandagatla and committed by
Stephen Boyd
5540ac8d 4c9f2422

+19
+18
drivers/clk/qcom/gcc-msm8916.c
··· 2590 2590 }, 2591 2591 }; 2592 2592 2593 + static struct clk_branch gcc_mss_q6_bimc_axi_clk = { 2594 + .halt_reg = 0x49004, 2595 + .clkr = { 2596 + .enable_reg = 0x49004, 2597 + .enable_mask = BIT(0), 2598 + .hw.init = &(struct clk_init_data){ 2599 + .name = "gcc_mss_q6_bimc_axi_clk", 2600 + .parent_names = (const char *[]){ 2601 + "bimc_ddr_clk_src", 2602 + }, 2603 + .num_parents = 1, 2604 + .flags = CLK_SET_RATE_PARENT, 2605 + .ops = &clk_branch2_ops, 2606 + }, 2607 + }, 2608 + }; 2609 + 2593 2610 static struct clk_branch gcc_oxili_ahb_clk = { 2594 2611 .halt_reg = 0x59028, 2595 2612 .clkr = { ··· 3244 3227 [GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK] = &gcc_ultaudio_lpaif_sec_i2s_clk.clkr, 3245 3228 [GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK] = &gcc_ultaudio_lpaif_aux_i2s_clk.clkr, 3246 3229 [GCC_CODEC_DIGCODEC_CLK] = &gcc_codec_digcodec_clk.clkr, 3230 + [GCC_MSS_Q6_BIMC_AXI_CLK] = &gcc_mss_q6_bimc_axi_clk.clkr, 3247 3231 }; 3248 3232 3249 3233 static struct gdsc *gcc_msm8916_gdscs[] = {
+1
include/dt-bindings/clock/qcom,gcc-msm8916.h
··· 174 174 #define GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK 157 175 175 #define GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK 158 176 176 #define GCC_CODEC_DIGCODEC_CLK 159 177 + #define GCC_MSS_Q6_BIMC_AXI_CLK 160 177 178 178 179 /* Indexes for GDSCs */ 179 180 #define BIMC_GDSC 0