kernel: update 4.1 to 4.1.5
[openwrt.git] / target / linux / sunxi / patches-4.1 / 167-3-dt-sun7i-add-codec-to-cubieboard2.patch
1 From f9681320a1c1caed9c899acfefcb308ac7c911d1 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Fri, 1 May 2015 22:39:45 +0200
4 Subject: [PATCH] Add cubieboard2 audio codec
5
6 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
7 ---
8  arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 7 +++++++
9  1 file changed, 7 insertions(+)
10
11 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
12 +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
13 @@ -180,6 +180,13 @@
14  
15  #include "axp209.dtsi"
16  
17 +&codec {
18 +       routing =
19 +               "Headphone Jack", "HP Left",
20 +               "Headphone Jack", "HP Right";
21 +       status = "okay";
22 +};
23 +
24  &cpu0 {
25         cpu-supply = <&reg_dcdc2>;
26  };