summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-10-22 07:32:49 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2026-10-22 07:32:49 -1000
commit22cbcdafe135752082853355168460c730d1c4aa (patch)
treedb72161f4ac6693ead6ee146a366512e1c7abec0 /include
parent0e557fc68a1667183b5f4649ee76e833160c6714 (diff)
parent6276c8195e598361942082423114877265c17692 (diff)
Merge tag 'watchdog-for-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull watchdog updates from Guenter Roeck: "Core/generic: - Replace __MODULE_STRING() with __stringify() - Use assign_bit() where applicable - Use DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr for dev_pm_ops - Fix repeated words and typos in comments - Differentiate scenarios when watchdog is closed Added device support in existing drivers: - mtk_wdt: Support for MediaTek MT8167 and MT8127 - apple_wdt: Support for T8140 - s3c2410_wdt: Support for Exynos 5515 Various other minor bug fixes and improvements" * tag 'watchdog-for-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (22 commits) watchdog: mediatek: Apply the driver's mode to a watchdog left running dt-bindings: watchdog: apple,wdt: Add t8140 compatible watchdog: Replace __MODULE_STRING() with __stringify() watchdog: use assign_bit() where applicable watchdog: mediatek: Add support for mt8167 toprgu/watchdog dt-bindings: watchdog: Add compatible for MediaTek mt8167 watchdog: sp805_wdt: fix suspend/resume handling of HW_RUNNING watchdog watchdog: PM: use DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr for dev_pm_ops watchdog: mediatek: Add wdt/toprgu resets for mt6589 watchdog: msc313e: Replace commas with semicolons in probe() watchdog: sp805: Replace SIMPLE_DEV_PM_OPS with DEFINE_SIMPLE_DEV_PM_OPS watchdog: fix repeated words in comments watchdog: fix typos in comments watchdog: i6300esb: do not stop an already running watchdog dt-bindings: watchdog: mediatek: Add MT8127 watchdog: Differentiate scenarios when watchdog is closed dt-bindings: watchdog: renesas,r9a09g057-wdt: Add CPG/MSSR syscon support watchdog: mediatek: acknowledge pretimeout interrupt watchdog: s3c2410_wdt: Add exynos5515-wdt compatible data dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible ...
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/reset/mediatek,mt8167-wdt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mediatek,mt8167-wdt.h b/include/dt-bindings/reset/mediatek,mt8167-wdt.h
new file mode 100644
index 000000000000..1a24bfe079ca
--- /dev/null
+++ b/include/dt-bindings/reset/mediatek,mt8167-wdt.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
+#ifndef _DT_BINDINGS_RESET_MEDIATEK_MT8167_WDT_H_
+#define _DT_BINDINGS_RESET_MEDIATEK_MT8167_WDT_H_
+
+/* TOPRGU reset IDs */
+#define MT8167_TOPRGU_DDRPHY_FLASH_RST 0
+#define MT8167_TOPRGU_AUD_PAD_RST 1
+#define MT8167_TOPRGU_MM_RST 2
+#define MT8167_TOPRGU_MFG_RST 3
+#define MT8167_TOPRGU_MDSYS_RST 4
+#define MT8167_TOPRGU_CONN_RST 5
+#define MT8167_TOPRGU_PAD2CAM_DIG_MIPI_RX_RST 6
+#define MT8167_TOPRGU_DIG_MIPI_TX_RST 7
+#define MT8167_TOPRGU_SPI_PAD_MACRO_RST 8
+#define MT8167_TOPRGU_APMIXED_RST 9
+#define MT8167_TOPRGU_VDEC_RST 10
+#define MT8167_TOPRGU_CONN_MCU_RST 11
+#define MT8167_TOPRGU_EFUSE_RST 12
+#define MT8167_TOPRGU_PWRAP_SPICTL_RST 13
+
+#endif /* _DT_BINDINGS_RESET_MEDIATEK_MT8167_WDT_H_ */