From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 B76303C3C for ; Tue, 31 Oct 2023 07:26:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=trvn.ru header.i=@trvn.ru header.b="rYSirMVW" Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26E37102; Tue, 31 Oct 2023 00:26:53 -0700 (PDT) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id B088940533; Tue, 31 Oct 2023 12:26:50 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1698737211; bh=WJxb7W6rboneHUIuZlHpAeADGZktYloPmkRPQUiY27s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rYSirMVWXHH2P3Ra+u+X0pTHw8ZjSJE3OAncpHPKKMCRwXyuosvBfw4dDLs/YfFaL dJkvEUryIlvyw1ymKfAGubp7kMs1u3sPzGIzpea5sk9TmH2l1G73V9PjmEE+r8kXIW W/jjbWWK9XRWnlhznlHpPlpcLsGGMATLNXvcJvkKD+WwGenpdlJQhmT/RbyWNMaVaO c+URFL7hFZv5/X++fsgqAw7IfHpNvwzxB3Dikh2d9KrpTxWZZB/cujew3VZW4gg2uF e9tcxa1jJTaK8/mMyZI7jtB0YJEP3Kk4NWK4dfrEIqlNRR5xdFIpn7/C1eHIaBiWay AX1bZjWr0s+8w== Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 31 Oct 2023 12:26:50 +0500 From: Nikita Travkin To: Konrad Dybcio Cc: cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: acer-aspire1: Add sound In-Reply-To: References: <20231027-aspire1-sound-v1-0-5ff3cf8b5701@trvn.ru> <20231027-aspire1-sound-v1-3-5ff3cf8b5701@trvn.ru> Message-ID: <8b13ec027d960a09aee9434055a12e15@trvn.ru> X-Sender: nikita@trvn.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Konrad Dybcio писал(а) 31.10.2023 02:51: > On 30.10.2023 22:50, Konrad Dybcio wrote: >> On 27.10.2023 16:42, Nikita Travkin wrote: >>> This laptop has two i2s speakers; an i2s audio codec for the headset >>> jack; two DMIC microphones in the lid and the displayport audio channel. >>> >>> This commit adds the audio node that describes all of the above with the >>> exception of the DMICs that require in-SoC digital codec to be brought >>> up, which will be done later. >>> >>> Note that the displayport channel is connected here for completeness, >>> but the displayport can't be used yet since the HPD signal is created by >>> the embedded controller, which will be added later. >>> >>> Signed-off-by: Nikita Travkin >>> --- >> [...] >> >> >>> + primary-tx-dai-link { >>> + link-name = "Primary MI2S Capture"; >>> + >>> + cpu { >>> + sound-dai = <&q6afedai PRIMARY_MI2S_TX>; >>> + }; >>> + >>> + platform { >>> + sound-dai = <&q6routing>; >>> + }; >>> + >>> + codec { >>> + sound-dai = <&alc5682 0>; >> Both RX and TX going to 5862 interface? > interface1* Yes, indeed. The codec has a single i2s with rx and tx, and shared i2s clocks. They are connected to the prim i2s. Codec playback is headphone jack, and capture is headset mic. It could have also been the lid dmics, like on trogdor but 2/3 describes that sad story... Nikita >> >> Konrad