From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../167-4-dt-sun7i-add-codec-to-cubietruck.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 target/linux/sunxi/patches-4.1/167-4-dt-sun7i-add-codec-to-cubietruck.patch (limited to 'target/linux/sunxi/patches-4.1/167-4-dt-sun7i-add-codec-to-cubietruck.patch') diff --git a/target/linux/sunxi/patches-4.1/167-4-dt-sun7i-add-codec-to-cubietruck.patch b/target/linux/sunxi/patches-4.1/167-4-dt-sun7i-add-codec-to-cubietruck.patch new file mode 100644 index 0000000..afa42e1 --- /dev/null +++ b/target/linux/sunxi/patches-4.1/167-4-dt-sun7i-add-codec-to-cubietruck.patch @@ -0,0 +1,29 @@ +From 42ac277ad129cf69d5540938c943f6291a7a9898 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Emilio=20L=C3=B3pez?= +Date: Mon, 18 Aug 2014 01:10:05 -0300 +Subject: [PATCH] ARM: sun7i: dt: enable audio codec on Cubietruck + +This commit enables the on-chip audio codec present on the A20 SoC +and outlines the SoC to connector routes for the Cubietruck. + +Signed-off-by: Hans de Goede +--- + arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 7 +++++++ + 1 file changed, 7 insertions(+) + +--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts ++++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +@@ -257,6 +257,13 @@ + + #include "axp209.dtsi" + ++&codec { ++ routing = ++ "Headphone Jack", "HP Left", ++ "Headphone Jack", "HP Right"; ++ status = "okay"; ++}; ++ + &cpu0 { + cpu-supply = <®_dcdc2>; + }; -- cgit v1.2.3