McBSP Controller for TI SoCs

Schema identifier ($id): "http://devicetree.org/schemas/sound/davinci-mcbsp.yaml#"

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

Maintainers (maintainers): "Bastien Curutchet <bastien.curutchet@bootlin.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): "ti,da850-mcbsp"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

CFG registers

Item 2

data registers

reg-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mpu"

Item 2

Exact value (const): "dat"

dmas — required here #

Array item rules (items) #

Item 1

transmission DMA channel

Item 2

reception DMA channel

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

interrupts — not listed as required here #

Array item rules (items) #

Item 1

RX interrupt

Item 2

TX interrupt

interrupt-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

functional clock

Item 2

external input clock for sample rate generator.

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Exact value (const): "clks"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#sound-dai-cells — required here #

Exact value (const): 0

ti,T1-framing-tx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If the property is present, tx data delay is set to 2 bit clock periods. McBSP will insert a blank period (high-impedance period) before the first data bit. This can be used to interface to T1-framing devices.

ti,T1-framing-rx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If the property is present, rx data delay is set to 2 bit clock periods. McBSP will discard the bit preceding the data stream (called framing bit). This can be used to interface to T1-framing devices.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

mcbsp0@1d10000 {
  #sound-dai-cells = <0>;
  compatible = "ti,da850-mcbsp";
  pinctrl-names = "default";
  pinctrl-0 = <&mcbsp0_pins>;

  reg = <0x111000 0x1000>,
        <0x311000 0x1000>;
  reg-names = "mpu", "dat";
  interrupts = <97>, <98>;
  interrupt-names = "rx", "tx";
  dmas = <&edma0 3 1>,
         <&edma0 2 1>;
  dma-names = "tx", "rx";

  clocks = <&psc1 14>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page