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

usb: gadget: pxa27x_udc device-tree documentation

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>

authored by

Robert Jarzmik and committed by
Felipe Balbi
545d64a4 02e8c966

+22
+22
Documentation/devicetree/bindings/usb/pxa-usb.txt
··· 29 29 marvell,port-mode = <2>; /* PMM_GLOBAL_MODE */ 30 30 }; 31 31 32 + UDC 33 + 34 + Required properties: 35 + - compatible: Should be "marvell,pxa270-udc" for USB controllers 36 + used in device mode. 37 + - reg: usb device MMIO address space 38 + - interrupts: single interrupt generated by the UDC IP 39 + - clocks: input clock of the UDC IP (see clock-bindings.txt) 40 + 41 + Optional properties: 42 + - gpios: 43 + - gpio activated to control the USB D+ pullup (see gpio.txt) 44 + 45 + Example: 46 + 47 + pxa27x_udc: udc@40600000 { 48 + compatible = "marvell,pxa270-udc"; 49 + reg = <0x40600000 0x10000>; 50 + interrupts = <11>; 51 + clocks = <&pxa2xx_clks 11>; 52 + gpios = <&gpio 22 GPIO_ACTIVE_LOW>; 53 + };