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

Commit 21e86981 authored by Sreesudhan Ramakrish Ramkumar's avatar Sreesudhan Ramakrish Ramkumar
Browse files

msm: camera: isp: Enable CGC for GIC, pedestal and GTM



Enable Clock gating for GIC, pedestal and GTM blocks. This helps to
save power since hardware gates clock during blanking period.

Change-Id: I9c2c2c7c8d4c4ef935637d039620f939c32d7fbb
Signed-off-by: default avatarSreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
parent e33b9fba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -283,9 +283,9 @@ static void msm_vfe46_init_hardware_reg(struct vfe_device *vfe_dev)
	msm_vfe46_init_danger_safe_parms(vfe_dev);
	/* CGC_OVERRIDE */
	/* MODULE_LENS_CGC_OVERRIDE */
	msm_camera_io_w(0x00000383, vfe_dev->vfe_base + 0x2C);
	msm_camera_io_w(0x00000182, vfe_dev->vfe_base + 0x2C);
	/* MODULE_COLOR_CGC_OVERRIDE */
	msm_camera_io_w(0x0000001C, vfe_dev->vfe_base + 0x34);
	msm_camera_io_w(0x00000018, vfe_dev->vfe_base + 0x34);
	/* BUS_CFG */
	msm_camera_io_w(0x00000001, vfe_dev->vfe_base + 0x84);
	/* IRQ_MASK/CLEAR */