aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-11-25 07:34:40 -0500
committerMark Brown <broonie@kernel.org>2016-11-30 13:06:51 -0500
commit4a15b24a65f13778f7616ad0a65be78d8ec0b45a (patch)
tree6ae66439832fbe7b0ac5ea5aac8de2b46d47db1a /Documentation
parentdac5f86bc9e60eae87a28512f025362d1e2574e3 (diff)
ASoC: sun4i-codec: Add support for H3 codec
The codec on the H3 is similar to the one found on the A31. One key difference is the analog path controls are routed through the PRCM block. This is supported by the sun8i-codec-analog driver, and tied into this codec driver with the audio card's aux_dev. In addition, the H3 has no HP (headphone) and HBIAS support, and no MIC3 input. The FIFO related registers are slightly rearranged. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/sun4i-codec.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sun4i-codec.txt b/Documentation/devicetree/bindings/sound/sun4i-codec.txt
index f7a548b604fc..3033bd8aab0f 100644
--- a/Documentation/devicetree/bindings/sound/sun4i-codec.txt
+++ b/Documentation/devicetree/bindings/sound/sun4i-codec.txt
@@ -6,6 +6,7 @@ Required properties:
6 - "allwinner,sun6i-a31-codec" 6 - "allwinner,sun6i-a31-codec"
7 - "allwinner,sun7i-a20-codec" 7 - "allwinner,sun7i-a20-codec"
8 - "allwinner,sun8i-a23-codec" 8 - "allwinner,sun8i-a23-codec"
9 - "allwinner,sun8i-h3-codec"
9- reg: must contain the registers location and length 10- reg: must contain the registers location and length
10- interrupts: must contain the codec interrupt 11- interrupts: must contain the codec interrupt
11- dmas: DMA channels for tx and rx dma. See the DMA client binding, 12- dmas: DMA channels for tx and rx dma. See the DMA client binding,
@@ -23,6 +24,7 @@ Optional properties:
23Required properties for the following compatibles: 24Required properties for the following compatibles:
24 - "allwinner,sun6i-a31-codec" 25 - "allwinner,sun6i-a31-codec"
25 - "allwinner,sun8i-a23-codec" 26 - "allwinner,sun8i-a23-codec"
27 - "allwinner,sun8i-h3-codec"
26- resets: phandle to the reset control for this device 28- resets: phandle to the reset control for this device
27- allwinner,audio-routing: A list of the connections between audio components. 29- allwinner,audio-routing: A list of the connections between audio components.
28 Each entry is a pair of strings, the first being the 30 Each entry is a pair of strings, the first being the
@@ -52,6 +54,7 @@ Required properties for the following compatibles:
52 54
53Required properties for the following compatibles: 55Required properties for the following compatibles:
54 - "allwinner,sun8i-a23-codec" 56 - "allwinner,sun8i-a23-codec"
57 - "allwinner,sun8i-h3-codec"
55- allwinner,codec-analog-controls: A phandle to the codec analog controls 58- allwinner,codec-analog-controls: A phandle to the codec analog controls
56 block in the PRCM. 59 block in the PRCM.
57 60