Commit 1c9faace authored by Rex-BC Chen's avatar Rex-BC Chen Committed by Matthias Brugger
Browse files

soc: mediatek: devapc: Add support for MT8186

parent 2cb41ed0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -234,10 +234,18 @@ static const struct mtk_devapc_data devapc_mt6779 = {
	.regs_ofs = &devapc_regs_ofs_mt6779,
};

static const struct mtk_devapc_data devapc_mt8186 = {
	.vio_idx_num = 519,
	.regs_ofs = &devapc_regs_ofs_mt6779,
};

static const struct of_device_id mtk_devapc_dt_match[] = {
	{
		.compatible = "mediatek,mt6779-devapc",
		.data = &devapc_mt6779,
	}, {
		.compatible = "mediatek,mt8186-devapc",
		.data = &devapc_mt8186,
	}, {
	},
};