mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
Pull USB / Thunderbolt / PHY driver updates from Greg KH:
"Here is the big set of USB, Thunderbolt, and PHY driver updates for
6.6-rc1. Included in here are:
- PHY driver additions and cleanups
- Thunderbolt minor additions and fixes
- USB MIDI 2 gadget support added
- dwc3 driver updates and additions
- Removal of some old USB wireless code that was missed when that
codebase was originally removed a few years ago, cleaning up some
core USB code paths
- USB core potential use-after-free fixes that syzbot from different
people/groups keeps tripping over
- typec updates and additions
- gadget fixes and cleanups
- loads of smaller USB core and driver cleanups all over the place
Full details are in the shortlog. All of these have been in linux-next
for a while with no reported problems"
* tag 'usb-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (154 commits)
platform/chrome: cros_ec_typec: Configure Retimer cable type
tcpm: Avoid soft reset when partner does not support get_status
usb: typec: tcpm: reset counter when enter into unattached state after try role
usb: typec: tcpm: set initial svdm version based on pd revision
USB: serial: option: add FOXCONN T99W368/T99W373 product
USB: serial: option: add Quectel EM05G variant (0x030e)
usb: dwc2: add pci_device_id driver_data parse support
usb: gadget: remove max support speed info in bind operation
usb: gadget: composite: cleanup function config_ep_by_speed_and_alt()
usb: gadget: config: remove max speed check in usb_assign_descriptors()
usb: gadget: unconditionally allocate hs/ss descriptor in bind operation
usb: gadget: f_uvc: change endpoint allocation in uvc_function_bind()
usb: gadget: add a inline function gether_bitrate()
usb: gadget: use working speed to calcaulate network bitrate and qlen
dt-bindings: usb: samsung,exynos-dwc3: Add Exynos850 support
usb: dwc3: exynos: Add support for Exynos850 variant
usb: gadget: udc-xilinx: fix incorrect type in assignment warning
usb: gadget: udc-xilinx: fix cast from restricted __le16 warning
usb: gadget: udc-xilinx: fix restricted __le16 degrades to integer warning
USB: dwc2: hande irq on dead controller correctly
...
186 lines
4.5 KiB
YAML
186 lines
4.5 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/generic-ehci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: USB EHCI Controller
|
|
|
|
maintainers:
|
|
- Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
|
|
allOf:
|
|
- $ref: usb-hcd.yaml
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
not:
|
|
contains:
|
|
const: ibm,usb-ehci-440epx
|
|
then:
|
|
properties:
|
|
reg:
|
|
maxItems: 1
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- allwinner,sun4i-a10-ehci
|
|
- allwinner,sun50i-a64-ehci
|
|
- allwinner,sun50i-h6-ehci
|
|
- allwinner,sun50i-h616-ehci
|
|
- allwinner,sun5i-a13-ehci
|
|
- allwinner,sun6i-a31-ehci
|
|
- allwinner,sun7i-a20-ehci
|
|
- allwinner,sun8i-a23-ehci
|
|
- allwinner,sun8i-a83t-ehci
|
|
- allwinner,sun8i-h3-ehci
|
|
- allwinner,sun8i-r40-ehci
|
|
- allwinner,sun8i-v3s-ehci
|
|
- allwinner,sun9i-a80-ehci
|
|
- allwinner,sun20i-d1-ehci
|
|
- aspeed,ast2400-ehci
|
|
- aspeed,ast2500-ehci
|
|
- aspeed,ast2600-ehci
|
|
- brcm,bcm3384-ehci
|
|
- brcm,bcm63268-ehci
|
|
- brcm,bcm6328-ehci
|
|
- brcm,bcm6358-ehci
|
|
- brcm,bcm6362-ehci
|
|
- brcm,bcm6368-ehci
|
|
- brcm,bcm7125-ehci
|
|
- brcm,bcm7346-ehci
|
|
- brcm,bcm7358-ehci
|
|
- brcm,bcm7360-ehci
|
|
- brcm,bcm7362-ehci
|
|
- brcm,bcm7420-ehci
|
|
- brcm,bcm7425-ehci
|
|
- brcm,bcm7435-ehci
|
|
- hpe,gxp-ehci
|
|
- ibm,476gtr-ehci
|
|
- nxp,lpc1850-ehci
|
|
- qca,ar7100-ehci
|
|
- rockchip,rk3588-ehci
|
|
- snps,hsdk-v1.0-ehci
|
|
- socionext,uniphier-ehci
|
|
- const: generic-ehci
|
|
- items:
|
|
- enum:
|
|
- atmel,at91sam9g45-ehci
|
|
- cavium,octeon-6335-ehci
|
|
- ibm,usb-ehci-440epx
|
|
- ibm,usb-ehci-460ex
|
|
- nintendo,hollywood-usb-ehci
|
|
- st,spear600-ehci
|
|
- const: usb-ehci
|
|
- enum:
|
|
- generic-ehci
|
|
- marvell,armada-3700-ehci
|
|
- marvell,orion-ehci
|
|
- nuvoton,npcm750-ehci
|
|
- nuvoton,npcm845-ehci
|
|
- ti,ehci-omap
|
|
- usb-ehci
|
|
|
|
reg:
|
|
minItems: 1
|
|
maxItems: 2
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
minItems: 1
|
|
maxItems: 4
|
|
|
|
clocks:
|
|
minItems: 1
|
|
maxItems: 4
|
|
description: |
|
|
In case the Renesas R-Car Gen3 SoCs:
|
|
- if a host only channel: first clock should be host.
|
|
- if a USB DRD channel: first clock should be host and second
|
|
one should be peripheral
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
big-endian:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag for HCDs with big endian descriptors and big
|
|
endian registers.
|
|
|
|
big-endian-desc:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag for HCDs with big endian descriptors.
|
|
|
|
big-endian-regs:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag for HCDs with big endian registers.
|
|
|
|
has-transaction-translator:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag if EHCI has a Transaction Translator built into
|
|
the root hub.
|
|
|
|
needs-reset-on-resume:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag to force EHCI reset after resume.
|
|
|
|
spurious-oc:
|
|
$ref: /schemas/types.yaml#/definitions/flag
|
|
description:
|
|
Set this flag to indicate that the hardware sometimes turns on
|
|
the OC bit when an over-current isn't actually present.
|
|
|
|
phys:
|
|
minItems: 1
|
|
maxItems: 3
|
|
|
|
phy-names:
|
|
const: usb
|
|
|
|
iommus:
|
|
maxItems: 1
|
|
|
|
dr_mode:
|
|
enum:
|
|
- host
|
|
- otg
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
usb@e0000300 {
|
|
compatible = "ibm,usb-ehci-440epx", "usb-ehci";
|
|
interrupt-parent = <&UIC0>;
|
|
interrupts = <0x1a 4>;
|
|
reg = <0xe0000300 90>, <0xe0000390 70>;
|
|
big-endian;
|
|
};
|
|
|
|
- |
|
|
ehci0: usb@1c14000 {
|
|
compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
|
|
reg = <0x01c14000 0x100>;
|
|
interrupts = <39>;
|
|
clocks = <&ahb_gates 1>;
|
|
phys = <&usbphy 1>;
|
|
phy-names = "usb";
|
|
};
|
|
|
|
...
|