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>
This commit is contained in:
Radhey Shyam Pandey 2020-11-03 16:56:09 +05:30 • committed by Jakub Kicinski
commit 6c3cbaa0f0
2 changed files with 26 additions and 5 deletions