From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E17F73DF01D for ; Wed, 11 Mar 2026 15:20:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773242439; cv=none; b=Ehbzya1cUNXYo/gDHufayjYu2md+S0cM1cInyu3Z1bk5FhjX5RV+EoLcUbczi1vP1n4XJ8XGpQ1g9nyOFlFWPVfb/fHMB3YUBmeLZ1nxI2gH6MzdG723Q64jL2cpW+K+GPa/x1vmUFCB4l9amCwP2vIXzdLB6IhU/Nfsf6cc2QM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773242439; c=relaxed/simple; bh=I1uVv/LTzsgQ1T+9I/7DnJ24yUCxC6BeyV7tRacRwvw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EIrjMrruxvFrFbBQ0Dd7lg9s6rxuGeiyfziB82994ei0rYr/1AIkLRaw7t29QCG2bFGnby2b+j2oSL/JZ3fT+9Esy8fUpS6DTWfDcraIOlLT0mVJVxMpoiQaeqWKT5x+zv1ORERjSTY1/IUjC2aVzxhpDqtrMXHv/evY/Tduv6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=zI0mqRSH; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="zI0mqRSH" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-48334ee0aeaso118299015e9.1 for ; Wed, 11 Mar 2026 08:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flipper.net; s=google; t=1773242436; x=1773847236; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=PtHCEpa1o53nmFD6yBD46rLrQJD/cn516+0lc1j0K9k=; b=zI0mqRSHK+5aB1EoUwsbX6FDSPPQSfHEJ364kyk0xfeHZoyHO6deDgygaY5SF96OaZ ryvN+ld8bTJ935q6hXD5hFQVc4sImBbWMBH3zwjTTViM9iueTXgu9f7UOWupQzFb/qqQ c+OgySlTehmo1DQu/jTwLk17csqP1uPecPTfGFDBOQV6ZduFmT2dvUAILYHSb5iNKetD 13vBXl5Y8N1rv78QRytmS3I6/vie1o4yj5/rX286R9vqUKInqWSuS0qSqCRUCaxCGxHd Cqi8Wdyd2E/yt/KEUoIq1Fa8TBpaWC2/Glv/FnXMMqT680O5hjMadQmMzBKWFJsQ39cw 7HDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773242436; x=1773847236; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=PtHCEpa1o53nmFD6yBD46rLrQJD/cn516+0lc1j0K9k=; b=dWwRNHL5Eg9r8HIgqIKwARv4kkmw/JKjjM9z7MRbgABS9aj7D/eMyZD/EN/tAK1j8C J3Y4uO/2xH98z3C1E9UiUksHF+aYcxre76uc5BHn3BztxlT4oxDkY4rn9wCcG9VW955T YOaS/Q9HCVxYLPnXl69MyjcJU9UP7D594kV1Nm/xuxHqxtpKfupatqG/nsnvwuxyz9jN K8hiOhwRzQPylddbdweLy0RgIWJv8VbpUBQTIGHTwl1LCsjV4bnz4Q+pVZ/MZBvYMlpp Bz0q0Qchb6KQOzTWj1vw2LL1YHlZHDMZSb2cQwdHg4tAB9h2wv+NmncLKrCMy9v+/D3b bJ8Q== X-Gm-Message-State: AOJu0YzDkYWyqacHCJkApbQVZpvlL3C5XXY1LZAKkMBkxp5dXNqk5FLu 2reB0VOCytZBmvWP+5JQcNceiXWDpuCRnvE5Mhlqz9kaPrwWMc4mZz77wk5Pj556cu0= X-Gm-Gg: ATEYQzyZg9D4LsNa9KcQvY7unpOw8sMUy2XeFY7V+Nr5xEi2ZAonrZG8KC7k0lPSEjc wO+WY+jzXDEREuaVttBl6vHjWjgSMy2Qhql+NvG4sEmxrNiiuuxCsKoqftMnAChQc6ynI0R2y6X p6dvYTarBY4ALvDjnzBDiFirrDLdRg1ZXloUT27JM55PWL0GYKFw1kpFrvDNnZnKYh8GfCOYbMq YZHgFKBzWzcEaKP763ngRBC6bH+gc0n3kHVVIPHl0U7QUHBtVA+hp0H4VfAfANq1nAqKhdBZcgE H2pbDxvLBEq6uciv9RZDfDqnWZMRbMTIwPXPSDWeQVxBz+LDRN1d3I7dQ3ABPrV5y1SFRhrR2Jh ngD8XP5Db+VlQtvV6YPuMds/WtW++/0KXjSxuySj7JGr7qnCDAlhqbZrTjcGYpbpBJ83/hVVijg yc7fLex/XyPXJu91BxS9798F2YcXIJkY/G0c8dt/Exzs6pZxu6x/B++pKczMCxdUF/M1bGV0BxK gUS2v+W0PAGpiJx X-Received: by 2002:a05:600c:3b1c:b0:480:69b6:dfed with SMTP id 5b1f17b1804b1-4854b123903mr50834285e9.24.1773242436083; Wed, 11 Mar 2026 08:20:36 -0700 (PDT) Received: from alchark-surface.localdomain (bba-86-98-192-109.alshamil.net.ae. [86.98.192.109]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48541aa73dasm435519285e9.2.2026.03.11.08.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 08:20:35 -0700 (PDT) From: Alexey Charkov Date: Wed, 11 Mar 2026 19:20:22 +0400 Subject: [PATCH 2/3] dt-bindings: usb: Add Corechips SL6341 USB2.0/3.0 hub controller Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260311-sl6341-v1-2-0a890056f054@flipper.net> References: <20260311-sl6341-v1-0-0a890056f054@flipper.net> In-Reply-To: <20260311-sl6341-v1-0-0a890056f054@flipper.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Matthias Kaehlcke Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Alexey Charkov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2553; i=alchark@flipper.net; h=from:subject:message-id; bh=I1uVv/LTzsgQ1T+9I/7DnJ24yUCxC6BeyV7tRacRwvw=; b=owGbwMvMwCW2adGNfoHIK0sZT6slMWRu7LBLaOyRV3m1WcNYbMbdiQkKmYcL2a4nnhJVmTX/4 n7r3WnlHRNZGMS4GCzFFFnmfltiO9WIb9YuD4+vMHNYmUCGSIs0MAABCwNfbmJeqZGOkZ6ptqGe oaGOsY4RAxenAEz1+eOMDHOdpXrahXY7RT5/kae4fOLn+adb5lkvmLD9VNppnwIxdVFGhvd/87P vxBiefTR1G4PO969hYbIblv71FA9zmv9LrW9SKzMA X-Developer-Key: i=alchark@flipper.net; a=openpgp; fpr=9DF6A43D95320E9ABA4848F5B2A2D88F1059D4A5 Corechips SL6341 is a 4-port low-power USB 3.2 Gen 1x1 hub controller supporting SS, HS, FS and LS connections and integrating a 5V to 3.3V built-in LDO to enable its IO to be powered directly from the 5V USB VBUS. External 1v1 VDD supply is still required for its core power. Signed-off-by: Alexey Charkov --- .../devicetree/bindings/usb/corechips,sl6341.yaml | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml b/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml new file mode 100644 index 000000000000..82996791aaf1 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/corechips,sl6341.yaml @@ -0,0 +1,79 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/corechips,sl6341.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Corechips SL6341 USB 2.0/3.0 Hub Controller + +maintainers: + - Alexey Charkov + +allOf: + - $ref: usb-hub.yaml# + +properties: + compatible: + enum: + - usb3431,6241 + - usb3431,6341 + + reg: true + + peer-hub: true + + reset-gpios: + description: GPIO controlling the RSTN pin. + + vdd1v1-supply: + description: + The regulator that provides 1.1V core power to the hub. + + vdd3v3-supply: + description: + The regulator that provides 3.3V IO 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 + - vdd1v1-supply + +unevaluatedProperties: false + +examples: + - | + #include + usb { + #address-cells = <1>; + #size-cells = <0>; + + /* 2.0 hub */ + hub_2_0: hub@1 { + compatible = "usb3431,6241"; + reg = <1>; + peer-hub = <&hub_3_0>; + reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; + vdd1v1-supply = <&vdd1v1_hub>; + }; + + /* 3.0 hub */ + hub_3_0: hub@2 { + compatible = "usb3431,6341"; + reg = <2>; + peer-hub = <&hub_2_0>; + reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; + vdd1v1-supply = <&vdd1v1_hub>; + }; + }; -- 2.52.0