diff mbox series

[02/10] dt-bindings: net: dsa: Document sfp and managed properties

Message ID 20201110033113.31090-3-f.fainelli@gmail.com
State New
Headers show
Series Broadcom b53 YAML bindings | expand

Commit Message

Florian Fainelli Nov. 10, 2020, 3:31 a.m. UTC
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(+)

Comments

Rob Herring Nov. 11, 2020, 10:33 p.m. UTC | #1
On Mon, 09 Nov 2020 19:31:05 -0800, Florian Fainelli wrote:
> 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(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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