]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: reset: mediatek: Add infra_ao reset index for MT8186
authorRex-BC Chen <rex-bc.chen@mediatek.com>
Mon, 23 May 2022 09:33:44 +0000 (17:33 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 16 Jun 2022 00:24:25 +0000 (17:24 -0700)
To support reset of infra_ao, add the index of infra_ao reset of
thermal/svs for MT8186.

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220523093346.28493-18-rex-bc.chen@mediatek.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
include/dt-bindings/reset/mt8186-resets.h

index 5f850370c42c9d60e269ccb4d92fbf86be99b03e..2e9029c22f38f31ec317326b12bffeed2b29df16 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef _DT_BINDINGS_RESET_CONTROLLER_MT8186
 #define _DT_BINDINGS_RESET_CONTROLLER_MT8186
 
+/* TOPRGU resets */
 #define MT8186_TOPRGU_INFRA_SW_RST                             0
 #define MT8186_TOPRGU_MM_SW_RST                                        1
 #define MT8186_TOPRGU_MFG_SW_RST                               2
@@ -33,4 +34,8 @@
 /* MMSYS resets */
 #define MT8186_MMSYS_SW0_RST_B_DISP_DSI0                       19
 
+/* INFRA resets */
+#define MT8186_INFRA_THERMAL_CTRL_RST                  0
+#define MT8186_INFRA_PTP_CTRL_RST                              1
+
 #endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT8186 */