Skip to content

Commit edb10ac

Browse files
TooniisWim Van Sebroeck
authored andcommitted
dt-bindings: reset: Add binding for MediaTek MT6735 TOPRGU/WDT
Add a DT binding for the MT6735 top reset generation unit/watchdog timer. Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230302124015.75546-2-y.oudjana@protonmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent db728ea commit edb10ac

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Documentation/devicetree/bindings/watchdog/mediatek,mtk-wdt.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ properties:
2222
- enum:
2323
- mediatek,mt2712-wdt
2424
- mediatek,mt6589-wdt
25+
- mediatek,mt6735-wdt
2526
- mediatek,mt6795-wdt
2627
- mediatek,mt7986-wdt
2728
- mediatek,mt8183-wdt
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
3+
#ifndef _DT_BINDINGS_RESET_MEDIATEK_MT6735_WDT_H_
4+
#define _DT_BINDINGS_RESET_MEDIATEK_MT6735_WDT_H_
5+
6+
#define MT6735_TOPRGU_MM_RST 1
7+
#define MT6735_TOPRGU_MFG_RST 2
8+
#define MT6735_TOPRGU_VENC_RST 3
9+
#define MT6735_TOPRGU_VDEC_RST 4
10+
#define MT6735_TOPRGU_IMG_RST 5
11+
#define MT6735_TOPRGU_MD_RST 7
12+
#define MT6735_TOPRGU_CONN_RST 9
13+
#define MT6735_TOPRGU_C2K_SW_RST 14
14+
#define MT6735_TOPRGU_C2K_RST 15
15+
#define MT6735_TOPRGU_RST_NUM 9
16+
17+
#endif

0 commit comments

Comments
 (0)