aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-01-09 16:20:39 +0000
committerZoltan Herpai <wigyori@uid0.hu>2016-01-09 16:20:39 +0000
commita6611a92d5f4d3bab43feb1abf36924caf3ecc87 (patch)
treebb29022fd41ba5d5bae6022bfab6f48d2c2da574 /target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch
parent24894e52bc688844dfc96fc80073f2ac3196f992 (diff)
downloadupstream-a6611a92d5f4d3bab43feb1abf36924caf3ecc87.tar.gz
upstream-a6611a92d5f4d3bab43feb1abf36924caf3ecc87.tar.bz2
upstream-a6611a92d5f4d3bab43feb1abf36924caf3ecc87.zip
sunxi: initial 4.4 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48161
Diffstat (limited to 'target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch')
-rw-r--r--target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch b/target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch
new file mode 100644
index 0000000000..c0d9660100
--- /dev/null
+++ b/target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch
@@ -0,0 +1,29 @@
+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(+)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+index 861a4a6..067f365 100644
+--- 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>;
+ };