Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265894

Re: [PATCH] mvneta: add FIXED_PHY dependency

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] mvneta: add FIXED_PHY dependency
Date 2015-11-09 18:40 +0100
Message-ID <qsYAa-123-27@gated-at.bofh.it> (permalink)
References <qsViW-7qm-27@gated-at.bofh.it> <qsXXs-xH-7@gated-at.bofh.it> <qsY78-QC-23@gated-at.bofh.it> <qsYgN-UW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 09, 2015 at 06:12:02PM +0100, Arnd Bergmann wrote:
> On Monday 09 November 2015 17:08:34 Russell King - ARM Linux wrote:
> > They are "optional" because when you're using a DSA switch, you don't
> > specify a PHY (because, there isn't one).  For example, this is what
> > I'm using with an Armada 388 board with a Marvell DSA switch.  The
> > DSA does not appear as a PHY, and no node in the DSA stanza can be
> > referenced for a phy entry in the ethernet device's stanza.
> > 
> >                         eth1: ethernet@30000 {
> >                                 compatible = "marvell,armada-370-neta";
> >                                 reg = <0x30000 0x4000>;
> >                                 interrupts-extended = <&mpic 10>;
> >                                 clocks = <&gateclk 3>;
> >                                 managed = "in-band-status";
> >                                 phy-mode = "sgmii";
> >                                 status = "okay";
> >                         };
> > 
> > 
> 
> Ok, then it would be nice to change the binding to reflect that,
> and also document the "managed" property there.

"managed" is already documented.  See
Documentation/devicetree/bindings/net/ethernet.txt:

- managed: string, specifies the PHY management type. Supported values are:
  "auto", "in-band-status". "auto" is the default, it usess MDIO for
  management if fixed-link is not specified.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mvneta: add FIXED_PHY dependency Arnd Bergmann <arnd@arndb.de> - 2015-11-09 15:10 +0100
  Re: [PATCH] mvneta: add FIXED_PHY dependency David Miller <davem@davemloft.net> - 2015-11-09 17:40 +0100
  Re: [PATCH] mvneta: add FIXED_PHY dependency Andrew Lunn <andrew@lunn.ch> - 2015-11-09 17:50 +0100
    Re: [PATCH] mvneta: add FIXED_PHY dependency Arnd Bergmann <arnd@arndb.de> - 2015-11-09 18:00 +0100
      Re: [PATCH] mvneta: add FIXED_PHY dependency Andrew Lunn <andrew@lunn.ch> - 2015-11-09 18:10 +0100
        Re: [PATCH] mvneta: add FIXED_PHY dependency Arnd Bergmann <arnd@arndb.de> - 2015-11-09 18:20 +0100
        Re: [PATCH] mvneta: add FIXED_PHY dependency Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-09 18:40 +0100
      Re: [PATCH] mvneta: add FIXED_PHY dependency Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-09 18:10 +0100
        Re: [PATCH] mvneta: add FIXED_PHY dependency Arnd Bergmann <arnd@arndb.de> - 2015-11-09 18:20 +0100
          Re: [PATCH] mvneta: add FIXED_PHY dependency Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-11-09 18:40 +0100

csiph-web