Skip to content

Commit e3f2778

Browse files
Marek VasutAlexandre Torgue
authored andcommitted
ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
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: 34e0c78 ("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>
1 parent 9da2bf3 commit e3f2778

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,13 @@
137137

138138
sound {
139139
compatible = "audio-graph-card";
140-
routing =
141-
"MIC_IN", "Capture",
142-
"Capture", "Mic Bias",
143-
"Playback", "HP_OUT";
140+
widgets = "Headphone", "Headphone Jack",
141+
"Line", "Line In Jack",
142+
"Microphone", "Microphone Jack";
143+
routing = "Headphone Jack", "HP_OUT",
144+
"LINE_IN", "Line In Jack",
145+
"MIC_IN", "Microphone Jack",
146+
"Microphone Jack", "Mic Bias";
144147
dais = <&sai2a_port &sai2b_port>;
145148
status = "okay";
146149
};

0 commit comments

Comments
 (0)