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

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

File Facts

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

title: RT5677 audio CODEC

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

description: |
  This device supports I2C only.

  Pins on the device (for linking into audio routes):
    * IN1P
    * IN1N
    * IN2P
    * IN2N
    * MICBIAS1
    * DMIC1
    * DMIC2
    * DMIC3
    * DMIC4
    * LOUT1
    * LOUT2
    * LOUT3

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

properties:
  compatible:
    const: realtek,rt5677

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  gpio-controller: true

  '#gpio-cells':
    const: 2

  realtek,pow-ldo2-gpio:
    maxItems: 1
    description: CODEC's POW_LDO2 pin.

  realtek,reset-gpio:
    maxItems: 1
    description: CODEC's RESET pin. Active low.

  realtek,gpio-config:
    description: |
      Array of six 8bit elements that configures GPIO.
      0 - floating (reset value)
      1 - pull down
      2 - pull up
    $ref: /schemas/types.yaml#/definitions/uint8-array
    minItems: 6
    maxItems: 6
    items:
      maximum: 2

  realtek,jd1-gpio:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum:
      - 0 # OFF

Annotation

Implementation Notes