Documentation/devicetree/bindings/sound/fsl,mxs-audio-sgtl5000.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/fsl,mxs-audio-sgtl5000.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/fsl,mxs-audio-sgtl5000.yaml
Extension
.yaml
Size
2095 bytes
Lines
82
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/fsl,mxs-audio-sgtl5000.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale MXS audio complex with SGTL5000 codec

maintainers:
  - Frank Li <Frank.Li@nxp.com>

properties:
  compatible:
    items:
      - enum:
          - bluegiga,apx4devkit-sgtl5000
          - denx,m28evk-sgtl5000
          - fsl,imx28-evk-sgtl5000
          - fsl,imx28-mbmx28lc-sgtl5000
          - fsl,imx28-tx28-sgtl5000
      - const: fsl,mxs-audio-sgtl5000

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

  saif-controllers:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    description: The phandle list of the MXS SAIF controller

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

  audio-routing:
    $ref: /schemas/types.yaml#/definitions/non-unique-string-array
    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. Valid names could be power supplies, SGTL5000
      pins, and the jacks on the board:

      Power supplies:
        * Mic Bias

      SGTL5000 pins:
        * MIC_IN
        * LINE_IN
        * HP_OUT
        * LINE_OUT

      Board connectors:
        * Mic Jack
        * Line In Jack
        * Headphone Jack
        * Line Out Jack
        * Ext Spk

required:
  - compatible
  - saif-controllers
  - audio-codec

allOf:
  - $ref: dai-common.yaml#

unevaluatedProperties: false

examples:

Annotation

Implementation Notes