On Wed, 2014-07-16 at 15:17 -0500, Shruti Kanetkar wrote:
> Based on prior work by Andy Fleming <aflem...@gmail.com>
> 
> Signed-off-by: Shruti Kanetkar <shr...@freescale.com>
> ---

What changed from v2?

> +                     mdio@fc000 {
> +                             phy_sgmii_1e: ethernet-phy@1e {
> +                                             status = "disabled";
> +                                             reg = <0x1e>;
> +                             };

Whitespace

> +                             phy_sgmii_1f: ethernet-phy@1f {
> +                                     status = "disabled";
> +                                     reg = <0x1f>;
> +                             };
> +                     };
> +
> +                     mdio@fd000 {
> +                             /* For 10g interfaces */
> +                             phy_xaui_slot1: xaui-phy@slot1 {
> +                                     status = "disabled";
> +                                     compatible = 
> "ethernet-phy-ieee802.3-c45";
> +                                     reg = <0x7>; /* default switch setting 
> on slot1 of AMC2PEX */
> +                             };

Why xaui-phy and not ethernet-phy?

As for the device_type discussion from v1, there is a generic binding
that says device_type "should" be ethernet-phy.  BTW, that binding
(net/phy.txt) could use some cleaning up -- it still has references to
things like linux,phandle.

> diff --git a/arch/powerpc/boot/dts/b4qds.dtsi 
> b/arch/powerpc/boot/dts/b4qds.dtsi
> index 8b47edc..6188583 100644
> --- a/arch/powerpc/boot/dts/b4qds.dtsi
> +++ b/arch/powerpc/boot/dts/b4qds.dtsi
> @@ -39,6 +39,13 @@
>       #size-cells = <2>;
>       interrupt-parent = <&mpic>;
>  
> +     aliases {
> +             phy_sgmii_10 = &phy_sgmii_10;
> +             phy_sgmii_11 = &phy_sgmii_11;
> +             phy_sgmii_1c = &phy_sgmii_1c;
> +             phy_sgmii_1d = &phy_sgmii_1d;
> +     };

Is the encoding of these alias strings considered ABI (for either the
OS's use or U-Boot's)?  If so, please document it.  If not, how do you
see this being used?  What does the hex number mean from the user's
perspective?

> +                     mdio0: mdio@fc000 {
> +                     };

Why is the empty node needed?

-Scott


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to