Skip to content

Commit 0997b11

Browse files
jannaumarcan
authored andcommitted
media: apple: isp: t8112 HW config
Not yet working. Signed-off-by: Janne Grunau <[email protected]>
1 parent 99cd0b6 commit 0997b11

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

drivers/media/platform/apple/isp/isp-drv.c

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -415,19 +415,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
415415
.meta_size = ISP_META_SIZE_T8103,
416416
};
417417

418-
static const struct apple_isp_hw apple_isp_hw_t8110 = {
418+
static const struct apple_isp_hw apple_isp_hw_t8112 = {
419419
.gen = ISP_GEN_T8112,
420420
.pmu_base = 0x23b704000,
421421

422-
.dsid_count = 4,
423-
.dsid_clr_base0 = 0x200014000, // TODO
424-
.dsid_clr_base1 = 0x200054000,
425-
.dsid_clr_base2 = 0x200094000,
426-
.dsid_clr_base3 = 0x2000d4000,
422+
// TODO: verify
423+
.dsid_count = 1,
424+
.dsid_clr_base0 = 0x200f14000,
427425
.dsid_clr_range0 = 0x1000,
428-
.dsid_clr_range1 = 0x1000,
429-
.dsid_clr_range2 = 0x1000,
430-
.dsid_clr_range3 = 0x1000,
431426

432427
.clock_scratch = 0x23b3d0560,
433428
.clock_base = 0x0,
@@ -465,6 +460,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
465460

466461
static const struct of_device_id apple_isp_of_match[] = {
467462
{ .compatible = "apple,t8103-isp", .data = &apple_isp_hw_t8103 },
463+
{ .compatible = "apple,t8112-isp", .data = &apple_isp_hw_t8112 },
468464
{ .compatible = "apple,t6000-isp", .data = &apple_isp_hw_t6000 },
469465
{ .compatible = "apple,t6020-isp", .data = &apple_isp_hw_t6020 },
470466
{},

0 commit comments

Comments
 (0)