]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: imx6q-logicpd: Enable Analog audio capture
authorAdam Ford <aford173@gmail.com>
Tue, 2 Apr 2019 19:25:45 +0000 (14:25 -0500)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Apr 2019 05:44:00 +0000 (13:44 +0800)
The original submission had functional audio out and was based
on reviewing other boards using the same wm8962 codec. However,
the Logic PD board uses an analog microphone which was being
disabled for a digital mic.  This patch corrects that and
explicitly sets the gpio-cfg pins all to 0x0000 which allows the
analog microphone to capture audio.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6-logicpd-baseboard.dtsi

index fb01fa6e422442e00bf087dcd73843ca4d22cba5..12b18c801b98444b2491f89d3c15c30d0183a147 100644 (file)
                gpio-cfg = <
                        0x0000 /* 0:Default */
                        0x0000 /* 1:Default */
-                       0x0013 /* 2:FN_DMICCLK */
+                       0x0000 /* 2:FN_DMICCLK */
                        0x0000 /* 3:Default */
-                       0x8014 /* 4:FN_DMICCDAT */
+                       0x0000 /* 4:FN_DMICCDAT */
                        0x0000 /* 5:Default */
                >;
        };