Merge tag 'integrity-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / sound / mchp-i2s-mcc.txt
1 * Microchip I2S Multi-Channel Controller
2
3 Required properties:
4 - compatible:     Should be "microchip,sam9x60-i2smcc".
5 - reg:            Should be the physical base address of the controller and the
6                   length of memory mapped region.
7 - interrupts:     Should contain the interrupt for the controller.
8 - dmas:           Should be one per channel name listed in the dma-names property,
9                   as described in atmel-dma.txt and dma.txt files.
10 - dma-names:      Identifier string for each DMA request line in the dmas property.
11                   Two dmas have to be defined, "tx" and "rx".
12 - clocks:         Must contain an entry for each entry in clock-names.
13                   Please refer to clock-bindings.txt.
14 - clock-names:    Should be one of each entry matching the clocks phandles list:
15                   - "pclk" (peripheral clock) Required.
16                   - "gclk" (generated clock) Optional (1).
17
18 Optional properties:
19 - pinctrl-0:      Should specify pin control groups used for this controller.
20 - princtrl-names: Should contain only one value - "default".
21
22
23 (1) : Only the peripheral clock is required. The generated clock is optional
24       and should be set mostly when Master Mode is required.
25
26 Example:
27
28         i2s@f001c000 {
29                 compatible = "microchip,sam9x60-i2smcc";
30                 reg = <0xf001c000 0x100>;
31                 interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>;
32                 dmas = <&dma0
33                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
34                          AT91_XDMAC_DT_PERID(36))>,
35                        <&dma0
36                         (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
37                          AT91_XDMAC_DT_PERID(37))>;
38                 dma-names = "tx", "rx";
39                 clocks = <&i2s_clk>, <&i2s_gclk>;
40                 clock-names = "pclk", "gclk";
41                 pinctrl-names = "default";
42                 pinctrl-0 = <&pinctrl_i2s_default>;
43         };