brintos

brintos / linux-shallow public Read only

0
0
Text · 2.9 KiB · 6350dfc Raw
119 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/amlogic,aiu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Amlogic AIU audio output controller8 9maintainers:10  - Jerome Brunet <jbrunet@baylibre.com>11 12allOf:13  - $ref: dai-common.yaml#14 15properties:16  $nodename:17    pattern: "^audio-controller@.*"18 19  "#sound-dai-cells":20    const: 221 22  compatible:23    items:24      - enum:25          - amlogic,aiu-gxbb26          - amlogic,aiu-gxl27          - amlogic,aiu-meson828          - amlogic,aiu-meson8b29      - const: amlogic,aiu30 31  clocks:32    items:33      - description: AIU peripheral clock34      - description: I2S peripheral clock35      - description: I2S output clock36      - description: I2S master clock37      - description: I2S mixer clock38      - description: SPDIF peripheral clock39      - description: SPDIF output clock40      - description: SPDIF master clock41      - description: SPDIF master clock multiplexer42 43  clock-names:44    items:45      - const: pclk46      - const: i2s_pclk47      - const: i2s_aoclk48      - const: i2s_mclk49      - const: i2s_mixer50      - const: spdif_pclk51      - const: spdif_aoclk52      - const: spdif_mclk53      - const: spdif_mclk_sel54 55  interrupts:56    items:57      - description: I2S interrupt line58      - description: SPDIF interrupt line59 60  interrupt-names:61    items:62      - const: i2s63      - const: spdif64 65  reg:66    maxItems: 167 68  resets:69    maxItems: 170 71  sound-name-prefix: true72 73required:74  - "#sound-dai-cells"75  - compatible76  - clocks77  - clock-names78  - interrupts79  - interrupt-names80  - reg81  - resets82 83additionalProperties: false84 85examples:86  - |87    #include <dt-bindings/clock/gxbb-clkc.h>88    #include <dt-bindings/interrupt-controller/irq.h>89    #include <dt-bindings/interrupt-controller/arm-gic.h>90    #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h>91 92    aiu: audio-controller@5400 {93        compatible = "amlogic,aiu-gxl", "amlogic,aiu";94        #sound-dai-cells = <2>;95        reg = <0x5400 0x2ac>;96        interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,97                     <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;98        interrupt-names = "i2s", "spdif";99        clocks = <&clkc CLKID_AIU_GLUE>,100                 <&clkc CLKID_I2S_OUT>,101                 <&clkc CLKID_AOCLK_GATE>,102                 <&clkc CLKID_CTS_AMCLK>,103                 <&clkc CLKID_MIXER_IFACE>,104                 <&clkc CLKID_IEC958>,105                 <&clkc CLKID_IEC958_GATE>,106                 <&clkc CLKID_CTS_MCLK_I958>,107                 <&clkc CLKID_CTS_I958>;108        clock-names = "pclk",109                      "i2s_pclk",110                      "i2s_aoclk",111                      "i2s_mclk",112                      "i2s_mixer",113                      "spdif_pclk",114                      "spdif_aoclk",115                      "spdif_mclk",116                      "spdif_mclk_sel";117        resets = <&reset RESET_AIU>;118    };119