mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-18 05:04:04 +00:00
soc: mediatek: devapc: Add support for MT8186
Add devapc data and compatible to support MT8186 devapc. Signed-off-by: Runyang Chen <runyang.chen@mediatek.com> Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org> Tested-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20220504115501.3490-4-rex-bc.chen@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
2cb41ed0d7
commit
1c9faace10
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||
}, {
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue