kernel: update 4.1 to 4.1.5
[openwrt.git] / target / linux / sunxi / patches-4.1 / 167-4-dt-sun7i-add-codec-to-cubietruck.patch
1 From 42ac277ad129cf69d5540938c943f6291a7a9898 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <elopez93@gmail.com>
3 Date: Mon, 18 Aug 2014 01:10:05 -0300
4 Subject: [PATCH] ARM: sun7i: dt: enable audio codec on Cubietruck
5
6 This commit enables the on-chip audio codec present on the A20 SoC
7 and outlines the SoC to connector routes for the Cubietruck.
8
9 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
10 ---
11  arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 7 +++++++
12  1 file changed, 7 insertions(+)
13
14 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
15 +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
16 @@ -257,6 +257,13 @@
17  
18  #include "axp209.dtsi"
19  
20 +&codec {
21 +       routing =
22 +               "Headphone Jack", "HP Left",
23 +               "Headphone Jack", "HP Right";
24 +       status = "okay";
25 +};
26 +
27  &cpu0 {
28         cpu-supply = <&reg_dcdc2>;
29  };