dt-bindings: net: Add network-class.yaml schema
Get series with b4
b4 am [email protected] change-id 20230203-dt-bindings-network-class-8367edd679d2Versions newest first
- v5 Latest5 patches 16 repliesIn review
- v45 patches 1 replySuperseded
- v35 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 6 replies | Applied | |
| v1 RFC | 3 patches | 6 replies | Superseded |
Changes in v5 from the cover letter
- Incorrect DCO chain, missing SoB. (Krzysztof)
- Improved address-bits description. (Krzysztof)
- Link to v4: https://lore.kernel.org/r/[email protected]
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: net: Add network-class schema for mac-address propertiesDocumentation/ Documentation/ | +47 | 1 reply | |
| 2/5 | dt-bindings: net: Add generic wireless controllerDocumentation/ | +23 | 0 replies | |
| 3/5 | dt-bindings: wireless: bcm4329-fmac: Use wireless-controller.yaml schemaDocumentation/ | +1 | 9 replies | |
| 4/5 | dt-bindings: wireless: silabs,wfx: Use wireless-controller.yamlDocumentation/ | +1 | 0 replies | |
| 5/5 | dt-bindings: wireless: qcom,wcnss: Use wireless-controller.yamlDocumentation/ | +4 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) | Jérôme Pouiller |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5] dt-bindings: net: Add network-class.yaml schema
The Devicetree Specification, Release v0.3 specifies in section 4.3.1 a "Network Class Binding". This covers MAC address and maximal frame size properties. "local-mac-address" and "mac-address" with a fixed "address-size" of 48 bits are already in the ethernet-controller.yaml schema so move those over.
Keep "address-size" fixed to 48 bits as it's unclear if network protocols using 64-bit mac addresses like ZigBee, 6LoWPAN and others are relevant for this binding. This allows mac address array size validation for ethernet and wireless lan devices.
"max-frame-size" in the Devicetree Specification is written to cover the whole layer 2 ethernet frame but actual use for this property is the payload size. Keep the description from ethernet-controller.yaml which specifies the property as MTU.
---
Changes in v5:
- Incorrect DCO chain, missing SoB. (Krzysztof)
- Improved address-bits description. (Krzysztof)
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Changed the mailing list address (Rob)
- Copyied the whole description for the max-frame-size, including the
MTU x max-frame-size contradiction. (Rob)
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Incorporated wireless-controller.yaml suggestion (Andrew)
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Added "max-frame-size" with the description from ethernet-controller.yaml
- Restrict "address-size" to 48-bits
- Fix the mac-address array size to 6 bytes
- Drop duplicate default value from "max-frame-size" description
- Link to v1: https://lore.kernel.org/r/[email protected]
---
David Heidelberg (2):
dt-bindings: net: Add generic wireless controller
dt-bindings: wireless: qcom,wcnss: Use wireless-controller.yaml
Janne Grunau (3):
dt-bindings: net: Add network-class schema for mac-address properties
dt-bindings: wireless: bcm4329-fmac: Use wireless-controller.yaml schema
dt-bindings: wireless: silabs,wfx: Use wireless-controller.yaml
.../bindings/net/ethernet-controller.yaml | 25 +----------- .../devicetree/bindings/net/network-class.yaml | 46 ++++++++++++++++++++++ .../bindings/net/wireless/brcm,bcm4329-fmac.yaml | 2 +- .../bindings/net/wireless/silabs,wfx.yaml | 5 +-- .../bindings/net/wireless/wireless-controller.yaml | 23 +++++++++++ .../devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 5 ++- 6 files changed, 76 insertions(+), 30 deletions(-)
---
base-commit: 882a18c2c14fc79adb30fe57a9758283aa20efaa
change-id: 20230203-dt-bindings-network-class-8367edd679d2
Best regards,
Signature · 1 line
David Heidelberg <[email protected]>