ARM: dts: logicpd-som-lv: Fix Audio Mute [Linux 4.9.189]

This Linux kernel change "ARM: dts: logicpd-som-lv: Fix Audio Mute" is included in the Linux 4.9.189 release. This change is authored by Adam Ford <aford173 [at] gmail.com> on Tue May 1 08:58:53 2018 -0500. The commit for this change in Linux stable tree is 5f085ef (patch) which is from upstream commit 95e59fc. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream 95e59fc.

ARM: dts: logicpd-som-lv: Fix Audio Mute

[ Upstream commit 95e59fc3c3fa3187a07a75f40b21637deb4bd12d ]

The Audio has worked, but the mute pin has a weak pulldown which alows
some of the audio signal to pass very quietly.  This patch fixes
that so the mute pin is actively driven high for mute or low for normal
operation.

Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic
PD DM3730 SOM-LV")

Signed-off-by: Adam Ford <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm/boot/dts/logicpd-som-lv.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi
index 43035cb..f82f193 100644
--- a/arch/arm/boot/dts/logicpd-som-lv.dtsi
+++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi
@@ -108,6 +108,7 @@
        twl_audio: audio {
            compatible = "ti,twl4030-audio";
            codec {
+               ti,hs_extmute_gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
            };
        };
    };
@@ -225,6 +226,7 @@
        pinctrl-single,pins = <
            OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0)        /* i2c1_scl.i2c1_scl */
            OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0)        /* i2c1_sda.i2c1_sda */
+           OMAP3_CORE1_IOPAD(0x20ba, PIN_OUTPUT | MUX_MODE4)        /* gpmc_ncs6.gpio_57 */
        >;
    };
 };

Leave a Reply

Your email address will not be published. Required fields are marked *