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

Commit 7f80b3d5 authored by Tianyi Gou's avatar Tianyi Gou
Browse files

msm: clock-mdss-8974: Export hdmi clocks



Export the clocks in the hdmi clock tree so that the clock driver
can register these clocks in clook lookup table.

Change-Id: Ia5d9b8c787aef24e7a758588c33aa83b20c9202e
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent 491ad79b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -2454,7 +2454,7 @@ static struct hdmi_pll_vco_clk hdmi_vco_clk = {
	},
};

static struct div_clk hdmipll_div1_clk = {
struct div_clk hdmipll_div1_clk = {
	.data = {
		.div = 1,
	},
@@ -2467,7 +2467,7 @@ static struct div_clk hdmipll_div1_clk = {
	},
};

static struct div_clk hdmipll_div2_clk = {
struct div_clk hdmipll_div2_clk = {
	.data = {
		.div = 2,
	},
@@ -2480,7 +2480,7 @@ static struct div_clk hdmipll_div2_clk = {
	},
};

static struct div_clk hdmipll_div4_clk = {
struct div_clk hdmipll_div4_clk = {
	.data = {
		.div = 4,
	},
@@ -2493,7 +2493,7 @@ static struct div_clk hdmipll_div4_clk = {
	},
};

static struct div_clk hdmipll_div6_clk = {
struct div_clk hdmipll_div6_clk = {
	.data = {
		.div = 6,
	},
@@ -2548,7 +2548,7 @@ static int hdmi_mux_prepare(struct clk *c)
	return ret;
}

static struct mux_clk hdmipll_mux_clk = {
struct mux_clk hdmipll_mux_clk = {
	MUX_SRC_LIST(
		{ &hdmipll_div1_clk.c, 0 },
		{ &hdmipll_div2_clk.c, 1 },
+5 −0
Original line number Diff line number Diff line
@@ -80,6 +80,11 @@ extern struct mux_clk byte_mux_8084;
extern struct div_clk byte_clk_src_8084;

extern struct div_clk hdmipll_clk_src;
extern struct mux_clk hdmipll_mux_clk;
extern struct div_clk hdmipll_div1_clk;
extern struct div_clk hdmipll_div2_clk;
extern struct div_clk hdmipll_div4_clk;
extern struct div_clk hdmipll_div6_clk;

extern struct dsi_pll_vco_clk dsi_vco_clk_samarium;
extern struct div_clk analog_postdiv_clk_samarium;