[PATCH 7/7] arm64: dts: mt8167: Add additional mmsys reset bits
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Feb 12 01:55:17 PST 2026
Il 11/02/26 20:03, Luca Leonardo Scorcia ha scritto:
> Some extra mmsys reset bits are defined in the Lenovo
> Smart Clock kernel sources - file cmdq_mdp.c
>
Hah, just noticed that this patch actually adds the same resets as the ones
in my hints at patch 2.
In any case, since you're adding the MMSYS resets in patch [2/7], having two
patches doesn't make any sense.
Leaving the fact that this patch has the wrong title ... but well anyway, just
squash this one with [2/7] and send one patch adding all of the mmsys resets
at once.
Cheers,
Angelo
> Signed-off-by: Luca Leonardo Scorcia <l.scorcia at gmail.com>
> ---
> include/dt-bindings/reset/mt8167-resets.h | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/include/dt-bindings/reset/mt8167-resets.h b/include/dt-bindings/reset/mt8167-resets.h
> index f77c2ca897cf..b379f8f023d5 100644
> --- a/include/dt-bindings/reset/mt8167-resets.h
> +++ b/include/dt-bindings/reset/mt8167-resets.h
> @@ -33,6 +33,15 @@
> #define MT8167_TOPRGU_SW_RST_NUM 15
>
> /* MMSYS resets */
> +#define MT8167_MMSYS_SW0_RST_B_SMI_COMMON 0
> +#define MT8167_MMSYS_SW0_RST_B_SMI_LARB 1
> +#define MT8167_MMSYS_SW0_RST_B_CAM_MDP 2
> +#define MT8167_MMSYS_SW0_RST_B_MDP_RDMA0 3
> +#define MT8167_MMSYS_SW0_RST_B_MDP_RSZ0 4
> +#define MT8167_MMSYS_SW0_RST_B_MDP_RSZ1 5
> +#define MT8167_MMSYS_SW0_RST_B_MDP_TDSHP0 6
> +#define MT8167_MMSYS_SW0_RST_B_MDP_WDMA 7
> +#define MT8167_MMSYS_SW0_RST_B_MDP_WROT0 8
> #define MT8167_MMSYS_SW0_RST_B_DISP_DSI0 22
>
> #endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8167 */
More information about the linux-arm-kernel
mailing list