diff mbox

ARM: sun4i: Enable cubieboard audio codec

Message ID 1445488226-19173-1-git-send-email-wens@csie.org (mailing list archive)
State New, archived
Headers show

Commit Message

Chen-Yu Tsai Oct. 22, 2015, 4:30 a.m. UTC
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(+)

Comments

Maxime Ripard Oct. 22, 2015, 8:57 a.m. UTC | #1
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
diff mbox

Patch

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>;
 };