From af53caee1682b1a85cbae955f8f619a65cc3c8a2 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 20 May 2017 17:40:05 +0300 Subject: [PATCH] Reenable OPi 2 codec --- .../kernel/sun8i-dev/enable-codec-opi-2.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patch/kernel/sun8i-dev/enable-codec-opi-2.patch diff --git a/patch/kernel/sun8i-dev/enable-codec-opi-2.patch b/patch/kernel/sun8i-dev/enable-codec-opi-2.patch new file mode 100644 index 000000000..85c7ccfbc --- /dev/null +++ b/patch/kernel/sun8i-dev/enable-codec-opi-2.patch @@ -0,0 +1,19 @@ +diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +index 50e7e770..16845848 100644 +--- a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts ++++ b/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts +@@ -107,6 +107,14 @@ + }; + }; + ++&codec { ++ allwinner,audio-routing = ++ "Line Out", "LINEOUT", ++ "MIC1", "Mic", ++ "Mic", "MBIAS"; ++ status = "okay"; ++}; ++ + &de { + status = "okay"; + };