@@ -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" );
@@ -384,6 +389,7 @@ static const struct apple_isp_hw apple_isp_hw_t8103 = {
384389 .bandwidth_size = 0x4 ,
385390
386391 .scl1 = false,
392+ .lpdp = false,
387393 .meta_size = ISP_META_SIZE_T8103 ,
388394};
389395
@@ -411,14 +417,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
411417 .bandwidth_size = 0x8 ,
412418
413419 .scl1 = false,
420+ .lpdp = false,
414421 .meta_size = ISP_META_SIZE_T8103 ,
415422};
416423
417424static const struct apple_isp_hw apple_isp_hw_t8112 = {
418425 .gen = ISP_GEN_T8112 ,
419426 .pmu_base = 0x23b704000 ,
420427
421- // TODO: verify
422428 .dsid_count = 1 ,
423429 .dsid_clr_base0 = 0x200f14000 ,
424430 .dsid_clr_range0 = 0x1000 ,
@@ -432,7 +438,8 @@ static const struct apple_isp_hw apple_isp_hw_t8112 = {
432438 .bandwidth_bit = 0x0 ,
433439 .bandwidth_size = 0x8 ,
434440
435- .scl1 = true,
441+ .scl1 = false,
442+ .lpdp = false,
436443 .meta_size = ISP_META_SIZE_T8112 ,
437444};
438445
@@ -454,6 +461,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
454461 .bandwidth_size = 0x8 ,
455462
456463 .scl1 = true,
464+ .lpdp = true,
457465 .meta_size = ISP_META_SIZE_T8112 ,
458466};
459467
0 commit comments