White list PHY compatible values which indicate PHYs. Issue a warning when one is encountered.
Update the documentation to make it clear what is expected in the compatible string. v2: Fix Grammar, reword changelog, add Tested-by and Acked-by. Andrew Lunn (2): of: of_mdio: Add a whitelist of PHY compatibilities. DT: phy.txt: Clarify expected compatible values .../devicetree/bindings/net/brcm,bcmgenet.txt | 4 ++-- .../devicetree/bindings/net/mdio-mux-gpio.txt | 8 ------- Documentation/devicetree/bindings/net/mdio-mux.txt | 8 ------- Documentation/devicetree/bindings/net/phy.txt | 6 +++-- drivers/of/of_mdio.c | 27 ++++++++++++++++++++++ 5 files changed, 33 insertions(+), 20 deletions(-) -- 2.7.0