diff mbox

[1/4] dt-bindings: Add "internal" as a valid 'phy-mode' property

Message ID 20170623173135.22912-2-f.fainelli@gmail.com
State Not Applicable, archived
Headers show

Commit Message

Florian Fainelli June 23, 2017, 5:31 p.m. UTC
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(+)

Comments

Rob Herring June 26, 2017, 7:43 p.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Florian Fainelli June 26, 2017, 7:44 p.m. UTC | #2
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 mbox

Patch

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"