Documentation/devicetree/bindings/sound/realtek,rt5514.yaml

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

File Facts

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

title: RT5514 audio CODEC

maintainers:
  - Animesh Agarwal <animeshagarwal28@gmail.com>

description: |
  This device supports both I2C and SPI.

  Pins on the device (for linking into audio routes) for I2C:
    * DMIC1L
    * DMIC1R
    * DMIC2L
    * DMIC2R
    * AMICL
    * AMICR

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#
  - $ref: dai-common.yaml#

properties:
  compatible:
    const: realtek,rt5514

  reg:
    maxItems: 1

  clocks:
    items:
      - description: Master clock to the CODEC

  clock-names:
    items:
      - const: mclk

  interrupts:
    maxItems: 1
    description: The interrupt number to the cpu.

  realtek,dmic-init-delay-ms:
    description: Set the DMIC initial delay (ms) to wait it ready for I2C.

  spi-max-frequency: true

  wakeup-source:
    type: boolean
    description: Flag to indicate this device can wake system (suspend/resume).

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;
        codec@57 {
            compatible = "realtek,rt5514";
            reg = <0x57>;
        };
    };

Annotation

Implementation Notes