Skip to contentSkip to conversation

dt-bindings: usb: maxim,max3421: convert to DT schema

PATCH RESEND In review Rodrigo Gobbi 2 participants 2 messages Feb 25 – Mar 11

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

PATCH RESEND v2 1/1 dt-bindings: usb: maxim,max3421: convert to DT schema

Convert legacy maxim,max3421.txt to proper format.

---
Just resending this from last year [1] since it might not be on Greg's inbox anymore. Same as v2, just with review tag.
Tks and regards.

[1] https://lore.kernel.org/linux-devicetree/[email protected]/

Changelog:
v2: https://lore.kernel.org/linux-devicetree/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/

---
 .../devicetree/bindings/usb/maxim,max3421.txt | 23 -------
 .../bindings/usb/maxim,max3421.yaml           | 67 +++++++++++++++++++
 2 files changed, 67 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/usb/maxim,max3421.txt
 create mode 100644 Documentation/devicetree/bindings/usb/maxim,max3421.yaml
Documentation/devicetree/bindings/usb/maxim,max3421.txt deleted +0 -23
deleted file mode 100644
index 90495b1aeec2..000000000000
@@ -1,23 +0,0 @@
-Maxim Integrated SPI-based USB 2.0 host controller MAX3421E
-
-Required properties:
- - compatible: Should be "maxim,max3421"
- - spi-max-frequency: maximum frequency for this device must not exceed 26 MHz.
- - reg: chip select number to which this device is connected.
- - maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL>
-   GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus.
-   ACTIVE_LEVEL is 0 or 1.
- - interrupts: the interrupt line description for the interrupt controller.
-   The driver configures MAX3421E for active low level triggered interrupts,
-   configure your interrupt line accordingly.
-
-Example:
-
-	usb@0 {
-		compatible = "maxim,max3421";
-		reg = <0>;
-		maxim,vbus-en-pin = <3 1>;
-		spi-max-frequency = <26000000>;
-		interrupt-parent = <&PIC>;
-		interrupts = <42>;
-	};
Documentation/devicetree/bindings/usb/maxim,max3421.yaml new file +67 -0

67 lines not on this page · raw message

Signature · 1 line
2.48.1