OMAP McPDM

Schema identifier ($id): "http://devicetree.org/schemas/sound/ti,omap4-mcpdm.yaml#"

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

Maintainers (maintainers): "Misael Lopez Cruz <misael.lopez@ti.com>"

OMAP ALSA SoC DAI driver using McPDM port used by TWL6040

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,omap4-mcpdm"

reg — required here #

Array item rules (items) #

Item 1

MPU access base address

Item 2

L3 interconnect address

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mpu"

Item 2

Exact value (const): "dma"

interrupts — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Maximum number of items (maxItems): 2

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "up_link"

Item 2

Exact value (const): "dn_link"

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pdmclk"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
mcpdm@0 {
  compatible = "ti,omap4-mcpdm";
  reg = <0x0 0x7f>, /* MPU private access */
        <0x49032000 0x7f>; /* L3 Interconnect */
  reg-names = "mpu", "dma";
  interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  interrupt-parent = <&gic>;
  dmas = <&sdma 65>, <&sdma 66>;
  dma-names = "up_link", "dn_link";
  clocks = <&twl6040>;
  clock-names = "pdmclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page