From nobody Sun Feb 8 02:34:55 2026 Received: from smtpbgau2.qq.com (smtpbgau2.qq.com [54.206.34.216]) (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 47E033803FC; Tue, 13 Jan 2026 09:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=54.206.34.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768298354; cv=none; b=r79xkXaNWTlS19w6Lke4d9pR6lM/SfNtTmzunA0MzeICUX3tmmJuMn9w0VTqJMI1x2iHutMlfu28CVoZILPmwLBQkPk7MeEfae3pIOHoVUwvFzKOSwr9t7caw1K7tLVaLLwzKZ707J/t9P8YdYg2BEz1KfsrH0IMRGpth6Q6/Ko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768298354; c=relaxed/simple; bh=KKIy8bffqboLgIzZdy9VTzkBZvzsoRtEKAUmG9MsrUo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Lw8IPuVYm5Eo4uHyzOVtXH/qNrYGyrNocOb6vfRBZEW5Up+qnL1FieXTToWWmOmhKF5aTPAYObTyYsVxQdMRZ+Z5rXqUbTGgyKpOnm2NmwhGX33S7odvgmZ0o4RMU4hZActzEA5BA6ifgEiMYNckOj7x3jA2F/Z+GVzOgGoJ7Dg= 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=UIIbASgm; arc=none smtp.client-ip=54.206.34.216 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="UIIbASgm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=airkyi.com; s=altu2504; t=1768298328; bh=GDKzmeAw2EfPngSK1JjEE8ej+BjDp2O4aeKtxqj6nSk=; h=From:To:Subject:Date:Message-Id; b=UIIbASgmnSXGjNpzAMRtJ3AZTz3R0rmiog+Xyf0hZth/eQwnZgWgiFSyCTegLNef4 tmVWlA8INlk3pBR3Amb97TyquronsIhD3aGD4ejjl+Wn404HEUVxeSVtfFywZLnKpV BQvRBM79Gtp0axLZea5tXl1IPvIn3edLWcJdwZ4U= X-QQ-mid: zesmtpgz5t1768298322tbc62f475 X-QQ-Originating-IP: X5wLQKBIWwIYozPCEspkxvcfEXL4vp1S15FmBCjxBFc= Received: from DESKTOP-8BT1A2O.localdomain ( [58.22.7.114]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 13 Jan 2026 17:58:38 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 13575297886688582276 From: Chaoyi Chen To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Popescu , Stephen Boyd , Jens Glathe , Dmitry Baryshkov , Mike Looijmans , Pin-yen Lin , =?UTF-8?q?J=2E=20Neusch=C3=A4fer?= , Quentin Schulz Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chaoyi Chen Subject: [PATCH v2 1/2] dt-bindings: usb: Add binding for WCH CH334/CH335 hub controller Date: Tue, 13 Jan 2026 17:58:26 +0800 Message-Id: <20260113095827.115-2-kernel@airkyi.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20260113095827.115-1-kernel@airkyi.com> References: <20260113095827.115-1-kernel@airkyi.com> X-QQ-SENDSIZE: 520 Feedback-ID: zesmtpgz:airkyi.com:qybglogicsvrgz:qybglogicsvrgz6b-0 X-QQ-XMAILINFO: NcvP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YIXSOciY42pFQ= X-QQ-XMRINFO: NI4Ajvh11aEjEMj13RCX7UuhPEoou2bs1g== 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 Reviewed-by: Rob Herring (Arm) --- Changes in v2: - Fix the incorrect reset GPIO polarity. - Use a more meaningful supply name. --- .../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..2fdca14dc1de --- /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. + + vdd33-supply: + description: + The regulator that provides 3.3V core power to the hub. + + v5-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 { + #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_LOW>; + v5-supply =3D <&vcc_3v3>; + vdd33-supply =3D <&vcc_3v3>; + }; + }; --=20 2.51.1