Re: [PATCH] clk:gcc-msm8916: add missing mss_q6_bimc_axi clock

From: Srinivas Kandagatla
Date: Tue Dec 15 2015 - 08:27:49 EST




On 15/12/15 13:15, Georgi Djakov wrote:
Hi Srini,
Thanks for the patch.

On 12/12/2015 05:39 PM, Srinivas Kandagatla wrote:
This clock is required for loading the qdsp firmware.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---
drivers/clk/qcom/gcc-msm8916.c | 18 ++++++++++++++++++
include/dt-bindings/clock/qcom,gcc-msm8916.h | 1 +
2 files changed, 19 insertions(+)

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index e3bf09d..1ec5a27 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -2590,6 +2590,23 @@ static struct clk_branch gcc_mss_cfg_ahb_clk = {
},
};

+static struct clk_branch gcc_mss_q6_bimc_axi_clk = {
+ .halt_reg = 0x49004,
+ .clkr = {
+ .enable_reg = 0x49004,
+ .enable_mask = BIT(0),
+ .hw.init = &(struct clk_init_data){
+ .name = "gcc_mss_q6_bimc_axi_clk",
+ .parent_names = (const char *[]){
+ "pcnoc_bfdcd_clk_src",

Looks like the parent should be bimc_ddr_clk_src.
Otherwise looks fine to me.

Thanks for review, I will fix it and send v2.

--srini

BR,
Georgi

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/