public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/4] Documentation: dt: Add binding info for jz4740-musb driver
@ 2019-01-17 22:33 Paul Cercueil
  2019-01-17 22:33 ` [PATCH v3 2/4] usb: musb: jz4740: Add support for devicetree Paul Cercueil
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul Cercueil @ 2019-01-17 22:33 UTC (permalink / raw)
  To: Bin Liu; +Cc: linux-usb, devicetree, linux-kernel, Paul Cercueil

This commit adds documentation for the device-tree bindings of the
jz4740-musb driver, which provides support for the USB gadget mode
of the JZ4740 and similar SoCs from Ingenic.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
---

v2: No change

v3: No change

 .../bindings/usb/ingenic,jz4740-musb.txt           | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt

diff --git a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
new file mode 100644
index 000000000000..620355cee63f
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
@@ -0,0 +1,24 @@
+Ingenic JZ4740 MUSB driver
+
+Required properties:
+
+- compatible: Must be "ingenic,jz4740-musb"
+- reg: Address range of the UDC register set
+- interrupts: IRQ number related to the UDC hardware
+- interrupt-names: must be "mc"
+- clocks: phandle to the "udc" clock
+- clock-names: must be "udc"
+
+Example:
+
+udc: usb@13040000 {
+	compatible = "ingenic,jz4740-musb";
+	reg = <0x13040000 0x10000>;
+
+	interrupt-parent = <&intc>;
+	interrupts = <24>;
+	interrupt-names = "mc";
+
+	clocks = <&cgu JZ4740_CLK_UDC>;
+	clock-names = "udc";
+};
-- 
2.11.0

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

end of thread, other threads:[~2019-01-21 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 22:33 [PATCH v3 1/4] Documentation: dt: Add binding info for jz4740-musb driver Paul Cercueil
2019-01-17 22:33 ` [PATCH v3 2/4] usb: musb: jz4740: Add support for devicetree Paul Cercueil
2019-01-17 22:33 ` [PATCH v3 3/4] usb: musb: Kconfig: Drop dependency on MACH_JZ4740 for jz4740 Paul Cercueil
2019-01-17 22:33 ` [PATCH v3 4/4] usb: musb: Kconfig: Drop dependency on CONFIG_USB " Paul Cercueil
2019-01-21 15:18 ` [PATCH v3 1/4] Documentation: dt: Add binding info for jz4740-musb driver Bin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox