Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml
Extension
.yaml
Size
2186 bytes
Lines
117
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/phy/rockchip,rk3399-typec-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Rockchip Type-C PHY

maintainers:
  - Heiko Stuebner <heiko@sntech.de>

properties:
  compatible:
    const: rockchip,rk3399-typec-phy

  reg:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: tcpdcore
      - const: tcpdphy-ref

  extcon: true

  power-domains:
    maxItems: 1

  resets:
    maxItems: 3

  reset-names:
    items:
      - const: uphy
      - const: uphy-pipe
      - const: uphy-tcphy

  rockchip,grf:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      Phandle to the syscon managing the "general register files" (GRF).

  dp-port:
    type: object
    additionalProperties: false

    properties:
      '#phy-cells':
        const: 0

      port:
        $ref: /schemas/graph.yaml#/properties/port
        description: Connection to USB Type-C connector

    required:
      - '#phy-cells'

  usb3-port:
    type: object
    additionalProperties: false

    properties:
      '#phy-cells':
        const: 0

      orientation-switch: true

Annotation

Implementation Notes