net: xilinx: axiethernet: Introduce helper functions for MDC enable/disable
authorRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Tue, 3 Nov 2020 11:26:09 +0000 (16:56 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Nov 2020 19:13:51 +0000 (11:13 -0800)
commit6c3cbaa0f0cb86376010ffa045334a1ec34689ac
tree94199902d223fcc5fb9c3e0aa14f0a7237e7f5d1
parentad8fc41c7845f3813b07fb0039244be81a37d23f
net: xilinx: axiethernet: Introduce helper functions for MDC enable/disable

Introduce helper functions to enable/disable MDIO interface clock. This
change serves a preparatory patch for the coming feature to dynamically
control the management bus clock.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_mdio.c