]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: get optional bus clk
authorJisheng Zhang <jszhang@marvell.com>
Wed, 20 Jan 2016 11:27:24 +0000 (19:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2016 20:04:59 +0000 (12:04 -0800)
commit730a644154abb88ecf41a12b746a5d8612698a70
tree5b76dfbc514214a783ebd1ce36dcd716c0299412
parent034ee8a732c0ac05a3cd00c34530643d7fb5b48f
net: mvneta: get optional bus clk

Some platforms may provide more than one clk for the mvneta IP, for
example Marvell BG4CT provides one clk for the mac core, and one
clk for the AXI bus logic. Obviously this bus clk also need to
be enabled. This patch adds this optional "bus" clk support.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c