Skip to content

Commit

Permalink
dt-bindings: max3421: Add bindings documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jules Maselbas authored and Greg Kroah-Hartman committed Oct 4, 2017
1 parent 721fdc8 commit 06e5e00
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/usb/maxim,max3421.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 06e5e00

Please sign in to comment.