Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / nxp,lpc3220-i2s.yaml
blob40a0877a8aba8215ebc5c0d6c25c6a8f2d7c3b54
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP LPC32XX I2S Controller
9 description:
10   The I2S controller in LPC32XX SoCs, ASoC DAI.
12 maintainers:
13   - J.M.B. Downing <jonathan.downing@nautel.com>
14   - Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>
16 allOf:
17   - $ref: dai-common.yaml#
19 properties:
20   compatible:
21     enum:
22       - nxp,lpc3220-i2s
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   clocks:
31     items:
32       - description: input clock of the peripheral.
34   dmas:
35     items:
36       - description: RX DMA Channel
37       - description: TX DMA Channel
39   dma-names:
40     items:
41       - const: rx
42       - const: tx
44   "#sound-dai-cells":
45     const: 0
47 required:
48   - compatible
49   - reg
50   - interrupts
51   - clocks
52   - dmas
53   - dma-names
54   - '#sound-dai-cells'
56 additionalProperties: false
58 examples:
59   - |
60     #include <dt-bindings/clock/lpc32xx-clock.h>
61     #include <dt-bindings/interrupt-controller/irq.h>
63     i2s@20094000 {
64       compatible = "nxp,lpc3220-i2s";
65       reg = <0x20094000 0x1000>;
66       interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
67       clocks = <&clk LPC32XX_CLK_I2S0>;
68       dmas = <&dma 0 1>, <&dma 13 1>;
69       dma-names = "rx", "tx";
70       #sound-dai-cells = <0>;
71     };
73 ...