dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest19 patches 0 repliesNew
- v519 patches 11 repliesSuperseded
- v418 patches 13 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 16 patches | 6 replies | Superseded | |
| v1 | 20 patches | 52 replies | Superseded |
Changes in v6 from the cover letter
- Fix typo in the commit log:
[PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node Qualcomm sub-node should be called as Intel eem Bay sub-node.
- Fix identations in the "usb-phy" property definition.
- Fix identations in the "maximum-speed" property definition.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | dt-bindings: usb: usb-hcd: Detach generic USB controller propertiesDocumentation/ Documentation/ | +31 | 0 replies | |
| 2/19 | dt-bindings: usb: Convert generic USB properties to DT schemasDocumentation/ Documentation/ Documentation/ +1 more | +104 | 0 replies | |
| 3/19 | dt-bindings: usb: usb-drd: Add "otg-rev" property constraintsDocumentation/ | +1 | 0 replies | |
| 4/19 | dt-bindings: usb: Add "ulpi/serial/hsic" PHY typesDocumentation/ | +6 | 0 replies | |
| 5/19 | dt-bindings: usb: usb-hcd: Add "tpl-support" propertyDocumentation/ | +6 | 0 replies | |
| 6/19 | dt-bindings: usb: Add generic "usb-phy" propertyDocumentation/ | +7 | 0 replies | |
| 7/19 | dt-bindings: usb: Convert xHCI bindings to DT schemaDocumentation/ Documentation/ Documentation/ | +105 | 0 replies | |
| 8/19 | dt-bindings: usb: xhci: Add Broadcom STB v2 compatible deviceDocumentation/ | +3 | 0 replies | |
| 9/19 | dt-bindings: usb: renesas-xhci: Refer to the usb-xhci.yaml fileDocumentation/ | +2 | 0 replies | |
| 10/19 | dt-bindings: usb: Convert DWC USB3 bindings to DT schemaDocumentation/ Documentation/ | +312 | 0 replies | |
| 11/19 | dt-bindings: usb: dwc3: Add interrupt-names property supportDocumentation/ | +11 | 0 replies | |
| 12/19 | dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible stringDocumentation/ | +4 | 0 replies | |
| 13/19 | dt-bindings: usb: dwc3: Add Tx De-emphasis constraintsDocumentation/ | +4 | 0 replies | |
| 14/19 | dt-bindings: usb: dwc3: Add Frame Length Adj constraintsDocumentation/ | +2 | 0 replies | |
| 15/19 | dt-bindings: usb: meson-g12a-usb: Fix FL-adj property valueDocumentation/ | +1 | 0 replies | |
| 16/19 | dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodesDocumentation/ | +3 | 0 replies | |
| 17/19 | dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-nodeDocumentation/ | +1 | 0 replies | |
| 18/19 | dt-bindings: usb: qcom,dwc3: Validate DWC3 sub-nodeDocumentation/ | +3 | 0 replies | |
| 19/19 | dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-nodeDocumentation/ | +3 | 0 replies |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring | Yoshihiro Shimoda | Lad Prabhakar | Florian Fainelli | Neil Armstrong | Martin Blumenstingl | Wan Ahmad Zainie |
|---|---|---|---|---|---|---|---|
| 1/19 | R-b | ||||||
| 2/19 | R-b | ||||||
| 3/19 | R-b | ||||||
| 4/19 | R-b | ||||||
| 5/19 | R-b | ||||||
| 6/19 | R-b | A-b | |||||
| 7/19 | R-b | ||||||
| 8/19 | R-b | A-b | |||||
| 9/19 | R-b | R-b | R-b | ||||
| 10/19 | R-b | ||||||
| 11/19 | R-b | ||||||
| 12/19 | R-b | ||||||
| 13/19 | R-b | ||||||
| 14/19 | R-b | ||||||
| 15/19 | R-b | A-b | R-b | ||||
| 16/19 | R-b | R-b | R-b | ||||
| 17/19 | R-b | ||||||
| 18/19 | R-b | ||||||
| 19/19 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.
Cover letter [PATCH v6 00/19] dt-bindings: usb: Add generic USB HCD, xHCI, DWC USB3 DT schema
We've performed some work on the Generic USB HCD, xHCI and DWC USB3 DT bindings in the framework of the Baikal-T1 SoC support integration into the kernel. This patchset is a result of that work.
First of all we moved the generic USB properties from the legacy text bindings to the USB DT schema. The properties have been distributed between three DT schemas dedicated for particular types of USB
controllers: Generic USB controller properties (like node-naming, phys, maximum-speed, etc), Generic USB Host Controller bindings (companion and TPL support), Dual-Role USB Controller (OTG revision, DR mode, HNP/SRP/ADP protocols, etc). So the USB controllers DT bindings from now can validate the nodes against a generic USB-controller schema suitable for the controller functionality.
Secondly we converted generic USB xHCI text bindings file into the DT schema. It had to be split up into two bindings: DT schema with generic xHCI properties and a generic xHCI device DT schema. The later will be used to validate the pure xHCI-based nodes, while the former can be utilized by some vendor-specific versions of xHCI.
Thirdly, what was primarily intended to be done for Baikal-T1 SoC USB we converted the legacy text-based DWC USB3 bindings to DT schema and altered the result a bit so it would be more coherent with what actually controller and its driver support. Since we've now got the DWC USB3 DT schema, we made it used to validate the sub-nodes of the Qualcom, TI and Amlogic DWC3 DT nodes.
Changelog v2:
- Thanks to Sergei Shtylyov for suggesting the commit logs grammar fixes:
[PATCH 04/18] dt-bindings: usb: usb-hcd: Add "ulpi/serial/hsic" PHY types [PATCH 05/18] dt-bindings: usb: usb-hcd: Add "tpl-support" property [PATCH 11/18] dt-bindings: usb: dwc3: Add interrupt-names property support [PATCH 13/18] dt-bindings: usb: dwc3: Add Tx De-emphasis restrictions [PATCH 17/18] dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node
- Set FL-adj of the amlogiv,meson-g12a-usb controller with value 0x20 instead of completely removing the property.
- Drop the patch:
[PATCH 02/18] dt-bindings: usb: usb-hcd: Add "wireless" maximum-speed
property value
since "wireless" speed type is depracated due to lack of the device supporting it.
- Drop quotes from around the compat string constant.
- Discard '|' from the property descriptions, since we don't need to preserve the text formatting.
- Convert abbreviated form of the "maximum-speed" enum constraint into the multi-lined version of the list.
- Fix the DW USB3 "clock-names" prop description to be refererring to the enumerated clock-names instead of the ones from the Databook.
- Add explicit "additionalProperties: true" to the usb-xhci.yaml schema, since additionalProperties/unevaluatedProperties are going to be mandary for each binding.
- Use "oneOf: [dwc2.yaml#, snps,dwc3.yaml#]" instead of the bulky "if:
properties: compatibe: ..." statement.
- Discard the "^dwc3@[0-9a-f]+$" nodes from being acceptable as sub-nodes of the Qualcomm DWC3 DT nodes.
- Add new patches:
[PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name
[PATCH 19/20] arch: dts: Fix xHCI DT nodes name
[PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name
Changelog v3:
- Drop the patches:
[PATCH 18/20] arch: dts: Fix EHCI/OHCI DT nodes name
[PATCH 19/20] arch: dts: Fix xHCI DT nodes name
[PATCH 20/20] arch: dts: Fix DWC USB3 DT nodes name
as they are going to be submitted in the framework of a dedicated patchset.
- Drop the patch:
[PATCH 11/20] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string since it's going to be replaced with the driver/dts fixup and moved to a dedicated patchset.
- Apply usb-xhci.yaml# schema for the DWC USB3 node only if the controller is supposed to work as either host or otg.
Changelog v4:
- Get the patch
[PATCH 11/17] dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string back, since we can't discard the deprecated prefix from the driver.
- Discard the block scalar style modifier "|" from the interrupts property description.
- Split the generic USB controller properties into three schemas: Generic USB controllers, USB Host controllers and USB OTG controllers.
Changelog v5:
- Add "snps,dis-split-quirk" property to the DWC USB3 DT schema.
- Add a text to the
[PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema patch log about the small change in the clock-related properties bindings with respect to the original binding file.
- Discard duplicated "additionalProperties" from the usb-hcd.yaml schema.
- Make sure dr_mode exist in DW USB3 node to apply the USB-gadget-only schema.
- Add a new patch:
[PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node since the Intel Keem Bay DWC3 bindings has been just added.
Changelog v6:
- Fix typo in the commit log:
[PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node Qualcomm sub-node should be called as Intel eem Bay sub-node.
- Fix identations in the "usb-phy" property definition.
- Fix identations in the "maximum-speed" property definition.
Serge Semin (19):
dt-bindings: usb: usb-hcd: Detach generic USB controller properties
dt-bindings: usb: Convert generic USB properties to DT schemas
dt-bindings: usb: usb-drd: Add "otg-rev" property constraints
dt-bindings: usb: Add "ulpi/serial/hsic" PHY types
dt-bindings: usb: usb-hcd: Add "tpl-support" property
dt-bindings: usb: Add generic "usb-phy" property
dt-bindings: usb: Convert xHCI bindings to DT schema
dt-bindings: usb: xhci: Add Broadcom STB v2 compatible device
dt-bindings: usb: renesas-xhci: Refer to the usb-xhci.yaml file
dt-bindings: usb: Convert DWC USB3 bindings to DT schema
dt-bindings: usb: dwc3: Add interrupt-names property support
dt-bindings: usb: dwc3: Add synopsys,dwc3 compatible string
dt-bindings: usb: dwc3: Add Tx De-emphasis constraints
dt-bindings: usb: dwc3: Add Frame Length Adj constraints
dt-bindings: usb: meson-g12a-usb: Fix FL-adj property value
dt-bindings: usb: meson-g12a-usb: Validate DWC2/DWC3 sub-nodes
dt-bindings: usb: keystone-dwc3: Validate DWC3 sub-node
dt-bindings: usb: qcom,dwc3: Validate DWC3 sub-node
dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node
.../usb/amlogic,meson-g12a-usb-ctrl.yaml | 6 +- .../devicetree/bindings/usb/dwc3.txt | 128 ------- .../devicetree/bindings/usb/generic-xhci.yaml | 65 ++++ .../devicetree/bindings/usb/generic.txt | 57 --- .../bindings/usb/intel,keembay-dwc3.yaml | 9 +- .../devicetree/bindings/usb/qcom,dwc3.yaml | 9 +- .../bindings/usb/renesas,usb-xhci.yaml | 4 +- .../devicetree/bindings/usb/snps,dwc3.yaml | 332 ++++++++++++++++++ .../bindings/usb/ti,keystone-dwc3.yaml | 4 +- .../devicetree/bindings/usb/usb-drd.yaml | 78 ++++ .../devicetree/bindings/usb/usb-hcd.yaml | 19 +- .../devicetree/bindings/usb/usb-xhci.txt | 41 --- .../devicetree/bindings/usb/usb-xhci.yaml | 42 +++ .../devicetree/bindings/usb/usb.yaml | 60 ++++ 14 files changed, 600 insertions(+), 254 deletions(-) delete mode 100644 Documentation/devicetree/bindings/usb/dwc3.txt create mode 100644 Documentation/devicetree/bindings/usb/generic-xhci.yaml delete mode 100644 Documentation/devicetree/bindings/usb/generic.txt create mode 100644 Documentation/devicetree/bindings/usb/snps,dwc3.yaml create mode 100644 Documentation/devicetree/bindings/usb/usb-drd.yaml delete mode 100644 Documentation/devicetree/bindings/usb/usb-xhci.txt create mode 100644 Documentation/devicetree/bindings/usb/usb-xhci.yaml create mode 100644 Documentation/devicetree/bindings/usb/usb.yaml
Signature · 1 line
2.29.2