2016-05-23 09:20:20 +00:00
|
|
|
From f7121d2b19ddad33a09408a2c5923bfd95da8533 Mon Sep 17 00:00:00 2001
|
2016-03-21 20:42:51 +00:00
|
|
|
From: John Crispin <blogic@openwrt.org>
|
|
|
|
Date: Wed, 6 Jan 2016 20:06:49 +0100
|
2016-05-23 09:20:20 +00:00
|
|
|
Subject: [PATCH 017/102] clk: add hifsys reset
|
2016-03-21 20:42:51 +00:00
|
|
|
|
|
|
|
Hi,
|
|
|
|
|
|
|
|
small patch to add hifsys reset bits. Maybe you could add it to the next
|
|
|
|
version of your patch series. i have teste scpsys and clk on mt7623 today
|
|
|
|
and it works well.
|
|
|
|
|
|
|
|
thanks,
|
|
|
|
John
|
|
|
|
|
|
|
|
Signed-off-by: John Crispin <blogic@openwrt.org>
|
|
|
|
---
|
|
|
|
drivers/clk/mediatek/clk-mt2701.c | 2 ++
|
|
|
|
include/dt-bindings/reset-controller/mt2701-resets.h | 9 +++++++++
|
|
|
|
2 files changed, 11 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/clk/mediatek/clk-mt2701.c
|
|
|
|
+++ b/drivers/clk/mediatek/clk-mt2701.c
|
2017-03-12 11:30:30 +00:00
|
|
|
@@ -1000,6 +1000,8 @@ static void __init mtk_hifsys_init(struc
|
2016-03-21 20:42:51 +00:00
|
|
|
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_hifsys, "mediatek,mt2701-hifsys", mtk_hifsys_init);
|
|
|
|
|