brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 0b5db6b Raw
84 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/sound/fsl,saif.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale MXS Serial Audio Interface (SAIF)8 9maintainers:10  - Lukasz Majewski <lukma@denx.de>11 12allOf:13  - $ref: dai-common.yaml#14 15description:16  The SAIF is based on I2S module that is used to communicate with audio codecs,17  but only with half-duplex manner (i.e. it can either transmit or receive PCM18  audio).19 20properties:21  compatible:22    const: fsl,imx28-saif23 24  reg:25    maxItems: 126 27  "#sound-dai-cells":28    const: 029 30  interrupts:31    maxItems: 132 33  dmas:34    maxItems: 135 36  dma-names:37    const: rx-tx38 39  "#clock-cells":40    description: Configure the I2S device as MCLK clock provider.41    const: 042 43  clocks:44    maxItems: 145 46  fsl,saif-master:47    description: Indicate that saif is a slave and its phandle points to master48    $ref: /schemas/types.yaml#/definitions/phandle49 50required:51  - compatible52  - reg53  - "#sound-dai-cells"54  - interrupts55  - dmas56  - dma-names57  - clocks58 59unevaluatedProperties: false60 61examples:62  - |63    saif0: saif@80042000 {64        compatible = "fsl,imx28-saif";65        reg = <0x80042000 2000>;66        #sound-dai-cells = <0>;67        interrupts = <59>;68        dmas = <&dma_apbx 4>;69        dma-names = "rx-tx";70        #clock-cells = <0>;71        clocks = <&clks 53>;72    };73  - |74    saif1: saif@80046000 {75        compatible = "fsl,imx28-saif";76        reg = <0x80046000 2000>;77        #sound-dai-cells = <0>;78        interrupts = <58>;79        dmas = <&dma_apbx 5>;80        dma-names = "rx-tx";81        clocks = <&clks 53>;82        fsl,saif-master = <&saif0>;83    };84