summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/maxim,max3421.txt
diff options
context:
space:
mode:
authorJules Maselbas <jules.maselbas@grenoble-inp.org>2017-09-15 19:58:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-04 10:57:03 +0300
commit06e5e0045afd5f3165ba4d11f23e448d8d2ecbd4 (patch)
treee555252e48809a978924cf4b1568692bdf9ad43e /Documentation/devicetree/bindings/usb/maxim,max3421.txt
parent721fdc83b31b1b22c34b2d77304890877c624c6b (diff)
downloadlinux-06e5e0045afd5f3165ba4d11f23e448d8d2ecbd4.tar.xz
dt-bindings: max3421: Add bindings documentation
Adds bindings documentation for the max3421 driver. Signed-off-by: Jules Maselbas <jules.maselbas@grenoble-inp.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/maxim,max3421.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/maxim,max3421.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/maxim,max3421.txt b/Documentation/devicetree/bindings/usb/maxim,max3421.txt
new file mode 100644
index 000000000000..7536c3ab3e5a
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/maxim,max3421.txt
@@ -0,0 +1,24 @@
+Maxim Integrated SPI-based USB 2.0 host controller MAX3421E
+
+Required properties:
+ - compatible: "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.
+ - interrupt-parent: the phandle of the associated interrupt controller.
+ - interrupts: the interuption 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>;
+ };