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

Commit ec667f83 authored by Taniya Das's avatar Taniya Das
Browse files

clk: qcom: clock-8909: Fix gpll2, mclk rate and debug mux



Correct the rate of GPLL2 from 600MHz to 792MHz and fix the N value
accordingly for the rate of 24MHz of MCLK.

Fix the debug mux value for bimc gpu clock and remove qpic clock debug
mux as it will not be used.

Change-Id: I00e39b540b8412716921d196a73fb60f794391b3
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent a8696363
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -431,7 +431,7 @@ static struct pll_vote_clk gpll2_clk_src = {
	.base = &virt_bases[GCC_BASE],
	.base = &virt_bases[GCC_BASE],
	.c = {
	.c = {
		.parent = &xo_clk_src.c,
		.parent = &xo_clk_src.c,
		.rate = 600000000,
		.rate = 792000000,
		.dbg_name = "gpll2_clk_src",
		.dbg_name = "gpll2_clk_src",
		.ops = &clk_ops_pll_vote,
		.ops = &clk_ops_pll_vote,
		CLK_INIT(gpll2_clk_src.c),
		CLK_INIT(gpll2_clk_src.c),
@@ -809,7 +809,7 @@ static struct rcg_clk camss_gp1_clk_src = {
};
};


static struct clk_freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = {
static struct clk_freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = {
	F( 24000000,	gpll2,	1,	1,	25),
	F( 24000000,	gpll2,	1,	1,	33),
	F( 66670000,	gpll0,	12,	0,	0),
	F( 66670000,	gpll0,	12,	0,	0),
	F_END
	F_END
};
};
@@ -2308,7 +2308,7 @@ static struct mux_clk gcc_debug_mux = {
		{ &gcc_crypto_clk.c, 0x0138 },
		{ &gcc_crypto_clk.c, 0x0138 },
		{ &gcc_crypto_axi_clk.c, 0x0139 },
		{ &gcc_crypto_axi_clk.c, 0x0139 },
		{ &gcc_crypto_ahb_clk.c, 0x013a },
		{ &gcc_crypto_ahb_clk.c, 0x013a },
		{ &gcc_bimc_gpu_clk.c, 0x015C },
		{ &gcc_bimc_gpu_clk.c, 0x0157 },
		{ &gcc_oxili_gfx3d_clk.c, 0x01ea },
		{ &gcc_oxili_gfx3d_clk.c, 0x01ea },
		{ &gcc_oxili_ahb_clk.c, 0x01eb },
		{ &gcc_oxili_ahb_clk.c, 0x01eb },
		{ &gcc_venus0_vcodec0_clk.c, 0x01f1 },
		{ &gcc_venus0_vcodec0_clk.c, 0x01f1 },
+0 −1
Original line number Original line Diff line number Diff line
@@ -114,7 +114,6 @@ static struct mux_clk rpm_debug_mux = {
	 * the BIMC Clock. measure the gcc_bimc_apss_axi_clk.
	 * the BIMC Clock. measure the gcc_bimc_apss_axi_clk.
	 */
	 */
	{&bimc_clk.c,  0x0155},
	{&bimc_clk.c,  0x0155},
	{&qpic_clk.c, 0x0078},
	),
	),
	.c = {
	.c = {
		.dbg_name = "rpm_debug_mux",
		.dbg_name = "rpm_debug_mux",