]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: qcom: sm8450-hdk: correct AMIC4 and AMIC5 microphones
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 24 Jan 2024 12:18:55 +0000 (13:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:11:07 +0000 (15:11 +0200)
commitc18b24d5c895353adc2271e12f50da5cd1eb3832
treed3fea34b6a985fbc08366c89b0f8a77b090ab8de
parent9cb3755b1e3680b720b74dbedfac889e904605c7
arm64: dts: qcom: sm8450-hdk: correct AMIC4 and AMIC5 microphones

[ Upstream commit 915253bdd64f2372fa5f6c58d75cb99972c7401d ]

Due to lack of documentation the AMIC4 and AMIC5 analogue microphones
were never actually working, so the audio routing for them was added
hoping it is correct.  It turned out not correct - their routing should
point to SWR_INPUT0 (so audio mixer TX SMIC MUX0 = SWR_MIC0) and
SWR_INPUT1 (so audio mixer TX SMIC MUX0 = SWR_MIC1), respectively.  With
proper mixer settings and fixed LPASS TX macr codec TX SMIC MUXn
widgets, this makes all microphones working on HDK8450.

Cc: stable@vger.kernel.org
Fixes: f20cf2bc3f77 ("arm64: dts: qcom: sm8450-hdk: add other analogue microphones")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240124121855.162730-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8450-hdk.dts