Skip to content

Commit 50d5b7e

Browse files
committed
media: apple: isp: t8112 HW config
Not yet working. Signed-off-by: Janne Grunau <[email protected]>
1 parent ae24da7 commit 50d5b7e

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
@@ -414,19 +414,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
414414
.meta_size = ISP_META_SIZE_T8103,
415415
};
416416

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

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

431426
.clock_scratch = 0x23b3d0560,
432427
.clock_base = 0x0,
@@ -464,6 +459,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
464459

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

0 commit comments

Comments
 (0)