@@ -322,9 +322,33 @@ static const struct apple_isp_hw apple_isp_hw_t8110 = {
322322 .bandwidth_size = 0x8 ,
323323};
324324
325+ static const struct apple_isp_hw apple_isp_hw_t6020 = {
326+ .platform_id = 0x7 , // J416cAP
327+ .pmu_base = 0x290284000 ,
328+
329+ .dsid_clr_base0 = 0x200014000 , // TODO
330+ .dsid_clr_base1 = 0x200054000 ,
331+ .dsid_clr_base2 = 0x200094000 ,
332+ .dsid_clr_base3 = 0x2000d4000 ,
333+ .dsid_clr_range0 = 0x1000 ,
334+ .dsid_clr_range1 = 0x1000 ,
335+ .dsid_clr_range2 = 0x1000 ,
336+ .dsid_clr_range3 = 0x1000 ,
337+
338+ .clock_scratch = 0x28e3d0868 , // CHECK
339+ .clock_base = 0x0 ,
340+ .clock_bit = 0x0 ,
341+ .clock_size = 0x8 ,
342+ .bandwidth_scratch = 0x28e3d0980 , // CHECK
343+ .bandwidth_base = 0x0 ,
344+ .bandwidth_bit = 0x0 ,
345+ .bandwidth_size = 0x8 ,
346+ };
347+
325348static const struct of_device_id apple_isp_of_match [] = {
326349 { .compatible = "apple,t8103-isp" , .data = & apple_isp_hw_t8103 },
327350 { .compatible = "apple,t6000-isp" , .data = & apple_isp_hw_t6000 },
351+ { .compatible = "apple,t6020-isp" , .data = & apple_isp_hw_t6020 },
328352 {},
329353};
330354MODULE_DEVICE_TABLE (of , apple_isp_of_match );
0 commit comments