Documentation/devicetree/bindings/sound/wlf,wm8960.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/sound/wlf,wm8960.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/sound/wlf,wm8960.yaml
Extension
.yaml
Size
3852 bytes
Lines
135
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/wlf,wm8960.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Wolfson WM8960 audio codec

maintainers:
  - patches@opensource.cirrus.com

description: |
  Wolfson WM8960 audio codec

  Pins on the device (for linking into audio routes):

    Outputs:
      * HP_L    : Left Headphone/Line Output
      * HP_R    : Right Headphone/Line Output
      * SPK_LP  : Left Speaker Output (Positive)
      * SPK_LN  : Left Speaker Output (Negative)
      * SPK_RP  : Right Speaker Output (Positive)
      * SPK_RN  : Right Speaker Output (Negative)
      * OUT3    : Mono, Left, Right or buffered midrail output for capless mode

    Inputs:
      * LINPUT1 : Left single-ended or negative differential microphone input
      * RINPUT1 : Right single-ended or negative differential microphone input
      * LINPUT2 : Left line input or positive differential microphone input
      * RINPUT2 : Right line input or positive differential microphone input
      * LINPUT3 : Left line input, positive differential microphone, or Jack Detect 2
      * RINPUT3 : Right line input, positive differential microphone, or Jack Detect 3

properties:
  compatible:
    const: wlf,wm8960

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: mclk

  '#sound-dai-cells':
    const: 0

  AVDD-supply:
    description: Analogue supply.

  DBVDD-supply:
    description: Digital Buffer Supply.

  DCVDD-supply:
    description: Digital Core Supply.

  SPKVDD1-supply:
    description: Supply for speaker drivers 1.

  SPKVDD2-supply:
    description: Supply for speaker drivers 2.

  wlf,capless:
    type: boolean
    description:
      If present, OUT3 pin will be enabled and disabled together with HP_L and
      HP_R pins in response to jack detect events.

Annotation

Implementation Notes