Ingenic SoCs AC97 / I2S Controller (AIC)

Schema identifier ($id): "http://devicetree.org/schemas/sound/ingenic,aic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dai-common.yaml#

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^audio-controller@"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "ingenic,jz4740-i2s", "ingenic,jz4760-i2s", "ingenic,jz4770-i2s", "ingenic,jz4780-i2s", "ingenic,x1000-i2s"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ingenic,jz4725b-i2s"

Item 2

Exact value (const): "ingenic,jz4740-i2s"

#sound-dai-cells — required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

AIC clock

Item 2

I2S clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "aic"

Item 2

Exact value (const): "i2s"

dmas — required here #

Array item rules (items) #

Item 1

DMA controller phandle and request line for I2S RX

Item 2

DMA controller phandle and request line for I2S TX

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names", "#sound-dai-cells"

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
aic: audio-controller@10020000 {
  compatible = "ingenic,jz4740-i2s";
  reg = <0x10020000 0x38>;

  #sound-dai-cells = <0>;

  interrupt-parent = <&intc>;
  interrupts = <18>;

  clocks = <&cgu JZ4740_CLK_AIC>,
           <&cgu JZ4740_CLK_I2S>;
  clock-names = "aic", "i2s";

  dmas = <&dmac 25 0xffffffff>, <&dmac 24 0xffffffff>;
  dma-names = "rx", "tx";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page