MediaTek mt8186 DSP core

Schema identifier ($id): "http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

MediaTek mt8186 SoC contains a DSP core used for advanced pre- and post- audio processing.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8186-dsp", "mediatek,mt8188-dsp"

reg — required here #

Array item rules (items) #

Item 1

Address and size of the DSP config registers

Item 2

Address and size of the DSP SRAM

Item 3

Address and size of the DSP secure registers

Item 4

Address and size of the DSP bus registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "cfg"

Item 2

Exact value (const): "sram"

Item 3

Exact value (const): "sec"

Item 4

Exact value (const): "bus"

clocks — required here #

Array item rules (items) #

Item 1

mux for audio dsp clock

Item 2

mux for audio dsp local bus

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "audiodsp"

Item 2

Exact value (const): "adsp_bus"

power-domains — required here #

Maximum number of items (maxItems): 1

mboxes — required here #

Array item rules (items) #

Item 1

mailbox for receiving audio DSP requests.

Item 2

mailbox for transmitting requests to audio DSP.

mbox-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

Item 2

Exact value (const): "tx"

memory-region — not listed as required here #

Array item rules (items) #

Item 1

dma buffer between host and DSP.

Item 2

DSP system memory.

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "power-domains", "mbox-names", "mboxes"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8186-clk.h>
dsp@10680000 {
    compatible = "mediatek,mt8186-dsp";
    reg = <0x10680000 0x2000>,
          <0x10800000 0x100000>,
          <0x1068b000 0x100>,
          <0x1068f000 0x1000>;
    reg-names = "cfg", "sram", "sec", "bus";
    clocks = <&topckgen CLK_TOP_AUDIODSP>,
             <&topckgen CLK_TOP_ADSP_BUS>;
    clock-names = "audiodsp",
                  "adsp_bus";
    power-domains = <&spm 6>;
    mbox-names = "rx", "tx";
    mboxes = <&adsp_mailbox0>, <&adsp_mailbox1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page