Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml
Extension
.yaml
Size
2778 bytes
Lines
118
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/phy/samsung,ufs-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung SoC series UFS PHY

maintainers:
  - Alim Akhtar <alim.akhtar@samsung.com>

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

  compatible:
    enum:
      - google,gs101-ufs-phy
      - samsung,exynos7-ufs-phy
      - samsung,exynosautov9-ufs-phy
      - samsung,exynosautov920-ufs-phy
      - tesla,fsd-ufs-phy

  reg:
    maxItems: 1

  reg-names:
    items:
      - const: phy-pma

  clocks:
    minItems: 1
    maxItems: 4

  clock-names:
    minItems: 1
    maxItems: 4

  power-domains:
    maxItems: 1

  samsung,pmu-syscon:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    maxItems: 1
    items:
      minItems: 1
      items:
        - description: phandle for PMU system controller interface, used to
                       control pmu registers bits for ufs m-phy
        - description: offset of the pmu control register
    description:
      It can be phandle/offset pair. The second cell which can represent an
      offset is optional.

required:
  - "#phy-cells"
  - compatible
  - reg
  - reg-names
  - clocks
  - clock-names
  - samsung,pmu-syscon

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: samsung,exynos7-ufs-phy

Annotation

Implementation Notes