Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: usb: Add Corechips SL6341 USB2.0/3.0 hub controller

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 <alchark@flipper.net>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260311-sl6341-v1-2-0a890056f054@flipper.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexey Charkov and committed by
Greg Kroah-Hartman
bfcb86e5 b0dd9345

+79
+79
Documentation/devicetree/bindings/usb/corechips,sl6341.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/usb/corechips,sl6341.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Corechips SL6341 USB 2.0/3.0 Hub Controller 8 + 9 + maintainers: 10 + - Alexey Charkov <alchark@flipper.net> 11 + 12 + allOf: 13 + - $ref: usb-hub.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - usb3431,6241 19 + - usb3431,6341 20 + 21 + reg: true 22 + 23 + peer-hub: true 24 + 25 + reset-gpios: 26 + description: GPIO controlling the RSTN pin. 27 + 28 + vdd1v1-supply: 29 + description: 30 + The regulator that provides 1.1V core power to the hub. 31 + 32 + vdd3v3-supply: 33 + description: 34 + The regulator that provides 3.3V IO power to the hub. 35 + 36 + ports: 37 + $ref: /schemas/graph.yaml#/properties/ports 38 + 39 + patternProperties: 40 + '^port@': 41 + $ref: /schemas/graph.yaml#/properties/port 42 + 43 + properties: 44 + reg: 45 + minimum: 1 46 + maximum: 4 47 + 48 + required: 49 + - compatible 50 + - reg 51 + - vdd1v1-supply 52 + 53 + unevaluatedProperties: false 54 + 55 + examples: 56 + - | 57 + #include <dt-bindings/gpio/gpio.h> 58 + usb { 59 + #address-cells = <1>; 60 + #size-cells = <0>; 61 + 62 + /* 2.0 hub */ 63 + hub_2_0: hub@1 { 64 + compatible = "usb3431,6241"; 65 + reg = <1>; 66 + peer-hub = <&hub_3_0>; 67 + reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 68 + vdd1v1-supply = <&vdd1v1_hub>; 69 + }; 70 + 71 + /* 3.0 hub */ 72 + hub_3_0: hub@2 { 73 + compatible = "usb3431,6341"; 74 + reg = <2>; 75 + peer-hub = <&hub_2_0>; 76 + reset-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 77 + vdd1v1-supply = <&vdd1v1_hub>; 78 + }; 79 + };