]> git.hungrycats.org Git - linux/commit
ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
authorMarek Vasut <marex@denx.de>
Tue, 6 Jun 2023 18:01:12 +0000 (20:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:40 +0000 (19:39 +0200)
commitc2cbabe3c04d629a95cc5929b21e37c01c5cc631
treebf343ef836ca1995c9cd12997e56c179831b8f26
parent24e5db294ce611ef1ad8cb36ee958d3cd5c01bd8
ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2

[ Upstream commit e3f2778b1b6ced649bffdc7cbb05b80bb92f2108 ]

The audio routing flow is not correct, the flow should be from source
(second element in the pair) to sink (first element in the pair). The
flow now is from "HP_OUT" to "Playback", where "Playback" is source
and "HP_OUT" is sink, i.e. the direction is swapped and there is no
direct link between the two either.

Fill in the correct routing, where "HP_OUT" supplies the "Headphone Jack",
"Line In Jack" supplies "LINE_IN" input, "Microphone Jack" supplies "MIC_IN"
input and "Mic Bias" supplies "Microphone Jack".

Fixes: 34e0c7847dcf ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi