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

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

clk: qcom: qcs405: Always keep pcnoc usb2/3 clocks ON



The pcnoc USB2/3 clocks are connected to the PCNOC and turning them off
would result in NOC errors. So mark these clocks as critical and also
remove any parent relation so as to remove any voltage association with
these clocks.

Change-Id: I077444d07bd6900b195bb9a99672d3471a1f0464
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent ad1e28d6
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -2335,11 +2335,7 @@ static struct clk_branch gcc_pcnoc_usb2_clk = {
		.enable_mask = BIT(0),
		.hw.init = &(struct clk_init_data){
			.name = "gcc_pcnoc_usb2_clk",
			.parent_names = (const char *[]){
				"usb_hs_system_clk_src",
			},
			.num_parents = 1,
			.flags = CLK_SET_RATE_PARENT,
			.flags = CLK_IS_CRITICAL,
			.ops = &clk_branch2_ops,
		},
	},
@@ -2353,11 +2349,7 @@ static struct clk_branch gcc_pcnoc_usb3_clk = {
		.enable_mask = BIT(0),
		.hw.init = &(struct clk_init_data){
			.name = "gcc_pcnoc_usb3_clk",
			.parent_names = (const char *[]){
				"usb30_master_clk_src",
			},
			.num_parents = 1,
			.flags = CLK_SET_RATE_PARENT,
			.flags = CLK_IS_CRITICAL,
			.ops = &clk_branch2_ops,
		},
	},