Apple MCA I2S transceiver
Schema identifier ($id): "http://devicetree.org/schemas/sound/apple,mca.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
MCA is an I2S transceiver peripheral found on M1 and other Apple chips. It is composed of a number of identical clusters which can operate independently or in an interlinked fashion. Up to 6 clusters have been seen on an MCA.
Maintainers (maintainers): "Martin Povišer <povik+lin@cutebit.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"apple,t6020-mca"Item 2
Exact value (
const):"apple,t8103-mca"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"apple,t6000-mca","apple,t8103-mca","apple,t8112-mca"Item 2
Exact value (
const):"apple,mca"
reg — required here #
Array item rules (items) #
Item 1
Register region of the MCA clusters proper
Item 2
Register region of the DMA glue and its FIFOs
interrupts — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
One interrupt per each cluster
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
dmas — required here #
Minimum number of items (minItems): 16
Maximum number of items (maxItems): 24
DMA channels corresponding to the SERDES units in the peripheral. They are listed in groups of four per cluster, and within the group they are given as associated to the TXA, RXA, TXB, RXB units.
dma-names — required here #
Minimum number of items (minItems): 16
Array item rules (items) #
Item 1
Exact value (
const):"tx0a"
Item 2
Exact value (
const):"rx0a"
Item 3
Exact value (
const):"tx0b"
Item 4
Exact value (
const):"rx0b"
Item 5
Exact value (
const):"tx1a"
Item 6
Exact value (
const):"rx1a"
Item 7
Exact value (
const):"tx1b"
Item 8
Exact value (
const):"rx1b"
Item 9
Exact value (
const):"tx2a"
Item 10
Exact value (
const):"rx2a"
Item 11
Exact value (
const):"tx2b"
Item 12
Exact value (
const):"rx2b"
Item 13
Exact value (
const):"tx3a"
Item 14
Exact value (
const):"rx3a"
Item 15
Exact value (
const):"tx3b"
Item 16
Exact value (
const):"rx3b"
Item 17
Exact value (
const):"tx4a"
Item 18
Exact value (
const):"rx4a"
Item 19
Exact value (
const):"tx4b"
Item 20
Exact value (
const):"rx4b"
Item 21
Exact value (
const):"tx5a"
Item 22
Exact value (
const):"rx5a"
Item 23
Exact value (
const):"tx5b"
Item 24
Exact value (
const):"rx5b"
Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b' based on the associated SERDES unit.
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 6
Clusters' input reference clock.
resets — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Minimum number of items (minItems): 5
Maximum number of items (maxItems): 7
First a general power domain for register access, then the power domains of individual clusters for their operation.
#sound-dai-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "dmas", "dma-names", "clocks", "power-domains", "#sound-dai-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mca: i2s@9b600000 {
compatible = "apple,t6000-mca", "apple,mca";
reg = <0x9b600000 0x10000>,
<0x9b200000 0x20000>;
clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>;
power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>,
<&ps_mca2>, <&ps_mca3>;
dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>,
<&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>,
<&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>,
<&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>;
dma-names = "tx0a", "rx0a", "tx0b", "rx0b",
"tx1a", "rx1a", "tx1b", "rx1b",
"tx2a", "rx2a", "tx2b", "rx2b",
"tx3a", "rx3a", "tx3b", "rx3b";
#sound-dai-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 28: Do not add additional SoC to this list.