arm64: dts: qcom: sm8550-qrd: add correct analogue microphones
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 24 Jan 2024 16:45:04 +0000 (17:45 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Feb 2024 21:57:55 +0000 (15:57 -0600)
Add proper audio routes for onboard analogue microphones AMIC[1345] -
MIC biases and route from TX macro codec to WCD9385 audio codec.

This finally brings AMIC1, AMIC3, AMIC4 and AMIC5 onboard microphones to
work.  AMIC2 (headphones) should be fine well, however it didn't work
during tests, probably because of incomplete USB switch.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240124164505.293202-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8550-qrd.dts

index ba8d8ff76682b47e5a308dfd4c3ae7eb18f4079c..92f0150174187dab2d5194041838b4c4eac49e90 100644 (file)
                                "SpkrRight IN", "WSA_SPK2 OUT",
                                "IN1_HPHL", "HPHL_OUT",
                                "IN2_HPHR", "HPHR_OUT",
+                               "AMIC1", "MIC BIAS1",
                                "AMIC2", "MIC BIAS2",
+                               "AMIC3", "MIC BIAS3",
+                               "AMIC4", "MIC BIAS3",
+                               "AMIC5", "MIC BIAS4",
                                "VA DMIC0", "MIC BIAS1",
                                "VA DMIC1", "MIC BIAS1",
                                "VA DMIC2", "MIC BIAS3",
                                "TX DMIC0", "MIC BIAS1",
                                "TX DMIC1", "MIC BIAS2",
                                "TX DMIC2", "MIC BIAS3",
-                               "TX SWR_ADC1", "ADC2_OUTPUT";
+                               "TX SWR_INPUT0", "ADC1_OUTPUT",
+                               "TX SWR_INPUT1", "ADC2_OUTPUT",
+                               "TX SWR_INPUT0", "ADC3_OUTPUT",
+                               "TX SWR_INPUT1", "ADC4_OUTPUT";
 
                wcd-playback-dai-link {
                        link-name = "WCD Playback";