public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: sun4i: Enable cubieboard audio codec
@ 2015-10-22  4:30 Chen-Yu Tsai
  2015-10-22  8:57 ` Maxime Ripard
  0 siblings, 1 reply; 2+ messages in thread
From: Chen-Yu Tsai @ 2015-10-22  4:30 UTC (permalink / raw)
  To: linux-arm-kernel

The cubieboard uses the internal codec to output sound to its mini-jack.
Enable it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---

Hi Maxime,

This patch applies on top of your audio codec DT series.
Tested with 44.1 kHz and 48 kHz mp3 files using mpg123.

ChenYu

---
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 046a84d9719d..710e2ef516a8 100644
--- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
+++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
@@ -83,6 +83,10 @@
 	status = "okay";
 };
 
+&codec {
+	status = "okay";
+};
+
 &cpu0 {
 	cpu-supply = <&reg_dcdc2>;
 };
-- 
2.6.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: sun4i: Enable cubieboard audio codec
  2015-10-22  4:30 [PATCH] ARM: sun4i: Enable cubieboard audio codec Chen-Yu Tsai
@ 2015-10-22  8:57 ` Maxime Ripard
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2015-10-22  8:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Oct 22, 2015 at 12:30:26PM +0800, Chen-Yu Tsai wrote:
> The cubieboard uses the internal codec to output sound to its mini-jack.
> Enable it.
> 
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151022/449cda45/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-22  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22  4:30 [PATCH] ARM: sun4i: Enable cubieboard audio codec Chen-Yu Tsai
2015-10-22  8:57 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox