Openwrt/target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch

28 lines
663 B
Diff
Raw Normal View History

From 5296d8ff65298091758aa8d50d00539cd3781042 Mon Sep 17 00:00:00 2001
From: Jelle van der Waa <jelle@vdwaa.nl>
Date: Sun, 9 Aug 2015 18:51:22 +0200
Subject: [PATCH] ARM: dts: sun7i: Enable audio codec on pcDuino
Enable the on-chip audio codec
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 +++++
1 file changed, 5 insertions(+)
--- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
@@ -111,6 +111,11 @@
allwinner,pins = "PH2";
};
+
+&codec {
+ status = "okay";
+};
+
&cpu0 {
cpu-supply = <&reg_dcdc2>;
};