Skip to contentSkip to conversation

dt-bindings: usb: uhci: convert to dt schema

PATCH In review Mohammad Shehar Yaar Tausif 2 participants 2 messages Apr 23, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 dt-bindings: usb: uhci: convert to dt schema

Convert USB UHCI bindings to DT schema. Documenting aspeed compatibles and missing properties. Adding aspeed/generic-uhci example and fixing nodename for the original example.

---
Changes
v3->v4:
- fix previous incorrect use of if-then block and original example v2->v3:
- fix property declaration and if-then-else block
- add generic-uhci example and fix prev incorrect example v1->v2:
- add aspeed compatible and deprecated platform-uhci compatible

v3 patch : https://lore.kernel.org/all/[email protected]
v2 patch : https://lore.kernel.org/all/[email protected]
v1 patch : https://lore.kernel.org/all/[email protected]

---
 .../devicetree/bindings/usb/usb-uhci.txt      | 18 -----
 .../devicetree/bindings/usb/usb-uhci.yaml     | 75 +++++++++++++++++++
 2 files changed, 75 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/usb-uhci.txt
 create mode 100644 Documentation/devicetree/bindings/usb/usb-uhci.yaml
Documentation/devicetree/bindings/usb/usb-uhci.txt deleted +0 -18
deleted file mode 100644
index d1702eb2c8bd..000000000000
@@ -1,18 +0,0 @@
-Generic Platform UHCI Controller
------------------------------------------------------
-
-Required properties:
-- compatible : "generic-uhci" (deprecated: "platform-uhci")
-- reg : Should contain 1 register ranges(address and length)
-- interrupts : UHCI controller interrupt
-
-additionally the properties from usb-hcd.yaml (in the current directory) are
-supported.
-
-Example:
-
-	uhci@d8007b00 {
-		compatible = "generic-uhci";
-		reg = <0xd8007b00 0x200>;
-		interrupts = <43>;
-	};
Documentation/devicetree/bindings/usb/usb-uhci.yaml new file +75 -0

75 lines not on this page · raw message

Signature · 1 line
2.44.0
Reviewed-by on v4 1/1
#1 lore raw
Quoted 15 lines · Mohammad Shehar Yaar Tausif

Convert USB UHCI bindings to DT schema. Documenting aspeed compatibles and missing properties. Adding aspeed/generic-uhci example and fixing nodename for the original example.

---
Changes
v3->v4:
- fix previous incorrect use of if-then block and original example v2->v3:
- fix property declaration and if-then-else block
- add generic-uhci example and fix prev incorrect example v1->v2:
- add aspeed compatible and deprecated platform-uhci compatible

Quoted 3 lines

v3 patch : https://lore.kernel.org/all/[email protected]
v2 patch : https://lore.kernel.org/all/[email protected]
v1 patch : https://lore.kernel.org/all/20240420142108.76984-1-sheharyaar48@gmail.

Best regards,
Krzysztof