Marvel SSPA Digital Audio Interface
Schema identifier ($id): "http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
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 #
Exact value (const): "marvell,mmp-sspa"
reg — required here #
Array item rules (items) #
Item 1
RX block
Item 2
TX block
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Clock for the Audio block
Item 2
I2S bit clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"audio"
Item 2
Exact value (
const):"bitclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#sound-dai-cells — required here #
Exact value (const): 0
dmas — required here #
Array item rules (items) #
Item 1
TX DMA Channel
Item 2
RX DMA Channel
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
port — required here #
Shared schema rule ($ref): audio-graph-port.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
endpoint — not listed as required here
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
true
Allowed by this rule.
Properties and child nodes (properties)
dai-format — not listed as required here
Exact value (const): "i2s"
Required in this object (required): "#sound-dai-cells", "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/marvell,mmp2.h>
audio-controller@d42a0c00 {
compatible = "marvell,mmp-sspa";
reg = <0xd42a0c00 0x30>,
<0xd42a0c80 0x30>;
interrupts = <2>;
clock-names = "audio", "bitclk";
clocks = <&soc_clocks 127>,
<&audio_clk 1>;
#sound-dai-cells = <0>;
dmas = <&adma0 0>, <&adma0 1>;
dma-names = "tx", "rx";
port {
endpoint {
remote-endpoint = <&rt5631_0>;
dai-format = "i2s";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)