mediatek: update to latest kernel patchset from v4.13-rc
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.9 / 0010-clk-add-hifsys-reset.patch
1 From 600e2bd5c3019f31e90ec876f4efb6c209cf0d73 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Wed, 6 Jan 2016 20:06:49 +0100
4 Subject: [PATCH 10/57] clk: add hifsys reset
5
6 Hi,
7
8 small patch to add hifsys reset bits. Maybe you could add it to the next
9 version of your patch series. i have teste scpsys and clk on mt7623 today
10 and it works well.
11
12 thanks,
13 John
14
15 Signed-off-by: John Crispin <blogic@openwrt.org>
16 ---
17 drivers/clk/mediatek/clk-mt2701.c | 2 ++
18 1 file changed, 2 insertions(+)
19
20 --- a/drivers/clk/mediatek/clk-mt2701.c
21 +++ b/drivers/clk/mediatek/clk-mt2701.c
22 @@ -1000,6 +1000,8 @@ static void __init mtk_hifsys_init(struc
23 if (r)
24 pr_err("%s(): could not register clock provider: %d\n",
25 __func__, r);
26 +
27 + mtk_register_reset_controller(node, 1, 0x34);
28 }
29 CLK_OF_DECLARE(mtk_hifsys, "mediatek,mt2701-hifsys", mtk_hifsys_init);
30