summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2018-12-20 16:12:51 +0800
committerTom Rini <trini@konsulko.com>2019-01-14 17:43:18 -0500
commit3e066bcaefb51adcf5c0594d42abe145f701dbeb (patch)
treed5090d0a91d3152284c7c287d98d8d3a5bbc9d92 /arch
parent37cbd8918c83c9b160e79c3b79f3521cd8f73537 (diff)
reset: MedaiTek: add reset controller driver for MediaTek SoCs
This patch adds reset controller driver for MediaTek SoCs. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mediatek/reset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mediatek/reset.h b/arch/arm/include/asm/arch-mediatek/reset.h
new file mode 100644
index 00000000000..9704666d24e
--- /dev/null
+++ b/arch/arm/include/asm/arch-mediatek/reset.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2018 MediaTek Inc.
+ */
+
+#ifndef __MEDIATEK_RESET_H
+#define __MEDIATEK_RESET_H
+
+#include <dm.h>
+
+int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs);
+
+#endif /* __MEDIATEK_RESET_H */