From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 04E173FE2D; Mon, 1 Apr 2024 15:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711986553; cv=none; b=iuWZLi6qElF/cIIPFYfoYVN4xxXBL2aq+q0uGWSARxNysONGrGN0MmOhdYacEuLQPnbqJEgJ7UWanVtBzMenTjwx6h46p4Gft4olTOH2u5QhBxswTJe1mQnxMgZ7OYpBLvLlpnnvdaHJzVWzxTzARyvrwrpqYqOP1DGIwz7p9H0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711986553; c=relaxed/simple; bh=OPzPq/rPMAyAvJ3GSyI4kGaZHDbaQRV0xBaE90Ytzt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RT52JFDjq0fTAuuOxSW0c2ozfQdzg6Mx5mHr6idD1kwFtvSwOH1HXeZpwlGzI5jsBxANk6+gN23ToER+JifnP76Nc+jb19z80emrjGfKNnGuUl/7Bx2LI0wbp46G/J61Qb6L0d+bw3xawSC5CqlX3y83qTNSRRAPfBsjJ4XWDjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t0RW5ao8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="t0RW5ao8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D7D2C433B1; Mon, 1 Apr 2024 15:49:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711986552; bh=OPzPq/rPMAyAvJ3GSyI4kGaZHDbaQRV0xBaE90Ytzt4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t0RW5ao8H3lSdYXhFW4us6fGo0du4Lt+3p94PlfZw2MMYS6bMZZXRjh+0keSqIPwS s77bGYD13P4GAH3RmJHuQJPRZNfw3a9J0gBsSkDJoPrPsxFxrTbsdhphZFBMSbHYlZ IRjzkvvnwPSakDDAHbG+K6orIS9dNxcZrPNlTHkA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Krzysztof Kozlowski , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 012/399] arm64: dts: qcom: sm8450-hdk: correct AMIC4 and AMIC5 microphones Date: Mon, 1 Apr 2024 17:39:38 +0200 Message-ID: <20240401152549.515541984@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240401152549.131030308@linuxfoundation.org> References: <20240401152549.131030308@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.8-stable review patch. If anyone has any objections, please let me know. ------------------ From: Krzysztof Kozlowski [ 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 Link: https://lore.kernel.org/r/20240124121855.162730-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index a20d5d76af352..31e74160b8c13 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -938,8 +938,8 @@ &sound { "TX DMIC3", "MIC BIAS1", "TX SWR_INPUT0", "ADC1_OUTPUT", "TX SWR_INPUT1", "ADC2_OUTPUT", - "TX SWR_INPUT2", "ADC3_OUTPUT", - "TX SWR_INPUT3", "ADC4_OUTPUT"; + "TX SWR_INPUT0", "ADC3_OUTPUT", + "TX SWR_INPUT1", "ADC4_OUTPUT"; wcd-playback-dai-link { link-name = "WCD Playback"; -- 2.43.0