Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / sound / microchip,sama7g5-spdifrx.yaml
blob7fbab5871be4a7b0d50c187789ab9332fce9cb63
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdifrx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip S/PDIF Rx Controller
9 maintainers:
10   - Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
12 description:
13   The Microchip Sony/Philips Digital Interface Receiver is a serial port
14   compliant with the IEC-60958 standard.
16 allOf:
17   - $ref: dai-common.yaml#
19 properties:
20   "#sound-dai-cells":
21     const: 0
23   compatible:
24     const: microchip,sama7g5-spdifrx
26   reg:
27     maxItems: 1
29   interrupts:
30     maxItems: 1
32   clocks:
33     items:
34       - description: Peripheral Bus Clock
35       - description: Generic Clock
37   clock-names:
38     items:
39       - const: pclk
40       - const: gclk
42   dmas:
43     description: RX DMA Channel
44     maxItems: 1
46   dma-names:
47     const: rx
49 required:
50   - "#sound-dai-cells"
51   - compatible
52   - reg
53   - interrupts
54   - clocks
55   - clock-names
56   - dmas
57   - dma-names
59 unevaluatedProperties: false
61 examples:
62   - |
63     #include <dt-bindings/clock/at91.h>
64     #include <dt-bindings/dma/at91.h>
65     #include <dt-bindings/interrupt-controller/arm-gic.h>
67     spdifrx: spdifrx@e1614000 {
68         #sound-dai-cells = <0>;
69         compatible = "microchip,sama7g5-spdifrx";
70         reg = <0xe1614000 0x4000>;
71         interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
72         dmas = <&dma0 AT91_XDMAC_DT_PERID(49)>;
73         dma-names = "rx";
74         clocks = <&pmc PMC_TYPE_PERIPHERAL 84>, <&pmc PMC_TYPE_GCK 84>;
75         clock-names = "pclk", "gclk";
76     };