projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f650a5
)
eth: bf609 eth clock: add pclk clock for stmmac driver probe
author
Steven Miao
<realmz6@gmail.com>
Fri, 24 Apr 2015 03:39:08 +0000
(11:39 +0800)
committer
Steven Miao
<realmz6@gmail.com>
Fri, 24 Apr 2015 03:36:35 +0000
(11:36 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/mach-bf609/clock.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf609/clock.c
b/arch/blackfin/mach-bf609/clock.c
index
244fa4a
..
3783058
100644
(file)
--- a/
arch/blackfin/mach-bf609/clock.c
+++ b/
arch/blackfin/mach-bf609/clock.c
@@
-363,6
+363,12
@@
static struct clk ethclk = {
.ops = &dummy_clk_ops,
};
+static struct clk ethpclk = {
+ .name = "pclk",
+ .parent = &sclk0,
+ .ops = &dummy_clk_ops,
+};
+
static struct clk spiclk = {
.name = "spi",
.parent = &sclk1,
@@
-381,6
+387,7
@@
static struct clk_lookup bf609_clks[] = {
CLK(dclk, NULL, "DCLK"),
CLK(oclk, NULL, "OCLK"),
CLK(ethclk, NULL, "stmmaceth"),
+ CLK(ethpclk, NULL, "pclk"),
CLK(spiclk, NULL, "spi"),
};