Message ID | 20230612173758.286411-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp37601vqr; Mon, 12 Jun 2023 10:54:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+OvaC5aaKdi8daHH3Fhw8fuDCkRhHOj9kCP+Is0kKwULD233lycwnp8kaIuNZRshH3XTP X-Received: by 2002:ac2:520e:0:b0:4f5:fbf6:7de with SMTP id a14-20020ac2520e000000b004f5fbf607demr4188099lfl.6.1686592496188; Mon, 12 Jun 2023 10:54:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686592496; cv=none; d=google.com; s=arc-20160816; b=RccTBgg5n0g1XZf8E7d9V0XrjL9P5gohp+iivF2hIVmT/XPd5wcInw3DFTrtGMBUn0 MUi5rXWL55FFss8POZBU5GTYQ4VOPMko/WoxOmzcvcWKK+qLW4kF0eOS7gOlI8rsQCP7 TkU6r/isprw0ZmsTexghdlU0AeTEzu/0T1VS7aCaQZfqjKizDHUdztCjrFaxz3sy7a2+ VyojN8ga6u14indDJKZYtbrAfCpE7qNe33pQSJPSqKeLtaTaA9KpUi8DtQOno2D7NX3s 5rAxnAA4FOX+yqqiB7hIPgxxv0F1i9QIOiXqKN2/24DdXOmx3QTOoRHIPlBlQeub2r+v Gggg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Pohf3jyshJu2JxNqYLlPYLTjUPMpfwEBoQx4CTKe4VQ=; b=LWOH0nqjflorqvvznE/WXoB83YKF0QH50wO4mNCLRzDSfzDri8/sLCRggJTjCyQb5t XickT8ILSsdn+gwijcdrK7zzKu0i4QZxOHEPs9smYSyXGvIZRbhlhaJ/EaeFjQn848hZ eSE9jl+4067TCl5CcArQZlvm2XxgWw85iGNzaP4wzAf2KModZuB+XTqssJocx8ySeCFU 3BXxQIF6CTpPECUTxqPrwR8QKeRiZkyjXjq5cmiSCcT1KdFGkmQqoRZQJ//0JorKiwHs 8J9M2pfxLatFOxF3K6VGWzBt3IW3svvo7OEB2fRnBkA2JWWzZ5+BBaUPFEDt/Jhu10VQ wX5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BhLuodm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a05640214d400b00518689a7a4csi474480edx.24.2023.06.12.10.54.28; Mon, 12 Jun 2023 10:54:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="BhLuodm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230026AbjFLRi5 (ORCPT <rfc822;rust.linux@gmail.com> + 99 others); Mon, 12 Jun 2023 13:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235027AbjFLRig (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 12 Jun 2023 13:38:36 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 285FE1BC0 for <linux-kernel@vger.kernel.org>; Mon, 12 Jun 2023 10:38:06 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5149aafef44so6594149a12.0 for <linux-kernel@vger.kernel.org>; Mon, 12 Jun 2023 10:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686591484; x=1689183484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Pohf3jyshJu2JxNqYLlPYLTjUPMpfwEBoQx4CTKe4VQ=; b=BhLuodm/lum9Jdxd5Vdrr/qAKrU8z/w4faTouoLjz+Al8yCOr/yXxgpJrx+1bwL721 YXr7Fw/wsrQw5NHtsknWiefmTYLvMDi/SjpRWSc9Z0/K8D7ObEfG16wwwhg7UziT1Ft9 DwBMO+bXlQQjg24+/8y3laS12ROV7Bn57MX4kfzS7HTpuubkjrM8gJg2K4yjpapmmUV7 GUHrnQm5RNeFtp+vGfejS4ZQrOak/r1Lglegh0/TgyJPgJyHMewaLY7tf0H7MaT126o9 FS9eujy7WVci7zo9HLnJYFwTL3qsvEQ1NquJPcHaNJeuxEAlsVTvfDhb4EeK/iiMLN2q 9W5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686591484; x=1689183484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Pohf3jyshJu2JxNqYLlPYLTjUPMpfwEBoQx4CTKe4VQ=; b=O5yTOFNhqLLV5g51grTMe426V5ygzDdKQ/s/+rD99coaTOQYH9By+vYjjENOrmbFz6 ebQib7ktjPwMzF5aFiY3UZsGvhumHNW6gBfPBkgyHWqgHjabcMOlq7/TvVW970fyVPBx xRWKbhjOEEJuDtd2+82YCh8UyHx4Rj+f2TDu/F+1FvfDL+lCr7rk1qra9eVr5YXRkL4y x1cI1Nec4rorGB+SXkDXePIJlvuS7xRWdO36QjmMMTtD6DX+kQF98om6N6ZuyiP6a+y/ SulJ8jOZ5tEoP4BbCc1IkgruuPD9F/x1d8eNUXjYpxgU+xTQRO40CQYxPBnxrBk1J0dN ww3A== X-Gm-Message-State: AC+VfDwblq1vp6MjOSwGSEXLWVBmharjGQJxLW42PVfgDq7DK6e10aL0 Cwy4Wm3giF0kapnLrAaaQ4v58w== X-Received: by 2002:a17:907:9342:b0:973:91f7:508a with SMTP id bv2-20020a170907934200b0097391f7508amr9370903ejc.4.1686591484611; Mon, 12 Jun 2023 10:38:04 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id ks27-20020a170906f85b00b00977eec5bb2csm5454093ejb.156.2023.06.12.10.38.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 10:38:04 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH 1/2] arm64: dts: qcom: sm8550-qrd: add sound card Date: Mon, 12 Jun 2023 19:37:57 +0200 Message-Id: <20230612173758.286411-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768520413621815347?= X-GMAIL-MSGID: =?utf-8?q?1768520413621815347?= |
Series |
[1/2] arm64: dts: qcom: sm8550-qrd: add sound card
|
|
Commit Message
Krzysztof Kozlowski
June 12, 2023, 5:37 p.m. UTC
Add the sound card node with tested playback over WSA8845 speakers and
WCD9385 headset over USB Type-C. The recording links were not tested,
but should be similar to previous platforms.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Bindings for the sound card were not sent to LKML. Work-in-progress is
available here:
https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next
Depends on my previous patch adding WSA8845 speakers:
https://lore.kernel.org/linux-arm-msm/20230608094323.267278-1-krzysztof.kozlowski@linaro.org/T/#t
---
arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 81 +++++++++++++++++++++++++
1 file changed, 81 insertions(+)
Comments
On 12.06.2023 19:37, Krzysztof Kozlowski wrote: > Add the sound card node with tested playback over WSA8845 speakers and > WCD9385 headset over USB Type-C. The recording links were not tested, > but should be similar to previous platforms. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Bindings for the sound card were not sent to LKML. Work-in-progress is > available here: > https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next > > Depends on my previous patch adding WSA8845 speakers: > https://lore.kernel.org/linux-arm-msm/20230608094323.267278-1-krzysztof.kozlowski@linaro.org/T/#t > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 81 +++++++++++++++++++++++++ > 1 file changed, 81 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > index 7ef7079dd640..cb0369fbbc81 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > @@ -97,6 +97,87 @@ pmic_glink_sbu: endpoint { > }; > }; > > + sound { > + compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; > + model = "SM8550-QRD"; > + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", > + "SpkrRight IN", "WSA_SPK2 OUT", > + "IN1_HPHL", "HPHL_OUT", > + "IN2_HPHR", "HPHR_OUT", > + "AMIC2", "MIC BIAS2", > + "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"; > + > + wcd-playback-dai-link { > + link-name = "WCD Playback"; > + > + cpu { > + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; > + }; > + > + codec { > + sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + wcd-capture-dai-link { > + link-name = "WCD Capture"; > + > + cpu { > + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; > + }; > + > + codec { > + sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + wsa-dai-link { > + link-name = "WSA Playback"; > + > + cpu { > + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; > + }; > + > + codec { > + sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + va-dai-link { > + link-name = "VA Capture"; > + > + cpu { > + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; > + }; > + > + codec { > + sound-dai = <&lpass_vamacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + }; > + > vph_pwr: vph-pwr-regulator { > compatible = "regulator-fixed"; > regulator-name = "vph_pwr";
On Mon, 12 Jun 2023 19:37:57 +0200, Krzysztof Kozlowski wrote: > Add the sound card node with tested playback over WSA8845 speakers and > WCD9385 headset over USB Type-C. The recording links were not tested, > but should be similar to previous platforms. > > Applied, thanks! [1/2] arm64: dts: qcom: sm8550-qrd: add sound card commit: 9f5ebcd61009de388af6f66509f2a1169f90dbbe [2/2] arm64: dts: qcom: sm8550-mtp: add sound card commit: 3f01d016cf4b80382f1c1b8ab6bef7aa76dece01 Best regards,
Hi Krzysztof, On 6/12/2023 10:37 AM, Krzysztof Kozlowski wrote: > Add the sound card node with tested playback over WSA8845 speakers and > WCD9385 headset over USB Type-C. The recording links were not tested, > but should be similar to previous platforms. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Bindings for the sound card were not sent to LKML. Work-in-progress is > available here: > https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next Do you plan to send the bindings up? I can send this patch out if you don't have the cycle: https://github.com/krzk/linux/commit/f678691570386a11eb75dceca7291b4e05d981da > > Depends on my previous patch adding WSA8845 speakers: > https://lore.kernel.org/linux-arm-msm/20230608094323.267278-1-krzysztof.kozlowski@linaro.org/T/#t > --- > arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 81 +++++++++++++++++++++++++ > 1 file changed, 81 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > index 7ef7079dd640..cb0369fbbc81 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > @@ -97,6 +97,87 @@ pmic_glink_sbu: endpoint { > }; > }; > > + sound { > + compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; > + model = "SM8550-QRD"; > + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", > + "SpkrRight IN", "WSA_SPK2 OUT", > + "IN1_HPHL", "HPHL_OUT", > + "IN2_HPHR", "HPHR_OUT", > + "AMIC2", "MIC BIAS2", > + "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"; > + > + wcd-playback-dai-link { > + link-name = "WCD Playback"; > + > + cpu { > + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; > + }; > + > + codec { > + sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + wcd-capture-dai-link { > + link-name = "WCD Capture"; > + > + cpu { > + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; > + }; > + > + codec { > + sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + wsa-dai-link { > + link-name = "WSA Playback"; > + > + cpu { > + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; > + }; > + > + codec { > + sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + > + va-dai-link { > + link-name = "VA Capture"; > + > + cpu { > + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; > + }; > + > + codec { > + sound-dai = <&lpass_vamacro 0>; > + }; > + > + platform { > + sound-dai = <&q6apm>; > + }; > + }; > + }; > + > vph_pwr: vph-pwr-regulator { > compatible = "regulator-fixed"; > regulator-name = "vph_pwr";
On 04/11/2023 00:10, Elliot Berman wrote: > Hi Krzysztof, > > On 6/12/2023 10:37 AM, Krzysztof Kozlowski wrote: >> Add the sound card node with tested playback over WSA8845 speakers and >> WCD9385 headset over USB Type-C. The recording links were not tested, >> but should be similar to previous platforms. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> >> --- >> >> Bindings for the sound card were not sent to LKML. Work-in-progress is >> available here: >> https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next > > Do you plan to send the bindings up? I can send this patch out if you don't have the cycle: > > https://github.com/krzk/linux/commit/f678691570386a11eb75dceca7291b4e05d981da The patch itself does not make sense without dependencies. It should be sent after dependencies are sent. Best regards, Krzysztof
On 11/5/2023 4:55 AM, Krzysztof Kozlowski wrote: > On 04/11/2023 00:10, Elliot Berman wrote: >> Hi Krzysztof, >> >> On 6/12/2023 10:37 AM, Krzysztof Kozlowski wrote: >>> Add the sound card node with tested playback over WSA8845 speakers and >>> WCD9385 headset over USB Type-C. The recording links were not tested, >>> but should be similar to previous platforms. >>> >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>> >>> --- >>> >>> Bindings for the sound card were not sent to LKML. Work-in-progress is >>> available here: >>> https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next >> >> Do you plan to send the bindings up? I can send this patch out if you don't have the cycle: >> >> https://github.com/krzk/linux/commit/f678691570386a11eb75dceca7291b4e05d981da > > The patch itself does not make sense without dependencies. It should be > sent after dependencies are sent. > I think the patch makes sense now that the v6.6 sm8550-mtp.dtb is using the compatible: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sm8550-mtp.dts?h=v6.6#n100 - Elliot
On 06/11/2023 18:07, Elliot Berman wrote: > > > On 11/5/2023 4:55 AM, Krzysztof Kozlowski wrote: >> On 04/11/2023 00:10, Elliot Berman wrote: >>> Hi Krzysztof, >>> >>> On 6/12/2023 10:37 AM, Krzysztof Kozlowski wrote: >>>> Add the sound card node with tested playback over WSA8845 speakers and >>>> WCD9385 headset over USB Type-C. The recording links were not tested, >>>> but should be similar to previous platforms. >>>> >>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >>>> >>>> --- >>>> >>>> Bindings for the sound card were not sent to LKML. Work-in-progress is >>>> available here: >>>> https://github.com/krzk/linux/tree/n/audio-wsa884x-on-top-of-wip-sm8450-audio-on-next >>> >>> Do you plan to send the bindings up? I can send this patch out if you don't have the cycle: >>> >>> https://github.com/krzk/linux/commit/f678691570386a11eb75dceca7291b4e05d981da >> >> The patch itself does not make sense without dependencies. It should be >> sent after dependencies are sent. >> > > I think the patch makes sense now that the v6.6 sm8550-mtp.dtb is using the compatible: The dependencies were not sent. Still. But sure, I can send the patch, why not. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index 7ef7079dd640..cb0369fbbc81 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -97,6 +97,87 @@ pmic_glink_sbu: endpoint { }; }; + sound { + compatible = "qcom,sm8550-sndcard", "qcom,sm8450-sndcard"; + model = "SM8550-QRD"; + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", + "SpkrRight IN", "WSA_SPK2 OUT", + "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "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"; + + wcd-playback-dai-link { + link-name = "WCD Playback"; + + cpu { + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; + }; + + codec { + sound-dai = <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + wcd-capture-dai-link { + link-name = "WCD Capture"; + + cpu { + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + codec { + sound-dai = <&wcd938x 1>, <&swr2 0>, <&lpass_txmacro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + wsa-dai-link { + link-name = "WSA Playback"; + + cpu { + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; + }; + + codec { + sound-dai = <&north_spkr>, <&south_spkr>, <&swr0 0>, <&lpass_wsamacro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + va-dai-link { + link-name = "VA Capture"; + + cpu { + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + codec { + sound-dai = <&lpass_vamacro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; + vph_pwr: vph-pwr-regulator { compatible = "regulator-fixed"; regulator-name = "vph_pwr";