brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 4702c52 Raw
79 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/microchip,sama7g5-spdiftx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip S/PDIF Tx Controller8 9maintainers:10  - Codrin Ciubotariu <codrin.ciubotariu@microchip.com>11 12description:13  The Microchip Sony/Philips Digital Interface Transmitter is a serial port14  compliant with the IEC-60958 standard.15 16allOf:17  - $ref: dai-common.yaml#18 19properties:20  "#sound-dai-cells":21    const: 022 23  compatible:24    const: microchip,sama7g5-spdiftx25 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  clocks:33    items:34      - description: Peripheral Bus Clock35      - description: Generic Clock36 37  clock-names:38    items:39      - const: pclk40      - const: gclk41 42  dmas:43    description: TX DMA Channel44    maxItems: 145 46  dma-names:47    const: tx48 49required:50  - "#sound-dai-cells"51  - compatible52  - reg53  - interrupts54  - clocks55  - clock-names56  - dmas57  - dma-names58 59unevaluatedProperties: false60 61examples:62  - |63    #include <dt-bindings/clock/at91.h>64    #include <dt-bindings/dma/at91.h>65    #include <dt-bindings/interrupt-controller/arm-gic.h>66 67    spdiftx@e1618000 {68        #sound-dai-cells = <0>;69        compatible = "microchip,sama7g5-spdiftx";70        reg = <0xe1618000 0x4000>;71        interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;72        dmas = <&dma0 AT91_XDMAC_DT_PERID(50)>;73        dma-names = "tx";74        clocks = <&pmc PMC_TYPE_PERIPHERAL 85>, <&pmc PMC_TYPE_GCK 85>;75        clock-names = "pclk", "gclk";76        pinctrl-names = "default";77        pinctrl-0 = <&pinctrl_spdiftx_default>;78    };79