Documentation/devicetree/bindings/sound/fsl,spdif.yaml

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

File Facts

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

title: Freescale Sony/Philips Digital Interface Format (S/PDIF) Controller

maintainers:
  - Shengjiu Wang <shengjiu.wang@nxp.com>

description: |
  The Freescale S/PDIF audio block is a stereo transceiver that allows the
  processor to receive and transmit digital audio via an coaxial cable or
  a fibre cable.

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - fsl,imx35-spdif
              - fsl,imx6sx-spdif
              - fsl,imx8mm-spdif
              - fsl,imx8mn-spdif
              - fsl,imx8mq-spdif
              - fsl,imx8qm-spdif
              - fsl,imx8qxp-spdif
              - fsl,imx8ulp-spdif
              - fsl,vf610-spdif
      - items:
          - enum:
              - fsl,imx6sl-spdif
              - fsl,imx6sx-spdif
          - const: fsl,imx35-spdif

  reg:
    maxItems: 1

  interrupts:
    minItems: 1
    items:
      - description: Combined or receive interrupt
      - description: Transmit interrupt

  dmas:
    items:
      - description: DMA controller phandle and request line for RX
      - description: DMA controller phandle and request line for TX

  dma-names:
    items:
      - const: rx
      - const: tx

  clocks:
    items:
      - description: The core clock of spdif controller.
      - description: Clock for tx0 and rx0.
      - description: Clock for tx1 and rx1.
      - description: Clock for tx2 and rx2.
      - description: Clock for tx3 and rx3.
      - description: Clock for tx4 and rx4.
      - description: Clock for tx5 and rx5.
      - description: Clock for tx6 and rx6.
      - description: Clock for tx7 and rx7.
      - description: The spba clock is required when SPDIF is placed as a bus
          slave of the Shared Peripheral Bus and when two or more bus masters
          (CPU, DMA or DSP) try to access it. This property is optional depending
          on the SoC design.

Annotation

Implementation Notes