aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/dt-bindings/reset
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2021-09-30 10:31:48 +0200
committerMatthias Brugger <matthias.bgg@gmail.com>2021-10-08 15:11:14 +0200
commit4bdb00edbd2ae354471f8d37d976a864bf29b60f (patch)
treee31a3ca91eb36bb90ea0a5c21e6af9f18c962438 /include/dt-bindings/reset
parentarm64: dts: mt8173: Add the mmsys reset bit to reset the dsi0 (diff)
downloadwireguard-linux-4bdb00edbd2ae354471f8d37d976a864bf29b60f.tar.xz
wireguard-linux-4bdb00edbd2ae354471f8d37d976a864bf29b60f.zip
arm64: dts: mt8183: 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. While here, also remove the undocumented and also not used 'mediatek,syscon-dsi' property. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210930103105.v4.5.I933f1532d7a1b2910843a9644c86a7d94a4b44e1@changeid Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'include/dt-bindings/reset')
-rw-r--r--include/dt-bindings/reset/mt8183-resets.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mt8183-resets.h b/include/dt-bindings/reset/mt8183-resets.h
index a1bbd41e0d12..48c5d2de0a38 100644
--- a/include/dt-bindings/reset/mt8183-resets.h
+++ b/include/dt-bindings/reset/mt8183-resets.h
@@ -80,6 +80,9 @@
#define MT8183_INFRACFG_SW_RST_NUM 128
+/* MMSYS resets */
+#define MT8183_MMSYS_SW0_RST_B_DISP_DSI0 25
+
#define MT8183_TOPRGU_MM_SW_RST 1
#define MT8183_TOPRGU_MFG_SW_RST 2
#define MT8183_TOPRGU_VENC_SW_RST 3