Documentation/devicetree/bindings/sound/infineon,peb2466.yaml

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

File Facts

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

title: Infineon PEB2466 codec

maintainers:
  - Herve Codina <herve.codina@bootlin.com>

description: |
  The Infineon PEB2466 codec is a programmable DSP-based four channels codec
  with filters capabilities.

  The time-slots used by the codec must be set and so, the properties
  'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and
  'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes
  that involve the codec. The codec uses one 8bit time-slot per channel.
  'dai-tdm-tdm-slot-with' must be set to 8.

  The PEB2466 codec also supports 28 gpios (signaling pins).

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

properties:
  compatible:
    const: infineon,peb2466

  reg:
    description:
      SPI device address.
    maxItems: 1

  clocks:
    items:
      - description: Master clock

  clock-names:
    items:
      - const: mclk

  spi-max-frequency:
    maximum: 8192000

  reset-gpios:
    description:
      GPIO used to reset the device.
    maxItems: 1

  firmware-name:
    maxItems: 1
    description:
      Filters coefficients file to load. If this property is omitted, internal
      filters are disabled.

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

  '#gpio-cells':
    const: 2

  gpio-controller: true

required:
  - compatible
  - reg
  - '#sound-dai-cells'

Annotation

Implementation Notes