From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/13] ARM: sun7i: Add sunxi codec device node
Date: Wed, 21 Oct 2015 22:53:02 +0200 [thread overview]
Message-ID: <1445460786-18280-10-git-send-email-maxime.ripard@free-electrons.com> (raw)
In-Reply-To: <1445460786-18280-1-git-send-email-maxime.ripard@free-electrons.com>
From: Emilio L?pez <emilio@elopez.com.ar>
The A20 SoC includes the Allwinner audio codec, capable of both 24-bit
playback and capture. This commit adds a device node for it.
Signed-off-by: Emilio L?pez <emilio@elopez.com.ar>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index f4440f6d9621..e02eb720c4fc 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -1216,6 +1216,19 @@
status = "disabled";
};
+ codec: codec at 01c22c00 {
+ #sound-dai-cells = <0>;
+ compatible = "allwinner,sun7i-a20-codec";
+ reg = <0x01c22c00 0x40>;
+ interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+ 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,sun7i-a20-sid";
reg = <0x01c23800 0x200>;
--
2.6.2
next prev 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 ` [PATCH 08/13] ARM: sun5i: Add the Audio codec DT node Maxime Ripard
2015-10-21 20:53 ` Maxime Ripard [this message]
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-10-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