Documentation/devicetree/bindings/sound/atmel,asoc-wm8904.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/atmel,asoc-wm8904.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/atmel,asoc-wm8904.yaml
Extension
.yaml
Size
2126 bytes
Lines
85
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/atmel,asoc-wm8904.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Atmel wm8904 audio codec complex

maintainers:
  - Dharma Balasubiramani <dharma.b@microchip.com>

description:
  The ASoC audio complex configuration for Atmel with WM8904 audio codec.

properties:
  compatible:
    const: atmel,asoc-wm8904

  atmel,model:
    $ref: /schemas/types.yaml#/definitions/string
    description: The user-visible name of this sound complex.

  atmel,ssc-controller:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: The phandle of the SSC controller.

  atmel,audio-codec:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: The phandle of the WM8731 audio codec.

  atmel,audio-routing:
    description:
      A list of the connections between audio components. Each entry is a pair
      of strings, the first being the connection's sink, the second being the
      connection's source.
    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
    items:
      enum:
        # Board Connectors
        - Headphone Jack
        - Line In Jack
        - Mic
        # WM8904 CODEC Pins
        - IN1L
        - IN1R
        - IN2L
        - IN2R
        - IN3L
        - IN3R
        - HPOUTL
        - HPOUTR
        - LINEOUTL
        - LINEOUTR
        - MICBIAS

required:
  - compatible
  - atmel,model
  - atmel,audio-routing
  - atmel,ssc-controller
  - atmel,audio-codec

additionalProperties: false

examples:
  - |
    sound {
        compatible = "atmel,asoc-wm8904";
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pck0_as_mck>;

Annotation

Implementation Notes