From: Tomer Maimon <tmaimon77@gmail.com>
To: <openbmc@lists.ozlabs.org>
Cc: andrew@aj.id.au, joel@jms.id.au, Tomer Maimon <tmaimon77@gmail.com>
Subject: [PATCH linux dev-5.15 v1 1/2] dt-binding: usb: Add NPCM UDC binding documentation
Date: Thu, 11 Aug 2022 11:48:49 +0300 [thread overview]
Message-ID: <20220811084850.45927-2-tmaimon77@gmail.com> (raw)
In-Reply-To: <20220811084850.45927-1-tmaimon77@gmail.com>
This patch adds device tree binding documentation for the NPCM BMC USB
Device Controller (UDC).
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
---
.../devicetree/bindings/usb/npcm-udc.txt | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/npcm-udc.txt
diff --git a/Documentation/devicetree/bindings/usb/npcm-udc.txt b/Documentation/devicetree/bindings/usb/npcm-udc.txt
new file mode 100644
index 000000000000..938d163ad681
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/npcm-udc.txt
@@ -0,0 +1,33 @@
+Nuvoton NPCM USB Device controller.
+
+This DT-binding describe Nuvoton NPCM USB Device controller (UDC) device node.
+The UDC is based on Chipidea Subsystem Device Controller IP.
+
+Required properties:
+- compatible : "nuvoton,npcm750-udc" for Poleg NPCM7XX.
+ "nuvoton,npcm845-udc" for Arbel NPCM8XX.
+- reg : Offset and length of the register set for the device,
+ Offset and length of the DTD buffer.
+- interrupts : Contain the UDC interrupt.
+- clocks : phandle of UDC reference clock.
+- clock-names : Should be "clk_usb_bridge".
+
+Note: Each npcm-udc which should have an alias correctly numbered
+in "aliases" node.
+
+e.g.
+aliases {
+ udc1 = &udc1;
+};
+
+Example:
+ udc0:udc@f0830000 {
+ compatible = "nuvoton,npcm750-udc";
+ reg = <0xf0830000 0x1000
+ 0xfffd0000 0x800>;
+ interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
+ status = "disabled";
+ clocks = <&clk NPCM7XX_CLK_SU>;
+ clock-names = "clk_usb_bridge";
+ };
+
--
2.33.0
next prev parent reply other threads:[~2022-08-11 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-11 8:48 [PATCH linux dev-5.15 v1 0/2] usb: gadget: udc: add UDC driver for NPCM SoCs Tomer Maimon
2022-08-11 8:48 ` Tomer Maimon [this message]
2022-08-11 8:48 ` [PATCH linux dev-5.15 v1 2/2] usb: gadget: udc: add NPCM UDC support Tomer Maimon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220811084850.45927-2-tmaimon77@gmail.com \
--to=tmaimon77@gmail.com \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.