Skip to content

Commit b427d85

Browse files
AngeloGioacchino Del Regnombgg
authored andcommitted
soc: mediatek: mtk-mmsys: Change MT8173 num_resets to 64
The MT8173 SoC has 64 MMSYS resets, split in two contiguous 32-bits registers, MMSYS_SW0_RST_B (0x140) and MMSYS_SW1_RST_B (0x144), as also stated in the downstream kernel for the Amazon Fire TV 2 (Sloane) in the ddp_reg.h header. Please note that managing more than 32 reset bits is supported since commit 2004f8b ("soc: mediatek: mmsys: add mmsys for support 64 reset bits") This commit brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matthias Brugger <[email protected]>
1 parent 2a0a8d8 commit b427d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/mediatek/mtk-mmsys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static const struct mtk_mmsys_driver_data mt8173_mmsys_driver_data = {
5656
.routes = mt8173_mmsys_routing_table,
5757
.num_routes = ARRAY_SIZE(mt8173_mmsys_routing_table),
5858
.sw0_rst_offset = MT8183_MMSYS_SW0_RST_B,
59-
.num_resets = 32,
59+
.num_resets = 64,
6060
};
6161

6262
static const struct mtk_mmsys_driver_data mt8183_mmsys_driver_data = {

0 commit comments

Comments
 (0)