From: zhangsenchuan@eswincomputing.com
To: gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Thinh.Nguyen@synopsys.com, p.zabel@pengutronix.de
Cc: ningyu@eswincomputing.com, linmin@eswincomputing.com,
yangwei1@eswincomputing.com,
Senchuan Zhang <zhangsenchuan@eswincomputing.com>
Subject: [PATCH v1 1/2] dt-bindings: usb: Add Eswin EIC7700 Usb controller
Date: Fri, 16 May 2025 17:53:37 +0800 [thread overview]
Message-ID: <20250516095338.1467-1-zhangsenchuan@eswincomputing.com> (raw)
In-Reply-To: <20250516095237.1516-1-zhangsenchuan@eswincomputing.com>
From: Senchuan Zhang <zhangsenchuan@eswincomputing.com>
Add Device Tree binding documentation for the ESWIN EIC7700
usb controller module.
Co-developed-by: Wei Yang <yangwei1@eswincomputing.com>
Signed-off-by: Wei Yang <yangwei1@eswincomputing.com>
Signed-off-by: Senchuan Zhang <zhangsenchuan@eswincomputing.com>
---
.../bindings/usb/eswin,eic7700-usb.yaml | 120 ++++++++++++++++++
1 file changed, 120 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml
diff --git a/Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml b/Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml
new file mode 100644
index 000000000000..eb8260069b99
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml
@@ -0,0 +1,120 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/eswin,eic7700-usb.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Eswin EIC7700 SoC Usb Controller
+
+maintainers:
+ - Wei Yang <yangwei1@eswincomputing.com>
+ - Senchuan Zhang <zhangsenchuan@eswincomputing.com>
+
+description: |
+ The Usb controller on EIC7700 SoC.
+
+properties:
+ compatible:
+ const: eswin,eic7700-usb
+
+ reg:
+ maxItems: 3
+
+ interrupts:
+ maxItems: 1
+
+ interrupt-names:
+ items:
+ - const: peripheral
+
+ clocks:
+ maxItems: 3
+ description: handles to clock for the usb controller.
+
+ clock-names:
+ items:
+ - const: suspend
+ - const: aclk
+ - const: cfg_clk
+ description: the name of each clock.
+
+ resets:
+ description: resets to be used by the controller.
+
+ reset-names:
+ items:
+ - const: vaux
+ description: names of the resets listed in resets property in the same order.
+
+ eswin,hsp_sp_csr:
+ description: |
+ High-speed equipment control register.
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+
+ ranges: true
+
+ dma-noncoherent: true
+
+ numa-node-id:
+ maximum: 0
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - interrupt-names
+ - interrupt-parent
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+ - eswin,hsp_sp_csr
+ - dma-noncoherent
+ - ranges
+ - numa-node-id
+
+additionalProperties: false
+
+examples:
+ - |
+ usb {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ usbdrd3_0: usb0{
+ compatible = "eswin,eic7700-dwc3";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ clocks = <&clock 270>,
+ <&clock 545>,
+ <&clock 546>;
+ clock-names = "suspend","aclk", "cfg_clk";
+ eswin,hsp_sp_csr = <&hsp_sp_csr 0x800 0x808 0x83c 0x840>;
+ resets = <&reset 0x07 (1 << 15)>;
+ reset-names = "vaux";
+ ranges;
+ numa-node-id = <0>;
+ status = "disabled";
+ usbdrd_dwc3_0: dwc3@50480000 {
+ compatible = "snps,dwc3";
+ reg = <0x0 0x50480000 0x0 0x10000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ interrupt-parent = <&plic>;
+ interrupts = <85>;
+ interrupt-names = "peripheral";
+ dr_mode = "peripheral";
+ phy_type = "utmi";
+ maximum-speed = "high-speed";
+ eswin,hsp_sp_csr = <&hsp_sp_csr 0x1044>;
+ snps,dis_enblslpm_quirk;
+ snps,dis-u2-freeclk-exists-quirk;
+ snps,dis_u2_susphy_quirk;
+ snps,dis-del-phy-power-chg-quirk;
+ snps,parkmode-disable-ss-quirk;
+ status = "disabled";
+ numa-node-id = <0>;
+ dma-noncoherent;
+ };
+ };
+ };
--
2.25.1
next prev parent reply other threads:[~2025-05-16 9:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-16 9:52 [PATCH v1 0/2] Add driver support for Eswin eic7700 SoC Usb controller zhangsenchuan
2025-05-16 9:53 ` zhangsenchuan [this message]
2025-05-16 11:26 ` [PATCH v1 1/2] dt-bindings: usb: Add Eswin EIC7700 " Rob Herring (Arm)
2025-05-19 6:24 ` Krzysztof Kozlowski
2025-05-16 9:54 ` [PATCH v1 2/2] usb: dwc3: eic7700: Add EIC7700 usb driver zhangsenchuan
2025-05-16 12:50 ` Krzysztof Kozlowski
2025-05-17 1:15 ` kernel test robot
2025-05-17 23:28 ` kernel test robot
2025-05-20 6:20 ` Krishna Kurapati
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=20250516095338.1467-1-zhangsenchuan@eswincomputing.com \
--to=zhangsenchuan@eswincomputing.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzk+dt@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ningyu@eswincomputing.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=yangwei1@eswincomputing.com \
/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.