lkml.org 
[lkml]   [2020]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/10] dt-bindings: net: dsa: Document sfp and managed properties
    Date
    The 'sfp' and 'managed' properties are commonly used to describe
    Ethernet switch ports connecting to SFP/SFF cages, describe these two
    properties as valid that we inherit from ethernet-controller.yaml.

    Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
    ---
    Documentation/devicetree/bindings/net/dsa/dsa.yaml | 4 ++++
    1 file changed, 4 insertions(+)

    diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.yaml b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
    index 5f8f5177938a..8e044631bcf7 100644
    --- a/Documentation/devicetree/bindings/net/dsa/dsa.yaml
    +++ b/Documentation/devicetree/bindings/net/dsa/dsa.yaml
    @@ -78,6 +78,10 @@ patternProperties:

    mac-address: true

    + sfp: true
    +
    + managed: true
    +
    required:
    - reg

    --
    2.25.1
    \
     
     \ /
      Last update: 2020-11-10 04:32    [W:2.345 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site