public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 08/13] ARM: sun5i: Add the Audio codec DT node
Date: Wed, 21 Oct 2015 22:53:01 +0200	[thread overview]
Message-ID: <1445460786-18280-9-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1445460786-18280-1-git-send-email-maxime.ripard@free-electrons.com>

The A13 and A10s also have the audio codec present. List it in the device
tree.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun5i.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi
index 17a6b7d58fbf..59a9426e3bd4 100644
--- a/arch/arm/boot/dts/sun5i.dtsi
+++ b/arch/arm/boot/dts/sun5i.dtsi
@@ -589,6 +589,19 @@
 			status = "disabled";
 		};
 
+		codec: codec at 01c22c00 {
+			#sound-dai-cells = <0>;
+			compatible = "allwinner,sun4i-a10-codec";
+			reg = <0x01c22c00 0x40>;
+			interrupts = <30>;
+			clocks = <&apb0_gates 0>, <&codec_clk>;
+			clock-names = "apb", "codec";
+			dmas = <&dma SUN4I_DMA_NORMAL 19>,
+			       <&dma SUN4I_DMA_NORMAL 19>;
+			dma-names = "rx", "tx";
+			status = "disabled";
+		};
+
 		sid: eeprom at 01c23800 {
 			compatible = "allwinner,sun4i-a10-sid";
 			reg = <0x01c23800 0x10>;
-- 
2.6.2

  parent reply	other threads:[~2015-10-21 20:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 20:52 [PATCH 00/13] ARM: sunxi: Enable the audio codec Maxime Ripard
2015-10-21 20:52 ` [PATCH 01/13] ARM: sun4i: Add audio PLL Maxime Ripard
2015-10-21 20:52 ` [PATCH 02/13] ARM: sun5i: " Maxime Ripard
2015-10-21 20:52 ` [PATCH 03/13] ARM: sun7i: " Maxime Ripard
2015-10-21 20:52 ` [PATCH 04/13] ARM: sun4i: Add audio codec clock Maxime Ripard
2015-10-21 20:52 ` [PATCH 05/13] ARM: sun5i: " Maxime Ripard
2015-10-21 20:52 ` [PATCH 06/13] ARM: sun7i: " Maxime Ripard
2015-10-21 20:53 ` [PATCH 07/13] ARM: sun4i: Add sunxi codec device node Maxime Ripard
2015-10-21 20:53 ` Maxime Ripard [this message]
2015-10-21 20:53 ` [PATCH 09/13] ARM: sun7i: " Maxime Ripard
2015-10-21 20:53 ` [PATCH 10/13] ARM: sun7i: dt: enable audio codec on Cubietruck Maxime Ripard
2015-10-22  3:41   ` Chen-Yu Tsai
2015-10-21 20:53 ` [PATCH 11/13] ARM: sun7i: Enable cubieboard2 audio codec Maxime Ripard
2015-10-22  4:27   ` Chen-Yu Tsai
2015-10-22  8:54     ` Maxime Ripard
2015-10-21 20:53 ` [PATCH 12/13] ARM: sun4i: Enable audio-codec on Mele A1000 Maxime Ripard
2015-10-21 20:53 ` [PATCH 13/13] ARM: sun5i: chip: Enable the audio codec Maxime Ripard
2015-10-22  3:43 ` [PATCH 00/13] ARM: sunxi: " Chen-Yu Tsai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445460786-18280-9-git-send-email-maxime.ripard@free-electrons.com \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox