NXP LPC32XX I2S Controller

Schema identifier ($id): "http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml#"

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

The I2S controller in LPC32XX SoCs, ASoC DAI.

Maintainers (maintainers): "J.M.B. Downing <jonathan.downing@nautel.com>", "Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,lpc3220-i2s"

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

input clock of the peripheral.

dmas — required here #

Array item rules (items) #

Item 1

RX DMA Channel

Item 2

TX DMA Channel

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

#sound-dai-cells — required here #

Exact value (const): 0

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc32xx-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2s@20094000 {
  compatible = "nxp,lpc3220-i2s";
  reg = <0x20094000 0x1000>;
  interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&clk LPC32XX_CLK_I2S0>;
  dmas = <&dma 0 1>, <&dma 13 1>;
  dma-names = "rx", "tx";
  #sound-dai-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page