Skip to content

Commit b20b565

Browse files
committed
media: apple: isp: t8112 HW config
Not yet working. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 33f1dcb commit b20b565

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
@@ -405,19 +405,14 @@ static const struct apple_isp_hw apple_isp_hw_t6000 = {
405405
.meta_size = ISP_META_SIZE_T8103,
406406
};
407407

408-
static const struct apple_isp_hw apple_isp_hw_t8110 = {
408+
static const struct apple_isp_hw apple_isp_hw_t8112 = {
409409
.gen = ISP_GEN_T8112,
410410
.pmu_base = 0x23b704000,
411411

412-
.dsid_count = 4,
413-
.dsid_clr_base0 = 0x200014000, // TODO
414-
.dsid_clr_base1 = 0x200054000,
415-
.dsid_clr_base2 = 0x200094000,
416-
.dsid_clr_base3 = 0x2000d4000,
412+
// TODO: verify
413+
.dsid_count = 1,
414+
.dsid_clr_base0 = 0x200f14000,
417415
.dsid_clr_range0 = 0x1000,
418-
.dsid_clr_range1 = 0x1000,
419-
.dsid_clr_range2 = 0x1000,
420-
.dsid_clr_range3 = 0x1000,
421416

422417
.clock_scratch = 0x23b3d0560,
423418
.clock_base = 0x0,
@@ -455,6 +450,7 @@ static const struct apple_isp_hw apple_isp_hw_t6020 = {
455450

456451
static const struct of_device_id apple_isp_of_match[] = {
457452
{ .compatible = "apple,t8103-isp", .data = &apple_isp_hw_t8103 },
453+
{ .compatible = "apple,t8112-isp", .data = &apple_isp_hw_t8112 },
458454
{ .compatible = "apple,t6000-isp", .data = &apple_isp_hw_t6000 },
459455
{ .compatible = "apple,t6020-isp", .data = &apple_isp_hw_t6020 },
460456
{},

0 commit comments

Comments
 (0)