1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Codec
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
19 - allwinner,sun4i-a10-codec
20 - allwinner,sun6i-a31-codec
21 - allwinner,sun7i-a20-codec
22 - allwinner,sun8i-a23-codec
23 - allwinner,sun8i-h3-codec
24 - allwinner,sun8i-v3s-codec
34 - description: Bus Clock
35 - description: Module Clock
44 - description: RX DMA Channel
45 - description: TX DMA Channel
55 allwinner,audio-routing:
57 A list of the connections between audio components. Each entry
58 is a pair of strings, the first being the connection's sink, the
59 second being the connection's source.
60 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
65 # Audio Pins on the SoC
74 # Microphone Biases from the SoC
86 allwinner,codec-analog-controls:
87 $ref: /schemas/types.yaml#/definitions/phandle
88 description: Phandle to the codec analog controls in the PRCM
92 description: GPIO to enable the external amplifier
105 - $ref: dai-common.yaml#
110 - allwinner,sun6i-a31-codec
111 - allwinner,sun8i-a23-codec
112 - allwinner,sun8i-h3-codec
113 - allwinner,sun8i-v3s-codec
119 const: allwinner,sun6i-a31-codec
124 - allwinner,audio-routing
129 - allwinner,audio-routing
130 - allwinner,codec-analog-controls
136 - allwinner,sun6i-a31-codec
140 allwinner,audio-routing:
163 - allwinner,sun8i-a23-codec
167 allwinner,audio-routing:
188 - allwinner,sun8i-h3-codec
192 allwinner,audio-routing:
214 - allwinner,sun8i-v3s-codec
218 allwinner,audio-routing:
232 unevaluatedProperties: false
237 #sound-dai-cells = <0>;
238 compatible = "allwinner,sun7i-a20-codec";
239 reg = <0x01c22c00 0x40>;
240 interrupts = <0 30 4>;
241 clocks = <&apb0_gates 0>, <&codec_clk>;
242 clock-names = "apb", "codec";
243 dmas = <&dma 0 19>, <&dma 0 19>;
244 dma-names = "rx", "tx";
249 #sound-dai-cells = <0>;
250 compatible = "allwinner,sun6i-a31-codec";
251 reg = <0x01c22c00 0x98>;
252 interrupts = <0 29 4>;
253 clocks = <&ccu 61>, <&ccu 135>;
254 clock-names = "apb", "codec";
256 dmas = <&dma 15>, <&dma 15>;
257 dma-names = "rx", "tx";
258 allwinner,audio-routing =
260 "Speaker", "LINEOUT",
265 "MIC2", "Headset Mic";