Documentation/devicetree/bindings/sound/mediatek,mt8365-mt6357.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/mediatek,mt8365-mt6357.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/mediatek,mt8365-mt6357.yaml
Extension
.yaml
Size
2461 bytes
Lines
108
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/sound/mediatek,mt8365-mt6357.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT8365 ASoC sound card

maintainers:
  - Alexandre Mergnat <amergnat@baylibre.com>

properties:
  compatible:
    const: mediatek,mt8365-mt6357

  pinctrl-names:
    minItems: 1
    items:
      - const: default
      - const: dmic
      - const: miso_off
      - const: miso_on
      - const: mosi_off
      - const: mosi_on

  mediatek,platform:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: The phandle of MT8365 ASoC platform.

patternProperties:
  "^dai-link-[0-9]+$":
    type: object
    description:
      Container for dai-link level properties and CODEC sub-nodes.

    properties:
      codec:
        type: object
        description: Holds subnode which indicates codec dai.

        properties:
          sound-dai:
            maxItems: 1
            description: phandle of the codec DAI

        additionalProperties: false

      link-name:
        description: Indicates dai-link name and PCM stream name
        enum:
          - I2S_IN_BE
          - I2S_OUT_BE
          - PCM1_BE
          - PDM1_BE
          - PDM2_BE
          - PDM3_BE
          - PDM4_BE
          - SPDIF_IN_BE
          - SPDIF_OUT_BE
          - TDM_IN_BE
          - TDM_OUT_BE

      sound-dai:
        maxItems: 1
        description: phandle of the CPU DAI

    required:
      - link-name
      - sound-dai

Annotation

Implementation Notes