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 Device Tree Bindings
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.
61 - $ref: /schemas/types.yaml#definitions/non-unique-string-array
66 # Audio Pins on the SoC
75 # Microphone Biases from the SoC
87 allwinner,codec-analog-controls:
88 $ref: /schemas/types.yaml#/definitions/phandle
89 description: Phandle to the codec analog controls in the PRCM
92 description: GPIO to enable the external amplifier
109 - allwinner,sun6i-a31-codec
110 - allwinner,sun8i-a23-codec
111 - allwinner,sun8i-h3-codec
112 - allwinner,sun8i-v3s-codec
118 const: allwinner,sun6i-a31-codec
123 - allwinner,audio-routing
128 - allwinner,audio-routing
129 - allwinner,codec-analog-controls
135 - allwinner,sun6i-a31-codec
139 allwinner,audio-routing:
162 - allwinner,sun8i-a23-codec
166 allwinner,audio-routing:
187 - allwinner,sun8i-h3-codec
191 allwinner,audio-routing:
213 - allwinner,sun8i-v3s-codec
217 allwinner,audio-routing:
231 additionalProperties: false
236 #sound-dai-cells = <0>;
237 compatible = "allwinner,sun7i-a20-codec";
238 reg = <0x01c22c00 0x40>;
239 interrupts = <0 30 4>;
240 clocks = <&apb0_gates 0>, <&codec_clk>;
241 clock-names = "apb", "codec";
242 dmas = <&dma 0 19>, <&dma 0 19>;
243 dma-names = "rx", "tx";
248 #sound-dai-cells = <0>;
249 compatible = "allwinner,sun6i-a31-codec";
250 reg = <0x01c22c00 0x98>;
251 interrupts = <0 29 4>;
252 clocks = <&ccu 61>, <&ccu 135>;
253 clock-names = "apb", "codec";
255 dmas = <&dma 15>, <&dma 15>;
256 dma-names = "rx", "tx";
257 allwinner,audio-routing =
259 "Speaker", "LINEOUT",
264 "MIC2", "Headset Mic";