0f54548dcde0c848a44fc235524619d737cff6ad
[openwrt/staging/yousong.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 diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
12 index 39a51d5..5f9f0b9 100644
13 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
14 +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
15 @@ -84,6 +84,13 @@
16 status = "okay";
17 };
18
19 +&codec {
20 + routing =
21 + "Headphone Jack", "HP Left",
22 + "Headphone Jack", "HP Right";
23 + status = "okay";
24 +};
25 +
26 &cpu0 {
27 cpu-supply = <&reg_dcdc2>;
28 };