Re: [PATCH v19 09/25] soc: mediatek: mmsys: add mmsys for support 64 reset bits

From: AngeloGioacchino Del Regno
Date: Tue May 03 2022 - 08:19:25 EST


Il 03/05/22 12:23, Nancy.Lin ha scritto:
Add mmsys for support 64 reset bits. It is a preparation for MT8195
vdosys1 HW reset. MT8195 vdosys1 has more than 32 reset bits.

1. Add the number of reset bits in mmsys private data
2. move the whole "reset register code section" behind the
"get mmsys->data" code section for getting the num_resets in mmsys->data.

Signed-off-by: Nancy.Lin <nancy.lin@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>