brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · abb373f Raw
99 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/starfive,jh7110-tdm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: StarFive JH7110 TDM Controller8 9description: |10  The TDM Controller is a Time Division Multiplexed audio interface11  integrated in StarFive JH7110 SoC, allowing up to 8 channels of12  audio over a serial interface. The TDM controller can operate both13  in master and slave mode.14 15maintainers:16  - Walker Chen <walker.chen@starfivetech.com>17 18allOf:19  - $ref: dai-common.yaml#20 21properties:22  compatible:23    enum:24      - starfive,jh7110-tdm25 26  reg:27    maxItems: 128 29  clocks:30    items:31      - description: TDM AHB Clock32      - description: TDM APB Clock33      - description: TDM Internal Clock34      - description: TDM Clock35      - description: Inner MCLK36      - description: TDM External Clock37 38  clock-names:39    items:40      - const: tdm_ahb41      - const: tdm_apb42      - const: tdm_internal43      - const: tdm44      - const: mclk_inner45      - const: tdm_ext46 47  resets:48    items:49      - description: tdm ahb reset line50      - description: tdm apb reset line51      - description: tdm core reset line52 53  dmas:54    items:55      - description: RX DMA Channel56      - description: TX DMA Channel57 58  dma-names:59    items:60      - const: rx61      - const: tx62 63  "#sound-dai-cells":64    const: 065 66required:67  - compatible68  - reg69  - clocks70  - clock-names71  - resets72  - dmas73  - dma-names74  - "#sound-dai-cells"75 76additionalProperties: false77 78examples:79  - |80    tdm@10090000 {81        compatible = "starfive,jh7110-tdm";82        reg = <0x10090000 0x1000>;83        clocks = <&syscrg 184>,84                 <&syscrg 185>,85                 <&syscrg 186>,86                 <&syscrg 187>,87                 <&syscrg 17>,88                 <&tdm_ext>;89        clock-names = "tdm_ahb", "tdm_apb",90                      "tdm_internal", "tdm",91                      "mclk_inner", "tdm_ext";92        resets = <&syscrg 105>,93                 <&syscrg 107>,94                 <&syscrg 106>;95        dmas = <&dma 20>, <&dma 21>;96        dma-names = "rx","tx";97        #sound-dai-cells = <0>;98    };99