aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.9/0026-scpsys-various-fixes.patch
blob: b5047f76b84530c4ec69f5cb610cfd5d64e0d14a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 59aafd667d2880c90776931b6102b8252214d93c Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Sun, 21 Feb 2016 13:52:12 +0100
Subject: [PATCH 026/102] scpsys: various fixes

---
 drivers/clk/mediatek/clk-mt2701.c        |    2 ++
 drivers/soc/mediatek/mtk-scpsys-mt2701.c |    8 --------
 include/dt-bindings/power/mt2701-power.h |    4 ++--
 3 files changed, 4 insertions(+), 10 deletions(-)

--- a/drivers/clk/mediatek/clk-mt2701.c
+++ b/drivers/clk/mediatek/clk-mt2701.c
@@ -1043,6 +1043,8 @@
 	if (r)
 		pr_err("%s(): could not register clock provider: %d\n",
 			__func__, r);
+
+	mtk_register_reset_controller(node, 1, 0x34);
 }
 CLK_OF_DECLARE(mtk_ethsys, "mediatek,mt2701-ethsys", mtk_ethsys_init);