clk: qcom: gcc-msm8939: Fix bimc_ddr_clk_src rcgr base address
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Wed, 4 May 2022 16:38:33 +0000 (17:38 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Jun 2022 03:47:23 +0000 (22:47 -0500)
Reviewing qcom docs for the 8939 we can see the command rcgr is pointing to
the wrong address. bimc_ddr_clk_src_rcgr is @ 0x01832024 not 0x01832004.

Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220504163835.40130-3-bryan.odonoghue@linaro.org
drivers/clk/qcom/gcc-msm8939.c

index 39ebb44..3156865 100644 (file)
@@ -632,7 +632,7 @@ static struct clk_rcg2 system_noc_bfdcd_clk_src = {
 };
 
 static struct clk_rcg2 bimc_ddr_clk_src = {
-       .cmd_rcgr = 0x32004,
+       .cmd_rcgr = 0x32024,
        .hid_width = 5,
        .parent_map = gcc_xo_gpll0_bimc_map,
        .clkr.hw.init = &(struct clk_init_data){