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

dt-bindings: usb: Document the Microchip USB2514 hub

Document the Microchip USB2412, USB2417, and USB2514 USB hubs.

The existing usb251xb.yaml describes Microchip USB251x hubs that are
connected under I2C bus. Here, the hub is under the USB bus and use
the on-board-hub interface instead.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20240405120147.880933-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Fabio Estevam and committed by
Greg Kroah-Hartman
bfbf2e4b ccdd4aac

+63
+63
Documentation/devicetree/bindings/usb/microchip,usb2514.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/microchip,usb2514.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Microchip USB2514 Hub Controller 8 + 9 + maintainers: 10 + - Fabio Estevam <festevam@gmail.com> 11 + 12 + allOf: 13 + - $ref: usb-hcd.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - usb424,2412 19 + - usb424,2417 20 + - usb424,2514 21 + 22 + reg: true 23 + 24 + reset-gpios: 25 + description: GPIO connected to the RESET_N pin. 26 + 27 + vdd-supply: 28 + description: 3.3V power supply. 29 + 30 + clocks: 31 + description: External 24MHz clock connected to the CLKIN pin. 32 + maxItems: 1 33 + 34 + required: 35 + - compatible 36 + - reg 37 + 38 + unevaluatedProperties: false 39 + 40 + examples: 41 + - | 42 + #include <dt-bindings/clock/imx6qdl-clock.h> 43 + #include <dt-bindings/gpio/gpio.h> 44 + 45 + usb { 46 + #address-cells = <1>; 47 + #size-cells = <0>; 48 + 49 + usb-hub@1 { 50 + compatible = "usb424,2514"; 51 + reg = <1>; 52 + clocks = <&clks IMX6QDL_CLK_CKO>; 53 + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; 54 + vdd-supply = <&reg_3v3_hub>; 55 + #address-cells = <1>; 56 + #size-cells = <0>; 57 + 58 + ethernet@1 { 59 + compatible = "usbb95,772b"; 60 + reg = <1>; 61 + }; 62 + }; 63 + };