From: Steven Miao Date: Fri, 24 Apr 2015 03:39:08 +0000 (+0800) Subject: eth: bf609 eth clock: add pclk clock for stmmac driver probe X-Git-Tag: Ubuntu-5.13.0-19.19~18051^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d91e14b3b9e1d8e1d552f4d6aff45551bbb410b1;p=mirror_ubuntu-jammy-kernel.git eth: bf609 eth clock: add pclk clock for stmmac driver probe Signed-off-by: Steven Miao --- diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c index 244fa4ab4c56..378305844b2c 100644 --- 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"), };