~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/apple,mca.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/sound/apple,mca.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Apple MCA I2S transceiver
  8 
  9 description: |
 10   MCA is an I2S transceiver peripheral found on M1 and other Apple chips. It is
 11   composed of a number of identical clusters which can operate independently
 12   or in an interlinked fashion. Up to 6 clusters have been seen on an MCA.
 13 
 14 maintainers:
 15   - Martin PoviĊĦer <povik+lin@cutebit.org>
 16 
 17 allOf:
 18   - $ref: dai-common.yaml#
 19 
 20 properties:
 21   compatible:
 22     items:
 23       - enum:
 24           - apple,t6000-mca
 25           - apple,t8103-mca
 26           - apple,t8112-mca
 27       - const: apple,mca
 28 
 29   reg:
 30     items:
 31       - description: Register region of the MCA clusters proper
 32       - description: Register region of the DMA glue and its FIFOs
 33 
 34   interrupts:
 35     minItems: 4
 36     maxItems: 6
 37     description:
 38       One interrupt per each cluster
 39 
 40   '#address-cells':
 41     const: 1
 42 
 43   '#size-cells':
 44     const: 0
 45 
 46   dmas:
 47     minItems: 16
 48     maxItems: 24
 49     description:
 50       DMA channels corresponding to the SERDES units in the peripheral. They are
 51       listed in groups of four per cluster, and within the group they are given
 52       as associated to the TXA, RXA, TXB, RXB units.
 53 
 54   dma-names:
 55     minItems: 16
 56     items:
 57       - const: tx0a
 58       - const: rx0a
 59       - const: tx0b
 60       - const: rx0b
 61       - const: tx1a
 62       - const: rx1a
 63       - const: tx1b
 64       - const: rx1b
 65       - const: tx2a
 66       - const: rx2a
 67       - const: tx2b
 68       - const: rx2b
 69       - const: tx3a
 70       - const: rx3a
 71       - const: tx3b
 72       - const: rx3b
 73       - const: tx4a
 74       - const: rx4a
 75       - const: tx4b
 76       - const: rx4b
 77       - const: tx5a
 78       - const: rx5a
 79       - const: tx5b
 80       - const: rx5b
 81     description: |
 82       Names for the DMA channels: 'tx'/'rx', then cluster number, then 'a'/'b'
 83       based on the associated SERDES unit.
 84 
 85   clocks:
 86     minItems: 4
 87     maxItems: 6
 88     description:
 89       Clusters' input reference clock.
 90 
 91   resets:
 92     maxItems: 1
 93 
 94   power-domains:
 95     minItems: 5
 96     maxItems: 7
 97     description:
 98       First a general power domain for register access, then the power
 99       domains of individual clusters for their operation.
100 
101   '#sound-dai-cells':
102     const: 1
103 
104 required:
105   - compatible
106   - reg
107   - dmas
108   - dma-names
109   - clocks
110   - power-domains
111   - '#sound-dai-cells'
112 
113 unevaluatedProperties: false
114 
115 examples:
116   - |
117     mca: i2s@9b600000 {
118       compatible = "apple,t6000-mca", "apple,mca";
119       reg = <0x9b600000 0x10000>,
120             <0x9b200000 0x20000>;
121 
122       clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>;
123       power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>,
124                       <&ps_mca2>, <&ps_mca3>;
125       dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>,
126              <&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>,
127              <&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>,
128              <&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>;
129       dma-names = "tx0a", "rx0a", "tx0b", "rx0b",
130                   "tx1a", "rx1a", "tx1b", "rx1b",
131                   "tx2a", "rx2a", "tx2b", "rx2b",
132                   "tx3a", "rx3a", "tx3b", "rx3b";
133 
134       #sound-dai-cells = <1>;
135     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php