Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: dsa: sf2: fix brcm,use-bcm-hdr documentation

The property use-bcm-hdr was documented as an entry under the ports node
for the bcm_sf2 DSA switch. This property is actually evaluated for each
port. Correct the documentation to match the actual behavior and properly
reference dsa-port.yaml for additional properties of the node.

Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Colin Foster and committed by
David S. Miller
afdc0aab 4015dfce

+10 -5
+10 -5
Documentation/devicetree/bindings/net/dsa/brcm,sf2.yaml
··· 85 85 ports: 86 86 type: object 87 87 88 - properties: 89 - brcm,use-bcm-hdr: 90 - description: if present, indicates that the switch port has Broadcom 91 - tags enabled (per-packet metadata) 92 - type: boolean 88 + patternProperties: 89 + '^port@[0-9a-f]$': 90 + $ref: dsa-port.yaml# 91 + unevaluatedProperties: false 92 + 93 + properties: 94 + brcm,use-bcm-hdr: 95 + description: if present, indicates that the switch port has Broadcom 96 + tags enabled (per-packet metadata) 97 + type: boolean 93 98 94 99 required: 95 100 - reg