sunxi: initial 4.4 support
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.4 / 150-dt-sun7i-enable-codec-on-pcduino3.patch
1 From 5296d8ff65298091758aa8d50d00539cd3781042 Mon Sep 17 00:00:00 2001
2 From: Jelle van der Waa <jelle@vdwaa.nl>
3 Date: Sun, 9 Aug 2015 18:51:22 +0200
4 Subject: [PATCH] ARM: dts: sun7i: Enable audio codec on pcDuino
5
6 Enable the on-chip audio codec
7
8 Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 ---
11 arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 5 +++++
12 1 file changed, 5 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
15 index 861a4a6..067f365 100644
16 --- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
17 +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
18 @@ -111,6 +111,11 @@
19 allwinner,pins = "PH2";
20 };
21
22 +
23 +&codec {
24 + status = "okay";
25 +};
26 +
27 &cpu0 {
28 cpu-supply = <&reg_dcdc2>;
29 };