Documentation/devicetree/bindings/sound/mediatek,mt2701-hdmi-audio.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/mediatek,mt2701-hdmi-audio.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/mediatek,mt2701-hdmi-audio.yaml
Extension
.yaml
Size
1357 bytes
Lines
49
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,mt2701-hdmi-audio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT2701/MT7623N HDMI audio output

maintainers:
  - Daniel Golle <daniel@makrotopia.org>

description:
  Sound card routing the MT2701/MT7623N Audio Front End HDMI
  playback path to the on-chip HDMI transmitter. The AFE
  provides the DMA memif and internal I2S engine; the HDMI
  transmitter acts as the audio codec on the serialised link.

properties:
  compatible:
    oneOf:
      - const: mediatek,mt2701-hdmi-audio
      - items:
          - const: mediatek,mt7623n-hdmi-audio
          - const: mediatek,mt2701-hdmi-audio

  mediatek,platform:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: Phandle of the MT2701/MT7623N AFE platform node.

  mediatek,audio-codec:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: Phandle of the HDMI transmitter acting as audio codec.

required:
  - compatible
  - mediatek,platform
  - mediatek,audio-codec

additionalProperties: false

examples:
  - |
    sound-hdmi {
        compatible = "mediatek,mt7623n-hdmi-audio",
                     "mediatek,mt2701-hdmi-audio";
        mediatek,platform = <&afe>;
        mediatek,audio-codec = <&hdmi0>;
    };

Annotation

Implementation Notes