@@ -237,6 +237,11 @@ static int apple_isp_probe(struct platform_device *pdev)
237237 return err ;
238238 }
239239
240+ err = of_property_read_u32 (dev -> of_node , "apple,temporal-filter" ,
241+ & isp -> temporal_filter );
242+ if (err )
243+ isp -> temporal_filter = 0 ;
244+
240245 err = apple_isp_init_presets (isp );
241246 if (err ) {
242247 dev_err (dev , "failed to initialize presets\n" );
@@ -375,6 +380,7 @@ static const struct apple_isp_hw apple_isp_hw_t8103 = {
375380 .bandwidth_size = 0x4 ,
376381
377382 .scl1 = false,
383+ .lpdp = false,
378384 .meta_size = ISP_META_SIZE_T8103 ,
379385};
380386
@@ -402,14 +408,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
402408 .bandwidth_size = 0x8 ,
403409
404410 .scl1 = false,
411+ .lpdp = false,
405412 .meta_size = ISP_META_SIZE_T8103 ,
406413};
407414
408415static const struct apple_isp_hw apple_isp_hw_t8112 = {
409416 .gen = ISP_GEN_T8112 ,
410417 .pmu_base = 0x23b704000 ,
411418
412- // TODO: verify
413419 .dsid_count = 1 ,
414420 .dsid_clr_base0 = 0x200f14000 ,
415421 .dsid_clr_range0 = 0x1000 ,
@@ -423,7 +429,8 @@ static const struct apple_isp_hw apple_isp_hw_t8112 = {
423429 .bandwidth_bit = 0x0 ,
424430 .bandwidth_size = 0x8 ,
425431
426- .scl1 = true,
432+ .scl1 = false,
433+ .lpdp = false,
427434 .meta_size = ISP_META_SIZE_T8112 ,
428435};
429436
@@ -445,6 +452,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
445452 .bandwidth_size = 0x8 ,
446453
447454 .scl1 = true,
455+ .lpdp = true,
448456 .meta_size = ISP_META_SIZE_T8112 ,
449457};
450458
0 commit comments