dt-bindings: usb: maxim,max3421: convert to DT schema
Subsystems (2)
PATCH RESEND v2 1/1 dt-bindings: usb: maxim,max3421: convert to DT schema
Convert legacy maxim,max3421.txt to proper format.
Reviewed-by Krzysztof Kozlowski <[email protected]>
Signed-off-by Rodrigo Gobbi <[email protected]>
---
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
@@ -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
Greg KH
maintainerQuoted 8 lines · Rodrigo Gobbi
Convert legacy maxim,max3421.txt to proper format.
Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Rodrigo Gobbi <[email protected]>---
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.
Thanks, I had missed this, now applied.
greg k-h