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

Commit 997ef6b9 authored by Junjie Wu's avatar Junjie Wu
Browse files

clk: qcom: clock-mmss-8994: Move VFE memory 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: Id347c8c540f1d84e92bc19be15b4e4d436cd1998
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 7e8955f4
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3425,10 +3425,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
@@ -1804,6 +1804,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",
@@ -1816,6 +1817,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",