brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · e2b4db6 Raw
77 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-pwmdac.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: StarFive JH7110 PWM-DAC Controller8 9description:10  The PWM-DAC Controller uses PWM square wave generators plus RC filters to11  form a DAC for audio play in StarFive JH7110 SoC. This audio play controller12  supports 16 bit audio format, up to 48K sampling frequency, up to left and13  right dual channels.14 15maintainers:16  - Hal Feng <hal.feng@starfivetech.com>17 18allOf:19  - $ref: dai-common.yaml#20 21properties:22  compatible:23    const: starfive,jh7110-pwmdac24 25  reg:26    maxItems: 127 28  clocks:29    items:30      - description: PWMDAC APB31      - description: PWMDAC CORE32 33  clock-names:34    items:35      - const: apb36      - const: core37 38  resets:39    maxItems: 140    description: PWMDAC APB41 42  dmas:43    maxItems: 144    description: TX DMA Channel45 46  dma-names:47    const: tx48 49  "#sound-dai-cells":50    const: 051 52required:53  - compatible54  - reg55  - clocks56  - clock-names57  - resets58  - dmas59  - dma-names60  - "#sound-dai-cells"61 62additionalProperties: false63 64examples:65  - |66    pwmdac@100b0000 {67        compatible = "starfive,jh7110-pwmdac";68        reg = <0x100b0000 0x1000>;69        clocks = <&syscrg 157>,70                 <&syscrg 158>;71        clock-names = "apb", "core";72        resets = <&syscrg 96>;73        dmas = <&dma 22>;74        dma-names = "tx";75        #sound-dai-cells = <0>;76    };77