devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] USB: gadget: pxa25x: Add DT bindings
@ 2019-02-02 23:59 Linus Walleij
  2019-02-25 21:23 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2019-02-02 23:59 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Felipe Balbi
  Cc: linux-usb, Linus Walleij, Robert Jarzmik, devicetree

This adds device tree bindings for the PXA25x USB Device
Controller as found in the PXA25x and the IXP4xx.

Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 .../devicetree/bindings/usb/pxa25x-udc.txt    | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/pxa25x-udc.txt

diff --git a/Documentation/devicetree/bindings/usb/pxa25x-udc.txt b/Documentation/devicetree/bindings/usb/pxa25x-udc.txt
new file mode 100644
index 000000000000..bbdbe0df3565
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/pxa25x-udc.txt
@@ -0,0 +1,27 @@
+PXA25x UDC (USB Device Controller)
+
+The PXA25x and IXP4xx USB Device Controller is different from the
+PXA27x UDC described in pxa-usb.txt and is compatible between the
+Marvell PXA25x and the Intel IXP4xx devices.
+
+Required properties:
+ - compatible: Should be one of
+   "marvell,pxa25x-udc"
+   "intel,ixp4xx-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:
+
+usb@c800b000 {
+	compatible = "intel,ixp4xx-udc";
+	reg = <0xc800b000 0x1000>;
+	interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&pclk 0>;
+};
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-25 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-02 23:59 [PATCH 1/2] USB: gadget: pxa25x: Add DT bindings Linus Walleij
2019-02-25 21:23 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).