mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 10:34:55 +08:00
54c2cc7919
Here is the "big" set of USB and Thunderbolt driver changes for 5.18-rc1. For the most part it's been a quiet development cycle for the USB core, but there are the usual "hot spots" of development activity. Included in here are: - Thunderbolt driver updates: - fixes for devices without displayport adapters - lane bonding support and improvements - other minor changes based on device testing - dwc3 gadget driver changes. It seems this driver will never be finished given that the IP core is showing up in zillions of new devices and each implementation decides to do something different with it... - uvc gadget driver updates as more devices start to use and rely on this hardware as well - usb_maxpacket() api changes to remove an unneeded and unused parameter. - usb-serial driver device id updates and small cleanups - typec cleanups and fixes based on device testing - device tree updates for usb properties - lots of other small fixes and driver updates. All of these have been in linux-next for weeks with no reported problems. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -----BEGIN PGP SIGNATURE----- iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCYpnZGw8cZ3JlZ0Brcm9h aC5jb20ACgkQMUfUDdst+ymQhwCeLVANsQjBcL4ys4skl+1In17y28gAn3rEZ7rQ Yv4uP9zadUqg3Cx0vjgf =3s5s -----END PGP SIGNATURE----- Merge tag 'usb-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb Pull USB / Thunderbolt updates from Greg KH: "Here is the "big" set of USB and Thunderbolt driver changes for 5.18-rc1. For the most part it's been a quiet development cycle for the USB core, but there are the usual "hot spots" of development activity. Included in here are: - Thunderbolt driver updates: - fixes for devices without displayport adapters - lane bonding support and improvements - other minor changes based on device testing - dwc3 gadget driver changes. It seems this driver will never be finished given that the IP core is showing up in zillions of new devices and each implementation decides to do something different with it... - uvc gadget driver updates as more devices start to use and rely on this hardware as well - usb_maxpacket() api changes to remove an unneeded and unused parameter. - usb-serial driver device id updates and small cleanups - typec cleanups and fixes based on device testing - device tree updates for usb properties - lots of other small fixes and driver updates. All of these have been in linux-next for weeks with no reported problems" * tag 'usb-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (154 commits) USB: new quirk for Dell Gen 2 devices usb: dwc3: core: Add error log when core soft reset failed usb: dwc3: gadget: Move null pinter check to proper place usb: hub: Simplify error and success path in port_over_current_notify usb: cdns3: allocate TX FIFO size according to composite EP number usb: dwc3: Fix ep0 handling when getting reset while doing control transfer usb: Probe EHCI, OHCI controllers asynchronously usb: isp1760: Fix out-of-bounds array access xhci: Don't defer primary roothub registration if there is only one roothub USB: serial: option: add Quectel BG95 modem USB: serial: pl2303: fix type detection for odd device xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI xhci: Remove quirk for over 10 year old evaluation hardware xhci: prevent U2 link power state if Intel tier policy prevented U1 xhci: use generic command timer for stop endpoint commands. usb: host: xhci-plat: omit shared hcd if either root hub has no ports usb: host: xhci-plat: prepare operation w/o shared hcd usb: host: xhci-plat: create shared hcd after having added main hcd xhci: prepare for operation w/o shared hcd xhci: factor out parts of xhci_gen_setup() ...
190 lines
4.6 KiB
YAML
190 lines
4.6 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/dwc2.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: DesignWare HS OTG USB 2.0 controller Bindings
|
|
|
|
maintainers:
|
|
- Rob Herring <robh@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: usb-drd.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: brcm,bcm2835-usb
|
|
- const: hisilicon,hi6220-usb
|
|
- const: ingenic,jz4775-otg
|
|
- const: ingenic,jz4780-otg
|
|
- const: ingenic,x1000-otg
|
|
- const: ingenic,x1600-otg
|
|
- const: ingenic,x1700-otg
|
|
- const: ingenic,x1830-otg
|
|
- const: ingenic,x2000-otg
|
|
- items:
|
|
- const: rockchip,rk3066-usb
|
|
- const: snps,dwc2
|
|
- items:
|
|
- enum:
|
|
- rockchip,px30-usb
|
|
- rockchip,rk3036-usb
|
|
- rockchip,rk3188-usb
|
|
- rockchip,rk3228-usb
|
|
- rockchip,rk3288-usb
|
|
- rockchip,rk3308-usb
|
|
- rockchip,rk3328-usb
|
|
- rockchip,rk3368-usb
|
|
- rockchip,rv1108-usb
|
|
- const: rockchip,rk3066-usb
|
|
- const: snps,dwc2
|
|
- const: lantiq,arx100-usb
|
|
- const: lantiq,xrx200-usb
|
|
- items:
|
|
- enum:
|
|
- amlogic,meson8-usb
|
|
- amlogic,meson8b-usb
|
|
- amlogic,meson-gxbb-usb
|
|
- amlogic,meson-g12a-usb
|
|
- intel,socfpga-agilex-hsotg
|
|
- const: snps,dwc2
|
|
- const: amcc,dwc-otg
|
|
- const: apm,apm82181-dwc-otg
|
|
- const: snps,dwc2
|
|
- const: st,stm32f4x9-fsotg
|
|
- const: st,stm32f4x9-hsotg
|
|
- const: st,stm32f7-hsotg
|
|
- const: st,stm32mp15-fsotg
|
|
- items:
|
|
- const: st,stm32mp15-hsotg
|
|
- const: snps,dwc2
|
|
- const: samsung,s3c6400-hsotg
|
|
- const: intel,socfpga-agilex-hsotg
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
items:
|
|
- const: otg
|
|
|
|
disable-over-current:
|
|
type: boolean
|
|
description: whether to disable detection of over-current condition.
|
|
|
|
iommus:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
items:
|
|
- description: common reset
|
|
- description: ecc reset
|
|
minItems: 1
|
|
|
|
reset-names:
|
|
items:
|
|
- const: dwc2
|
|
- const: dwc2-ecc
|
|
minItems: 1
|
|
|
|
phys:
|
|
maxItems: 1
|
|
|
|
phy-names:
|
|
const: usb2-phy
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
vbus-supply:
|
|
description: reference to the VBUS regulator. Depending on the current mode
|
|
this is enabled (in "host" mode") or disabled (in "peripheral" mode). The
|
|
regulator is updated if the controller is configured in "otg" mode and the
|
|
status changes between "host" and "peripheral".
|
|
|
|
vusb_d-supply:
|
|
description: phandle to voltage regulator of digital section,
|
|
|
|
vusb_a-supply:
|
|
description: phandle to voltage regulator of analog section.
|
|
|
|
usb33d-supply:
|
|
description: reference to the VBUS and ID sensing comparators supply, in
|
|
order to perform OTG operation, used on STM32MP15 SoCs.
|
|
|
|
dr_mode: true
|
|
|
|
otg-rev: true
|
|
|
|
hnp-disable: true
|
|
|
|
srp-disable: true
|
|
|
|
usb-role-switch: true
|
|
|
|
role-switch-default-mode: true
|
|
|
|
g-rx-fifo-size:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: size of rx fifo size in gadget mode.
|
|
|
|
g-np-tx-fifo-size:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: size of non-periodic tx fifo size in gadget mode.
|
|
|
|
g-tx-fifo-size:
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
description: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
|
|
|
|
snps,need-phy-for-wake:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description: If present indicates that the phy needs to be left on for
|
|
remote wakeup during suspend.
|
|
|
|
snps,reset-phy-on-wake:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description: If present indicates that we need to reset the PHY when we
|
|
detect a wakeup. This is due to a hardware errata.
|
|
|
|
port:
|
|
description:
|
|
Any connector to the data bus of this controller should be modelled
|
|
using the OF graph bindings specified, if the "usb-role-switch"
|
|
property is used.
|
|
$ref: /schemas/graph.yaml#/properties/port
|
|
|
|
dependencies:
|
|
port: [ usb-role-switch ]
|
|
role-switch-default-mode: [ usb-role-switch ]
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
usb@101c0000 {
|
|
compatible = "rockchip,rk3066-usb", "snps,dwc2";
|
|
reg = <0x10180000 0x40000>;
|
|
interrupts = <18>;
|
|
clocks = <&usb_otg_ahb_clk>;
|
|
clock-names = "otg";
|
|
phys = <&usbphy>;
|
|
phy-names = "usb2-phy";
|
|
};
|
|
|
|
...
|