From nobody Sun Feb 8 05:27:24 2026 Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D492A2F691C; Mon, 12 Jan 2026 02:30:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.254.200.128 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768185006; cv=none; b=jD/kxFMH21+rv4TTzSY8QBccfZSsYZZJVAHsBbfKxT7fyV/L/03V1G+FXxO47YYQog6Q7hGyQocmciAkMWAej0DRUB9At/clwl3Lv4dVHkrzf0CeU0lUihIzcoQSh6GeGGTdOeycAFlYAQ+wR+SrbWm+vyhIGEjNsxtZNRKyAGU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768185006; c=relaxed/simple; bh=ZUk0XCqrPTM2BxD4GagntJD2YihLggmTuoqrB2vQzCs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=CZZw8JWz4MNNsHAQC0KKX4+AF7vYIFg5d/EZEtx2M18v5UA4YuoDsUW8WcUihXfV36s/8PNxICyXXegyQp0WHQG4o2OfIC68Rnvi7zBQ9ABDNvi6aEOPsCkL59Tc7YRv8kmDcJYgwdNd4rwCsY4mJI6nwSARKiLllhecTwyZAWY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=airkyi.com; spf=pass smtp.mailfrom=airkyi.com; dkim=pass (1024-bit key) header.d=airkyi.com header.i=@airkyi.com header.b=HsCjhaGy; arc=none smtp.client-ip=54.254.200.128 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=airkyi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=airkyi.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=airkyi.com header.i=@airkyi.com header.b="HsCjhaGy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airkyi.com; s=altu2504; t=1768184919; bh=R9TYb4gWx4pQMa+mSrqRnpOcGO3Ou10FWe02WnyGdtE=; h=From:To:Subject:Date:Message-Id; b=HsCjhaGyq6iSWk0sh0vZVCJoTk+47MpM91l65NhLqjRXbYHzokt2NwAgPpb51cdgv 3OWzl6APzUt/iJbkvDxfDr9XLs43Cqbuo7gd7/lws6y6rGVsqN1aQGo1xlS7m+S1Bj 4LvoThSC97EUBUF0fUP12BkmDJz8HdYDDRnMBPUY= X-QQ-mid: zesmtpsz4t1768184918tfa46568f X-QQ-Originating-IP: NfTxhgrGshMWgayL2mvvN7B9ABsVR4W9bWkJBwKMPOw= Received: from DESKTOP-8BT1A2O.localdomain ( [58.22.7.114]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 12 Jan 2026 10:28:34 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 7953789143671575021 EX-QQ-RecipientCnt: 23 From: Chaoyi Chen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Greg Kroah-Hartman , Quentin Schulz , Jonas Karlman , Chaoyi Chen , Hsun Lai , John Clark , Jimmy Hon , Dragan Simic , Michael Riesch , Peter Robinson , Alexey Charkov , Shawn Lin , Sebastian Reichel , Andy Yan Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: usb: Add binding for WCH CH334/CH335 hub controller Date: Mon, 12 Jan 2026 10:28:21 +0800 Message-Id: <20260112022823.91-2-kernel@airkyi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20260112022823.91-1-kernel@airkyi.com> References: <20260112022823.91-1-kernel@airkyi.com> X-QQ-SENDSIZE: 520 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MmeUVwc+9BN+C70Km1YPxuU8dVqDVIiWC9mFy28QQw1VVTRpF3uV8THFJs0+ TtHNsyh2qOVZEonWo7V2muwbD9nmo= X-QQ-XMRINFO: OD9hHCdaPRBwH5bRRRw8tsiH4UAatJqXfg== X-QQ-RECHKSPAM: 0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Chaoyi Chen The WCH CH334/CH335[0] are USB2.0 protocol compliant 4-port USB HUB controller chips, supporting USB2.0 high-speed and full-speed for upstream ports, and USB2.0 high-speed 480Mbps, full-speed 12Mbps and low-speed 1.5Mbps for downstream ports, supporting not only low-cost STT mode (single TT schedules 4 downstream ports in time share), but also supports high performance MTT mode (4 TTs each corresponding to 1 port, concurrent processing). Add a device tree binding for it. [0]: https://www.wch-ic.com/downloads/CH334DS1_PDF.html Signed-off-by: Chaoyi Chen --- .../devicetree/bindings/usb/wch,ch334.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/wch,ch334.yaml diff --git a/Documentation/devicetree/bindings/usb/wch,ch334.yaml b/Documen= tation/devicetree/bindings/usb/wch,ch334.yaml new file mode 100644 index 000000000000..2eeb92f25b4c --- /dev/null +++ b/Documentation/devicetree/bindings/usb/wch,ch334.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/wch,ch334.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: WCH CH334/CH335 USB 2.0 Hub Controller + +maintainers: + - Chaoyi Chen + +allOf: + - $ref: usb-hub.yaml# + +properties: + compatible: + enum: + - usb1a86,8091 + + reg: true + + reset-gpios: + description: GPIO controlling the RESET# pin. + + vdd-supply: + description: + The regulator that provides 3.3V core power to the hub. + + vdd2-supply: + description: + The regulator that provides 3.3V or 5V power to the hub. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + patternProperties: + '^port@': + $ref: /schemas/graph.yaml#/properties/port + + properties: + reg: + minimum: 1 + maximum: 4 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + usb { + dr_mode =3D "host"; + #address-cells =3D <1>; + #size-cells =3D <0>; + + hub: hub@1 { + compatible =3D "usb1a86,8091"; + reg =3D <1>; + reset-gpios =3D <&gpio0 2 GPIO_ACTIVE_HIGH>; + vdd-supply =3D <&vcc_3v3>; + }; + }; --=20 2.51.1