From: john@phrozen.org (John Crispin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] clk: mediatek: add mt2701 ethernet reset
Date: Mon, 23 Jan 2017 13:48:26 +0100 [thread overview]
Message-ID: <1485175707-58528-2-git-send-email-john@phrozen.org> (raw)
In-Reply-To: <1485175707-58528-1-git-send-email-john@phrozen.org>
The ethernet clock core has a reset register that is currently not exposed
to the user. Fix this by adding the missing registration code.
Signed-off-by: John Crispin <john@phrozen.org>
---
drivers/clk/mediatek/clk-mt2701-eth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/mediatek/clk-mt2701-eth.c b/drivers/clk/mediatek/clk-mt2701-eth.c
index 877be87..9251a65 100644
--- a/drivers/clk/mediatek/clk-mt2701-eth.c
+++ b/drivers/clk/mediatek/clk-mt2701-eth.c
@@ -66,6 +66,8 @@ static int clk_mt2701_eth_probe(struct platform_device *pdev)
"could not register clock provider: %s: %d\n",
pdev->name, r);
+ mtk_register_reset_controller(node, 1, 0x34);
+
return r;
}
--
1.7.10.4
next prev parent reply other threads:[~2017-01-23 12:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 12:48 [PATCH 0/2] clk: mediatek: add missing ethernet reset definition John Crispin
2017-01-23 12:48 ` John Crispin [this message]
2017-04-22 2:14 ` [PATCH 1/2] clk: mediatek: add mt2701 ethernet reset Stephen Boyd
2017-01-23 12:48 ` [PATCH 2/2] reset: mediatek: Add MT2701 ethsys reset controller include file John Crispin
2017-01-27 0:14 ` [PATCH 0/2] clk: mediatek: add missing ethernet reset definition Stephen Boyd
2017-01-27 5:00 ` John Crispin
2017-04-19 17:18 ` Stephen Boyd
2017-04-19 19:17 ` John Crispin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485175707-58528-2-git-send-email-john@phrozen.org \
--to=john@phrozen.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).