Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml
Extension
.yaml
Size
2694 bytes
Lines
107
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-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Renesas RZ/{G2L,V2L} USBPHY Control

maintainers:
  - Biju Das <biju.das.jz@bp.renesas.com>

description:
  The RZ/G2L USBPHY Control mainly controls reset and power down of the
  USB/PHY.

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five
              - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
              - renesas,r9a07g054-usbphy-ctrl # RZ/V2L
          - const: renesas,rzg2l-usbphy-ctrl
      - const: renesas,r9a08g045-usbphy-ctrl # RZ/G3S

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  resets:
    maxItems: 1

  power-domains:
    maxItems: 1

  '#reset-cells':
    const: 1
    description: |
      The phandle's argument in the reset specifier is the PHY reset associated
      with the USB port.
      0 = Port 1 Phy reset
      1 = Port 2 Phy reset

  regulator-vbus:
    type: object
    description: USB VBUS regulator
    $ref: /schemas/regulator/regulator.yaml#
    unevaluatedProperties: false

  renesas,sysc-pwrrdy:
    description:
      The system controller PWRRDY indicates to the USB PHY if the power supply
      is ready. PWRRDY needs to be set during power-on before applying any
      other settings. It also needs to be set before powering off the USB.
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description:
              System controller phandle required by USB PHY CTRL driver to set
              PWRRDY
          - description: Register offset associated with PWRRDY
          - description: Register bitmask associated with PWRRDY

required:
  - compatible
  - reg
  - clocks

Annotation

Implementation Notes