2023-05-05 13:28:23

by Runyang Chen

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: reset: mt8188: add thermal reset control bit

To support reset of infra_ao, add the index of infra_ao reset of thermal
for MT8188.

Signed-off-by: Runyang Chen <[email protected]>
---
include/dt-bindings/reset/mt8188-resets.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/dt-bindings/reset/mt8188-resets.h b/include/dt-bindings/reset/mt8188-resets.h
index 377cdfda82a9..ba9a5e9b8899 100644
--- a/include/dt-bindings/reset/mt8188-resets.h
+++ b/include/dt-bindings/reset/mt8188-resets.h
@@ -33,4 +33,9 @@

#define MT8188_TOPRGU_SW_RST_NUM 24

+/* INFRA resets */
+#define MT8188_INFRA_RST1_THERMAL_MCU_RST 0
+#define MT8188_INFRA_RST1_THERMAL_CTRL_RST 1
+#define MT8188_INFRA_RST3_PTP_CTRL_RST 2
+
#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT8188 */
--
2.18.0


2023-05-05 14:03:44

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: reset: mt8188: add thermal reset control bit

On 05/05/2023 15:13, Runyang Chen wrote:
> To support reset of infra_ao, add the index of infra_ao reset of thermal
> for MT8188.
>
> Signed-off-by: Runyang Chen <[email protected]>
> ---
> include/dt-bindings/reset/mt8188-resets.h | 5 +++++
> 1 file changed, 5 insertions(+)

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof