Re: [PATCH v2 10/15] soc: mediatek: Support reset bit mapping in mmsys driver

From: AngeloGioacchino Del Regno
Date: Wed Jun 14 2023 - 07:28:50 EST


Il 14/06/23 09:31, Hsiao Chien Sung ha scritto:
- Reset ID must starts from 0 and be consecutive, but
the reset bits in our hardware design is not continuous,
some bits are left unused, we need a map to solve the problem
- Use old style 1-to-1 mapping if .rst_tb is not defined

Signed-off-by: Hsiao Chien Sung <shawn.sung@xxxxxxxxxxxx>

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