net: phy: Add register access helper functions for phys
Linux has phy helpers to access paged registers and to modify phy
registers. Add them to barebox for upcoming realtek phy support.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0826d25 commit 6e355bb2685bd7706964da9acc5dfee0b32fa045
@Sascha Hauer Sascha Hauer authored on 11 Mar 2019
Showing 3 changed files
View
drivers/net/phy/Makefile
View
drivers/net/phy/phy-core.c 0 → 100644
View
include/linux/phy.h