Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1494827

[PATCH 11/12] ARM: dts: sun6i: Add audio codec device node

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject [PATCH 11/12] ARM: dts: sun6i: Add audio codec device node
Date 2016-10-03 13:10 +0200
Message-ID <so9ia-48W-19@gated-at.bofh.it> (permalink)
References <so9i9-48W-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The A31 SoC includes the Allwinner audio codec, capable of 24-bit
playback up to 192 kHz and 24-bit capture up to 48 kHz.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/boot/dts/sun6i-a31.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index ce1960453a0b..9024171d3aa8 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -728,6 +728,18 @@
 			reset-names = "ahb";
 		};
 
+		codec: codec@01c22c00 {
+			#sound-dai-cells = <0>;
+			compatible = "allwinner,sun6i-a31-codec";
+			reg = <0x01c22c00 0x98>;
+			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_APB1_CODEC>, <&ccu CLK_CODEC>;
+			clock-names = "apb", "codec";
+			dmas = <&dma 15>, <&dma 15>;
+			dma-names = "rx", "tx";
+			status = "disabled";
+		};
+
 		timer@01c60000 {
 			compatible = "allwinner,sun6i-a31-hstimer",
 				     "allwinner,sun7i-a20-hstimer";
-- 
2.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/12] ASoC: sun4i-codec: Add support for A31 Codec Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 11/12] ARM: dts: sun6i: Add audio codec device node Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 10/12] ASoC: sun4i-codec: Add support for A31 board level audio routing Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
    Re: [PATCH 10/12] ASoC: sun4i-codec: Add support for A31 board level  audio routing Rob Herring <robh@kernel.org> - 2016-10-09 03:40 +0200
  [PATCH 12/12] ARM: dts: sun6i: hummingbird: Enable internal audio codec Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 09/12] ASoC: sun4i-codec: Add support for A31 ADC capture path Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback through headphone output Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
    Re: [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback  through headphone output Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-10-03 13:50 +0200
      Re: [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback  through headphone output Chen-Yu Tsai <wens@csie.org> - 2016-10-04 06:30 +0200
        Re: [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback  through headphone output Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-10-10 12:10 +0200
    Re: [PATCH 05/12] ASoC: sun4i-codec: Add support for A31 playback  through headphone output Rob Herring <robh@kernel.org> - 2016-10-09 03:40 +0200
  [PATCH 07/12] ASoC: sun4i-codec: Add support for A31 Line Out playback Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 08/12] ASoC: sun4i-codec: Add support for A31 analog microphone inputs Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:10 +0200
  [PATCH 01/12] ASoC: dapm: Support second register for DAPM control updates Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:20 +0200
  [PATCH 06/12] ASoC: sun4i-codec: Add support for A31 Line In playback Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:20 +0200
  [PATCH 02/12] ASoC: dapm: Implement stereo mixer control support Chen-Yu Tsai <wens@csie.org> - 2016-10-03 13:20 +0200

csiph-web