Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/usb/snps,dwc3-common.yaml
Extension
.yaml
Size
13600 bytes
Lines
433
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Synopsys DesignWare USB3 Controller common properties

maintainers:
  - Felipe Balbi <balbi@kernel.org>

description:
  Defines the properties of the DWC3 core as being embedded in either an
  vendor-specific implementation or as a standalone component.

allOf:
  - $ref: usb-drd.yaml#
  - if:
      properties:
        dr_mode:
          const: peripheral

      required:
        - dr_mode
    then:
      $ref: usb.yaml#
    else:
      $ref: usb-xhci.yaml#

properties:
  extcon:
    maxItems: 1
    deprecated: true

  usb-phy:
    minItems: 1
    items:
      - description: USB2/HS PHY
      - description: USB3/SS PHY

  phys:
    minItems: 1
    maxItems: 19

  phy-names:
    minItems: 1
    maxItems: 19
    oneOf:
      - items:
          enum: [ usb2-phy, usb3-phy ]
      - items:
          pattern: "^usb(2-([0-9]|1[0-4])|3-[0-3])$"

  snps,usb2-lpm-disable:
    description: Indicate if we don't want to enable USB2 HW LPM for host
      mode.
    type: boolean

  snps,usb3_lpm_capable:
    description: Determines if platform is USB3 LPM capable
    type: boolean

  snps,usb2-gadget-lpm-disable:
    description: Indicate if we don't want to enable USB2 HW LPM for gadget
      mode.
    type: boolean

  snps,reserved-endpoints:
    description:
      Reserve endpoints for other needs, e.g, for tracing control and output.

Annotation

Implementation Notes