Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt/bindings: Add binding for the DA8xx MUSB driver

DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver.

Signed-off-by: Petr Kulhavy <petr@barix.com>
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Petr Kulhavy and committed by
Greg Kroah-Hartman
c92340ab dc66ba8d

+43
+43
Documentation/devicetree/bindings/usb/da8xx-usb.txt
··· 1 + TI DA8xx MUSB 2 + ~~~~~~~~~~~~~ 3 + For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms. 4 + 5 + Required properties: 6 + ~~~~~~~~~~~~~~~~~~~~ 7 + - compatible : Should be set to "ti,da830-musb". 8 + 9 + - reg: Offset and length of the USB controller register set. 10 + 11 + - interrupts: The USB interrupt number. 12 + 13 + - interrupt-names: Should be set to "mc". 14 + 15 + - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg". 16 + 17 + - phys: Phandle for the PHY device 18 + 19 + - phy-names: Should be "usb-phy" 20 + 21 + Optional properties: 22 + ~~~~~~~~~~~~~~~~~~~~ 23 + - vbus-supply: Phandle to a regulator providing the USB bus power. 24 + 25 + Example: 26 + usb_phy: usb-phy { 27 + compatible = "ti,da830-usb-phy"; 28 + #phy-cells = <0>; 29 + status = "okay"; 30 + }; 31 + usb0: usb@200000 { 32 + compatible = "ti,da830-musb"; 33 + reg = <0x00200000 0x10000>; 34 + interrupts = <58>; 35 + interrupt-names = "mc"; 36 + 37 + dr_mode = "host"; 38 + vbus-supply = <&usb_vbus>; 39 + phys = <&usb_phy 0>; 40 + phy-names = "usb-phy"; 41 + 42 + status = "okay"; 43 + };