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

Commit f3d02ae9 authored by Tianyi Gou's avatar Tianyi Gou
Browse files

msm: clock-8084: Add NoC handshake clocks for usb



Gcc_periph_noc_usb_hsic_ahb_clk and gcc_sys_noc_usb3_sec_axi_clk are
the NoC fsm clocks needed for usb_hsic_ahb_clk and usb3_master_sec_clk
to correctly turns on/off. Therefore, add them as the depends for the
usb clocks.

Change-Id: Ifbf41d3c7039d6b79707f86ae6ee2b6f5e08bb81
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent 347263f8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3227,6 +3227,7 @@ static struct branch_clk gcc_usb30_sec_master_clk = {
		.parent = &usb30_sec_master_clk_src.c,
		.dbg_name = "gcc_usb30_sec_master_clk",
		.ops = &clk_ops_branch,
		.depends = &gcc_sys_noc_usb3_sec_axi_clk.c,
		CLK_INIT(gcc_usb30_sec_master_clk.c),
	},
};
@@ -3287,6 +3288,7 @@ static struct branch_clk gcc_usb_hsic_ahb_clk = {
		.parent = &usb_hsic_ahb_clk_src.c,
		.dbg_name = "gcc_usb_hsic_ahb_clk",
		.ops = &clk_ops_branch,
		.depends = &gcc_periph_noc_usb_hsic_ahb_clk.c,
		CLK_INIT(gcc_usb_hsic_ahb_clk.c),
	},
};