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

Commit 53f0bde0 authored by Pushkar Joshi's avatar Pushkar Joshi Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: clock-mmss-8992: Move VFE control from GDSC to branch



Move memory control from VFE GDSC to VFE0/VFE1 branch. This enables
independent memory collapse for VFE0 and VFE1 to save more power.

Change-Id: Ic34fdf998fb96f1ea5b12719e762e54fe0babb95
Signed-off-by: default avatarPushkar Joshi <pushkarj@codeaurora.org>
parent 8242fceb
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3051,10 +3051,8 @@
};

&gdsc_vfe {
	clock-names = "bus_clk", "core0_clk", "core1_clk";
	clocks = <&clock_mmss clk_camss_vfe_vfe_axi_clk>,
		 <&clock_mmss clk_camss_vfe_vfe0_clk>,
		 <&clock_mmss clk_camss_vfe_vfe1_clk>;
	clock-names = "bus_clk";
	clocks = <&clock_mmss clk_camss_vfe_vfe_axi_clk>;
	parent-supply = <&gdsc_camss_top>;
	status = "ok";
};
+2 −0
Original line number Diff line number Diff line
@@ -1612,6 +1612,7 @@ static struct branch_clk camss_top_ahb_clk = {
static struct branch_clk camss_vfe_vfe0_clk = {
	.cbcr_reg = CAMSS_VFE_VFE0_CBCR,
	.has_sibling = 0,
	.toggle_memory = true,
	.base = &virt_base,
	.c = {
		.dbg_name = "camss_vfe_vfe0_clk",
@@ -1624,6 +1625,7 @@ static struct branch_clk camss_vfe_vfe0_clk = {
static struct branch_clk camss_vfe_vfe1_clk = {
	.cbcr_reg = CAMSS_VFE_VFE1_CBCR,
	.has_sibling = 0,
	.toggle_memory = true,
	.base = &virt_base,
	.c = {
		.dbg_name = "camss_vfe_vfe1_clk",