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

Commit 90c3e2e0 authored by Taniya Das's avatar Taniya Das
Browse files

clk: msm: gcc: Add support for 12MHz for mclk for 8953



mclk[0/1/2/3] requires a new frequency of 12MHz to be supported for
client to be able to set the frequency. Add support for the same.

Change-Id: If62ec4b559ebefdf3a95390f61e234d7af3ccaca
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent cb28f846
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1177,6 +1177,7 @@ static struct rcg_clk camss_gp1_clk_src = {
};

static struct clk_freq_tbl ftbl_mclk0_clk_src[] = {
	F(  12000000, gpll6_main_div2,    1,    2,    90),
	F(  24000000, gpll6_main_div2,    1,    2,    45),
	F(  33330000, gpll0_main_div2,   12,    0,     0),
	F(  36610000, gpll6,		  1,    2,    59),
@@ -1199,6 +1200,7 @@ static struct rcg_clk mclk0_clk_src = {
};

static struct clk_freq_tbl ftbl_mclk1_clk_src[] = {
	F(  12000000, gpll6_main_div2,    1,    2,    90),
	F(  24000000, gpll6_main_div2,    1,    2,    45),
	F(  33330000, gpll0_main_div2,   12,    0,     0),
	F(  36610000, gpll6,		  1,    2,    59),
@@ -1221,6 +1223,7 @@ static struct rcg_clk mclk1_clk_src = {
};

static struct clk_freq_tbl ftbl_mclk2_clk_src[] = {
	F(  12000000, gpll6_main_div2,    1,    2,    90),
	F(  24000000, gpll6_main_div2,    1,    2,    45),
	F(  33330000, gpll0_main_div2,   12,    0,     0),
	F(  36610000, gpll6,		  1,    2,    59),
@@ -1243,6 +1246,7 @@ static struct rcg_clk mclk2_clk_src = {
};

static struct clk_freq_tbl ftbl_mclk3_clk_src[] = {
	F(  12000000, gpll6_main_div2,    1,    2,    90),
	F(  24000000, gpll6_main_div2,    1,    2,    45),
	F(  33330000, gpll0_main_div2,   12,    0,     0),
	F(  36610000, gpll6,		  1,    2,    59),