brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · 76b6f2c Raw
91 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2020 Intel Corporation3%YAML 1.24---5$id: http://devicetree.org/schemas/sound/intel,keembay-i2s.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Intel KeemBay I2S9 10maintainers:11  - Daniele Alessandrelli <daniele.alessandrelli@intel.com>12  - Paul J. Murphy <paul.j.murphy@intel.com>13 14description: |15 Intel KeemBay I2S16 17allOf:18  - $ref: dai-common.yaml#19 20properties:21  compatible:22    enum:23      - intel,keembay-i2s24      - intel,keembay-tdm25      - intel,keembay-hdmi-i2s26 27  "#sound-dai-cells":28    const: 029 30  reg:31    items:32      - description: I2S registers33      - description: I2S gen configuration34 35  reg-names:36    items:37      - const: i2s-regs38      - const: i2s_gen_cfg39 40  interrupts:41    maxItems: 142 43  clocks:44    items:45      - description: Bus Clock46      - description: Module Clock47 48  clock-names:49    items:50      - const: osc51      - const: apb_clk52 53  dmas:54    items:55      - description: DMA TX channel56      - description: DMA RX channel57 58  dma-names:59    items:60      - const: tx61      - const: rx62 63required:64  - compatible65  - "#sound-dai-cells"66  - reg67  - clocks68  - clock-names69  - interrupts70 71unevaluatedProperties: false72 73examples:74  - |75     #include <dt-bindings/interrupt-controller/arm-gic.h>76     #include <dt-bindings/interrupt-controller/irq.h>77     #define KEEM_BAY_PSS_AUX_I2S378     #define KEEM_BAY_PSS_I2S379     i2s3: i2s@20140000 {80         compatible = "intel,keembay-i2s";81         #sound-dai-cells = <0>;82         reg = <0x20140000 0x200>, /* I2S registers */83               <0x202a00a4 0x4>; /* I2S gen configuration */84         reg-names = "i2s-regs", "i2s_gen_cfg";85         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;86         clock-names = "osc", "apb_clk";87         clocks = <&scmi_clk KEEM_BAY_PSS_AUX_I2S3>, <&scmi_clk KEEM_BAY_PSS_I2S3>;88         dmas = <&axi_dma0 29>, <&axi_dma0 33>;89         dma-names = "tx", "rx";90     };91