Here is my first take at using the device tree to control PHY configuration. This first set enables some Marvell PHYs. If the scheme is deemed acceptable, I would probably do something similar for Broadcom PHYs as well.
The first patch is the meat of the change. The second adds support for the 88E1149R PHY that I have on one of my boards. David Daney (2): of/phylib: Use device tree properties to initialize Marvell PHYs. phylib: Add support for Marvell 88E1149R devices. drivers/net/phy/marvell.c | 135 +++++++++++++++++++++++++++++++++++++++++++ include/linux/marvell_phy.h | 1 + 2 files changed, 136 insertions(+), 0 deletions(-) -- 1.7.2.3 _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
