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

Commit 3bdf6734 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Add irq mask for lagoon vfe" into camera-kernel.lnx.1.0

parents 233d0230 cd707bb7
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ static struct cam_vfe_camif_reg_data vfe_170_150_camif_reg_data = {
	.eof_irq_mask                    = 0x00000002,
	.error_irq_mask0                 = 0x0003FC00,
	.error_irq_mask1                 = 0x0FFF7E80,
	.subscribe_irq_mask0             = 0x00000017,
	.subscribe_irq_mask1             = 0x0,
	.enable_diagnostic_hw            = 0x1,
	.dual_vfe_sync_mask              = 0x3,
};
@@ -128,6 +130,13 @@ static struct cam_vfe_rdi_ver2_reg vfe170_150_rdi_reg = {
	.reg_update_cmd           = 0x000004AC,
};

static struct cam_vfe_rdi_common_reg_data vfe170_150_rdi_reg_data = {
	.subscribe_irq_mask0      = 0x780001E0,
	.subscribe_irq_mask1      = 0x0,
	.error_irq_mask0          = 0x0,
	.error_irq_mask1          = 0x3C,
};

static struct cam_vfe_rdi_reg_data  vfe_170_150_rdi_0_data = {
	.reg_update_cmd_data      = 0x2,
	.sof_irq_mask             = 0x8000000,
@@ -161,6 +170,7 @@ static struct cam_vfe_top_ver2_hw_info vfe170_150_top_hw_info = {
	.rdi_hw_info = {
		.common_reg = &vfe170_150_top_common_reg,
		.rdi_reg    = &vfe170_150_rdi_reg,
		.common_reg_data = &vfe170_150_rdi_reg_data,
		.reg_data = {
			&vfe_170_150_rdi_0_data,
			&vfe_170_150_rdi_1_data,