soc: mediatek: mmsys: Create struct mtk_mmsys to store context data
authorCK Hu <ck.hu@mediatek.com>
Wed, 17 Mar 2021 18:17:09 +0000 (19:17 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 30 Mar 2021 09:07:31 +0000 (11:07 +0200)
commitce15e7faa2fc5494abe72e1ce6f7698a7834e986
treecc07c5b389d442bac2a2925308249eeb74f73ec8
parent0412120153d44410cc47b70f89a183bcd611d282
soc: mediatek: mmsys: Create struct mtk_mmsys to store context data

Apart from the driver data, in order to extend the driver to support more
and more SoCs, we will need to store other configuration data. So, create
a mtk_mmsys struct to encapsulate all that information.

Signed-off-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://lore.kernel.org/r/20210317181711.795245-2-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-mmsys.c