summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>2022-03-18 15:45:31 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2022-04-04 14:09:37 +0200
commit19c66219e4d5b813ebbd28621cfe9c450659ded7 (patch)
tree654fd5718d8f2811fefabed2b9c656a1ff058bab
parentarm64: dts: mt8192: Add m4u and smi nodes (diff)
downloadlinux-19c66219e4d5b813ebbd28621cfe9c450659ded7.tar.xz
linux-19c66219e4d5b813ebbd28621cfe9c450659ded7.zip
arm64: dts: mt8192: Add the mmsys reset bit to reset the dsi0
Reset the DSI hardware is needed to prevent different settings between the bootloader and the kernel. Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com> Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220318144534.17996-20-allen-kh.cheng@mediatek.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r--include/dt-bindings/reset/mt8192-resets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mt8192-resets.h b/include/dt-bindings/reset/mt8192-resets.h
index be9a7ca245b9..764ca9910fa9 100644
--- a/include/dt-bindings/reset/mt8192-resets.h
+++ b/include/dt-bindings/reset/mt8192-resets.h
@@ -27,4 +27,7 @@
#define MT8192_TOPRGU_SW_RST_NUM 23
+/* MMSYS resets */
+#define MT8192_MMSYS_SW0_RST_B_DISP_DSI0 15
+
#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8192 */