Documentation/devicetree/bindings/sound/mediatek,mt7986-afe.yaml

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

File Facts

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

title: MediaTek AFE PCM controller for MT7986

maintainers:
  - Maso Huang <maso.huang@mediatek.com>

properties:
  compatible:
    oneOf:
      - const: mediatek,mt7986-afe
      - items:
          - enum:
              - mediatek,mt7981-afe
              - mediatek,mt7988-afe
          - const: mediatek,mt7986-afe

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    minItems: 5
    items:
      - description: audio bus clock
      - description: audio 26M clock
      - description: audio intbus clock
      - description: audio hopping clock
      - description: audio pll clock
      - description: mux for pcm_mck
      - description: audio i2s/pcm mck

  clock-names:
    minItems: 5
    items:
      - const: bus_ck
      - const: 26m_ck
      - const: l_ck
      - const: aud_ck
      - const: eg2_ck
      - const: sel
      - const: i2s_m

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: mediatek,mt7986-afe
    then:
      properties:
        clocks:
          items:
            - description: audio bus clock
            - description: audio 26M clock
            - description: audio intbus clock
            - description: audio hopping clock

Annotation

Implementation Notes