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

Commit dbae7f38 authored by Vivek Aknurwar's avatar Vivek Aknurwar
Browse files

clk: qcom: Add setparent flag to div clocks for video,camera,gcc



Add set parent flag to propagate clock rate requests
to parents of fixed divider clocks of video cc,
camera cc and gcc.

Change-Id: Iee7d1cfe4f770f5d89f07e361f3a1c32f6215025
Signed-off-by: default avatarVivek Aknurwar <viveka@codeaurora.org>
parent 377e49df
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ static struct clk_regmap_div cam_cc_sbi_div_clk_src = {
		.name = "cam_cc_sbi_div_clk_src",
		.parent_names = (const char *[]){ "cam_cc_ife_0_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
+3 −0
Original line number Diff line number Diff line
@@ -219,6 +219,7 @@ static struct clk_regmap_div gcc_cpuss_ahb_postdiv_clk_src = {
		.name = "gcc_cpuss_ahb_postdiv_clk_src",
		.parent_names = (const char *[]){ "gcc_cpuss_ahb_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
@@ -232,6 +233,7 @@ static struct clk_regmap_div gcc_usb30_prim_mock_utmi_postdiv_clk_src = {
		.parent_names =
			(const char *[]){ "gcc_usb30_prim_mock_utmi_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
@@ -245,6 +247,7 @@ static struct clk_regmap_div gcc_usb30_sec_mock_utmi_postdiv_clk_src = {
		.parent_names =
			(const char *[]){ "gcc_usb30_sec_mock_utmi_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
+4 −0
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ static struct clk_regmap_div video_cc_mvs0_div_clk_src = {
		.name = "video_cc_mvs0_div_clk_src",
		.parent_names = (const char *[]){ "video_cc_mvs0_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
@@ -174,6 +175,7 @@ static struct clk_regmap_div video_cc_mvs0c_div2_div_clk_src = {
		.name = "video_cc_mvs0c_div2_div_clk_src",
		.parent_names = (const char *[]){ "video_cc_mvs0_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
@@ -186,6 +188,7 @@ static struct clk_regmap_div video_cc_mvs1_div_clk_src = {
		.name = "video_cc_mvs1_div_clk_src",
		.parent_names = (const char *[]){ "video_cc_mvs1_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};
@@ -198,6 +201,7 @@ static struct clk_regmap_div video_cc_mvs1c_div2_div_clk_src = {
		.name = "video_cc_mvs1c_div2_div_clk_src",
		.parent_names = (const char *[]){ "video_cc_mvs1_clk_src" },
		.num_parents = 1,
		.flags = CLK_SET_RATE_PARENT,
		.ops = &clk_regmap_div_ro_ops,
	},
};