@@ -246,6 +246,11 @@ static int apple_isp_probe(struct platform_device *pdev)
246246 return err ;
247247 }
248248
249+ err = of_property_read_u32 (dev -> of_node , "apple,temporal-filter" ,
250+ & isp -> temporal_filter );
251+ if (err )
252+ isp -> temporal_filter = 0 ;
253+
249254 err = apple_isp_init_presets (isp );
250255 if (err ) {
251256 dev_err (dev , "failed to initialize presets\n" );
@@ -385,6 +390,7 @@ static const struct apple_isp_hw apple_isp_hw_t8103 = {
385390 .bandwidth_size = 0x4 ,
386391
387392 .scl1 = false,
393+ .lpdp = false,
388394 .meta_size = ISP_META_SIZE_T8103 ,
389395};
390396
@@ -412,14 +418,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
412418 .bandwidth_size = 0x8 ,
413419
414420 .scl1 = false,
421+ .lpdp = false,
415422 .meta_size = ISP_META_SIZE_T8103 ,
416423};
417424
418425static const struct apple_isp_hw apple_isp_hw_t8112 = {
419426 .gen = ISP_GEN_T8112 ,
420427 .pmu_base = 0x23b704000 ,
421428
422- // TODO: verify
423429 .dsid_count = 1 ,
424430 .dsid_clr_base0 = 0x200f14000 ,
425431 .dsid_clr_range0 = 0x1000 ,
@@ -433,7 +439,8 @@ static const struct apple_isp_hw apple_isp_hw_t8112 = {
433439 .bandwidth_bit = 0x0 ,
434440 .bandwidth_size = 0x8 ,
435441
436- .scl1 = true,
442+ .scl1 = false,
443+ .lpdp = false,
437444 .meta_size = ISP_META_SIZE_T8112 ,
438445};
439446
@@ -455,6 +462,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
455462 .bandwidth_size = 0x8 ,
456463
457464 .scl1 = true,
465+ .lpdp = true,
458466 .meta_size = ISP_META_SIZE_T8112 ,
459467};
460468
0 commit comments