File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -534,6 +534,15 @@ static const struct mtk_disp_ovl_data mt8192_ovl_2l_driver_data = {
534
534
.smi_id_en = true,
535
535
};
536
536
537
+ static const struct mtk_disp_ovl_data mt8195_ovl_driver_data = {
538
+ .addr = DISP_REG_OVL_ADDR_MT8173 ,
539
+ .gmc_bits = 10 ,
540
+ .layer_nr = 4 ,
541
+ .fmt_rgb565_is_0 = true,
542
+ .smi_id_en = true,
543
+ .supports_afbc = true,
544
+ };
545
+
537
546
static const struct of_device_id mtk_disp_ovl_driver_dt_match [] = {
538
547
{ .compatible = "mediatek,mt2701-disp-ovl" ,
539
548
.data = & mt2701_ovl_driver_data },
@@ -547,6 +556,8 @@ static const struct of_device_id mtk_disp_ovl_driver_dt_match[] = {
547
556
.data = & mt8192_ovl_driver_data },
548
557
{ .compatible = "mediatek,mt8192-disp-ovl-2l" ,
549
558
.data = & mt8192_ovl_2l_driver_data },
559
+ { .compatible = "mediatek,mt8195-disp-ovl" ,
560
+ .data = & mt8195_ovl_driver_data },
550
561
{},
551
562
};
552
563
MODULE_DEVICE_TABLE (of , mtk_disp_ovl_driver_dt_match );
You can’t perform that action at this time.
0 commit comments