Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/usb/richtek,rt1711h.yaml
Extension
.yaml
Size
2858 bytes
Lines
113
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/usb/richtek,rt1711h.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Richtek RT1711H Type-C Port Switch and Power Delivery controller

maintainers:
  - Gene Chen <gene_chen@richtek.com>

description: |
  The RT1711H is a USB Type-C controller that complies with the latest
  USB Type-C and PD standards. It does the USB Type-C detection including attach
  and orientation. It integrates the physical layer of the USB BMC power
  delivery protocol to allow up to 100W of power. The BMC PD block enables full
  support for alternative interfaces of the Type-C specification.

properties:
  compatible:
    oneOf:
      - enum:
          - richtek,rt1711h
          - richtek,rt1715
      - items:
          - enum:
              - hynetek,husb311
          - const: richtek,rt1711h
      - items:
          - enum:
              - etekmicro,et7304
          - const: richtek,rt1715
    description:
      RT1711H support PD20, ET7304 and RT1715 support PD30 except Fast Role Swap.
      HUSB311 is a rebrand of RT1711H which is pin and register compatible.

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  vbus-supply:
    description: VBUS power supply

  wakeup-source: true

  connector:
    type: object
    $ref: /schemas/connector/usb-connector.yaml#
    description:
      Properties for usb c connector.

additionalProperties: false

required:
  - compatible
  - reg
  - connector
  - interrupts

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/usb/pd.h>
    i2c {
      #address-cells = <1>;
      #size-cells = <0>;

      rt1711h@4e {

Annotation

Implementation Notes