Message ID | 20170623173135.22912-2-f.fainelli@gmail.com |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
On Fri, Jun 23, 2017 at 10:31:32AM -0700, Florian Fainelli wrote: > A number of Ethernet MACs have internal Ethernet PHYs and the internal > wiring makes it so that this knowledge needs to be available using the > standard 'phy-mode' property. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- > Documentation/devicetree/bindings/net/ethernet.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh@kernel.org> I haven't checked, but this should probably go in the DT spec and we should update the kernel docs to just point to it. Rob
On 06/26/2017 12:43 PM, Rob Herring wrote: > On Fri, Jun 23, 2017 at 10:31:32AM -0700, Florian Fainelli wrote: >> A number of Ethernet MACs have internal Ethernet PHYs and the internal >> wiring makes it so that this knowledge needs to be available using the >> standard 'phy-mode' property. >> >> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> >> --- >> Documentation/devicetree/bindings/net/ethernet.txt | 1 + >> 1 file changed, 1 insertion(+) > > Acked-by: Rob Herring <robh@kernel.org> > > I haven't checked, but this should probably go in the DT spec and we > should update the kernel docs to just point to it. Will do, thanks!
diff --git a/Documentation/devicetree/bindings/net/ethernet.txt b/Documentation/devicetree/bindings/net/ethernet.txt index d4abe9a98109..edd7fd2bbbf9 100644 --- a/Documentation/devicetree/bindings/net/ethernet.txt +++ b/Documentation/devicetree/bindings/net/ethernet.txt @@ -11,6 +11,7 @@ The following properties are common to the Ethernet controllers: the maximum frame size (there's contradiction in ePAPR). - phy-mode: string, operation mode of the PHY interface. This is now a de-facto standard property; supported values are: + * "internal" * "mii" * "gmii" * "sgmii"
A number of Ethernet MACs have internal Ethernet PHYs and the internal wiring makes it so that this knowledge needs to be available using the standard 'phy-mode' property. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> --- Documentation/devicetree/bindings/net/ethernet.txt | 1 + 1 file changed, 1 insertion(+)