brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 63eadc4 Raw
69 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A33 Codec8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11  - Maxime Ripard <mripard@kernel.org>12 13allOf:14  - $ref: dai-common.yaml#15 16properties:17  "#sound-dai-cells":18    minimum: 019    maximum: 120    description:21      A value of 0 is deprecated. When used, it only allows access to22      the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs.23 24  compatible:25    oneOf:26      - items:27          - const: allwinner,sun50i-a64-codec28          - const: allwinner,sun8i-a33-codec29      - const: allwinner,sun8i-a33-codec30 31  reg:32    maxItems: 133 34  interrupts:35    maxItems: 136 37  clocks:38    items:39      - description: Bus Clock40      - description: Module Clock41 42  clock-names:43    items:44      - const: bus45      - const: mod46 47required:48  - "#sound-dai-cells"49  - compatible50  - reg51  - interrupts52  - clocks53  - clock-names54 55unevaluatedProperties: false56 57examples:58  - |59    audio-codec@1c22e00 {60      #sound-dai-cells = <1>;61      compatible = "allwinner,sun8i-a33-codec";62      reg = <0x01c22e00 0x400>;63      interrupts = <0 29 4>;64      clocks = <&ccu 47>, <&ccu 92>;65      clock-names = "bus", "mod";66    };67 68...69