soc: mediatek: add mtk-mmsys support for mt8195 vdosys0
authorjason-jh.lin <jason-jh.lin@mediatek.com>
Tue, 19 Apr 2022 09:41:36 +0000 (17:41 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 22 Apr 2022 12:38:52 +0000 (14:38 +0200)
commitb804923b7ccb9c9629703364e927b48cd02a9254
treeb810d6afa1aa7ea89b434132b4eb244710992852
parent3123109284176b1532874591f7c81f3837bbdc17
soc: mediatek: add mtk-mmsys support for mt8195 vdosys0

1. Add mt8195 mmsys compatible for 2 vdosys.
2. Add io_start into each driver data of mt8195 vdosys.
3. Add get match data function to identify mmsys by io_start.
4. Add mt8195 routing table settings of vdosys0.

Signed-off-by: jason-jh.lin <jason-jh.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://lore.kernel.org/r/20220419094143.9561-2-jason-jh.lin@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mt8195-mmsys.h [new file with mode: 0644]
drivers/soc/mediatek/mtk-mmsys.c
drivers/soc/mediatek/mtk-mmsys.h
include/linux/soc/mediatek/mtk-mmsys.h