]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: gadget: pxa27x_udc device-tree documentation
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 17 Oct 2014 20:43:04 +0000 (22:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:01:17 +0000 (10:01 -0600)
Add documentation for device-tree binding of arm PXA 27x udc (usb
device) driver.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: devicetree@vger.kernel.org
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/pxa-usb.txt

index 79729a948d5afb5d837d0901c2e05d405485bc4d..9c331799b87c73477d6cd8046fd9b4a5b4dbbd79 100644 (file)
@@ -29,3 +29,25 @@ Example:
                marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */
        };
 
+UDC
+
+Required properties:
+ - compatible: Should be "marvell,pxa270-udc" for USB controllers
+   used in device mode.
+ - reg: usb device MMIO address space
+ - interrupts: single interrupt generated by the UDC IP
+ - clocks: input clock of the UDC IP (see clock-bindings.txt)
+
+Optional properties:
+ - gpios:
+   - gpio activated to control the USB D+ pullup (see gpio.txt)
+
+Example:
+
+               pxa27x_udc: udc@40600000 {
+                       compatible = "marvell,pxa270-udc";
+                       reg = <0x40600000 0x10000>;
+                       interrupts = <11>;
+                       clocks = <&pxa2xx_clks 11>;
+                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
+               };