From patchwork Fri Aug 25 17:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 716893 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79BD6C3DA66 for ; Fri, 25 Aug 2023 17:24:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 14710846; Fri, 25 Aug 2023 19:24:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 14710846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1692984290; bh=jgTjHUj7TFqcyTxVQWudplP084wTba8RuCtAcYnZkrQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=CiaDn3gz3w9AiMDIg2hmpTcNoIKXzOByeqzClVBMtsqD39bJjWdLl14E+7Jp+R7rO VgKkzxv8WfGxhUjSXu8fsmrML+byV5xEC6pyB7+CYAeIYvZWbhPY1I4x3mBn7kgUm0 DtGKjIMCd/jNF3Jb6wfCerAPm7eMh/zCTZ+ObzYM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 33110F800AE; Fri, 25 Aug 2023 19:23:38 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 19A2EF800AE; Fri, 25 Aug 2023 19:23:38 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CFCDAF8022B; Fri, 25 Aug 2023 19:23:31 +0200 (CEST) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 90239F800AE for ; Fri, 25 Aug 2023 19:23:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 90239F800AE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=ojBZNwS1 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2bcb50e194dso17261761fa.3 for ; Fri, 25 Aug 2023 10:23:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692984201; x=1693589001; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=mnl0nfGWFMmePo5XhhTAL9r/K3CVNL4Sy0w8+CLGMTs=; b=ojBZNwS1tIBPfR9KCT7+DuZfHjQSi9gx057HfyL1bxEv/FVgb/xHtYFrUPPnG1m5/o nQrCin0K2krR+onwHEF1xgPyttEFGjDjVQHfl31FNsaloNjL+Wj049jv7JjquX6WAWVe xYwo7hpE+PviwbdHTkdnfdYl6dyIL0cieGDpGbxPbCAhreibBV7Crlf2wqvyqTB5wSF8 lcsUXG8GJ1Mc0mLaWCgEnVxdqX8BqkqCydhBK/WuG1M2L382YPV+53107TVVIpRrrAw8 S82/RFb6SczYfJA7MEDArYY43nWVvq4h1LIMnBjrAznIXJLcgHiyzdmzlWFpxtZrupLU mJAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692984201; x=1693589001; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mnl0nfGWFMmePo5XhhTAL9r/K3CVNL4Sy0w8+CLGMTs=; b=XzTPlxJAoj13cY4YKTkOHOllj0Cy7Vxv9u/2xl7sROfgCxWjhEhBYbZEXF+GZEbyMw 9XihMmZ2qx5y69grv/VPh2fT8Py2G6lfwN4m9Y6hXgr13tha2tnxfgVBQM2o2xyhC210 yjw5dQ9xa13yasSgqiHW/N87qwoK07kGGVa0IRHyvZ+MmhaKLCHqzc9C6KDTeBaWFMcj OaRMBrm9xsVP2NMwoJa5WbuJmcr5/Zz6Ryq515UPmG0RMseEB8nKCQrZEUUsPICoLWcO ibPYus3aeMLjlBSXo7taYxh9+2y3OxESbSjN80vL3FMtpOMqgDKBDJJ/rycp8fjx0wlh rTsw== X-Gm-Message-State: AOJu0YwGwffRA4KF54Fup9Bk/Dahy/fhPT0wzMMlArnSYCjl2xUTAWAa mpy4qm4GwftkJaZfuWjQp0r9UtP/P+Zhqr2pJoiBww== X-Google-Smtp-Source: AGHT+IHGRJTTur6Oz9VmbkB/HpCjN3NrWbDfAwaZ4WLBV/xsf6YFnzAq58tMlYQQ98UExDKmW3zL4w== X-Received: by 2002:a2e:8091:0:b0:2b9:55c9:c228 with SMTP id i17-20020a2e8091000000b002b955c9c228mr14001217ljg.27.1692984201324; Fri, 25 Aug 2023 10:23:21 -0700 (PDT) Received: from [192.168.1.101] (abxh59.neoplus.adsl.tpnet.pl. [83.9.1.59]) by smtp.gmail.com with ESMTPSA id n11-20020a2e904b000000b002bcb1e1322asm407647ljg.63.2023.08.25.10.23.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Aug 2023 10:23:21 -0700 (PDT) From: Konrad Dybcio Date: Fri, 25 Aug 2023 19:23:12 +0200 Subject: [PATCH 1/2] ASoC: dt-bindings: qcom,lpass-tx-macro: Add SM6115 MIME-Version: 1.0 Message-Id: <20230825-topic-6115tx-v1-1-ebed201ad54b@linaro.org> References: <20230825-topic-6115tx-v1-0-ebed201ad54b@linaro.org> In-Reply-To: <20230825-topic-6115tx-v1-0-ebed201ad54b@linaro.org> To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai Cc: Marijn Suijten , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692984198; l=1361; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jgTjHUj7TFqcyTxVQWudplP084wTba8RuCtAcYnZkrQ=; b=8UXxWoH+EUI9yNwtTdYkE66s1GCSUJ75tB7slZwxx0H+ZdSdJzBgStNWBOn9OWZKoCIUSmzHj rWmKIH3X6UdDZPNm3LJNPzEr4K1EnBWlgjjKFbx0wKNDr3/e2s4DBNw X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Message-ID-Hash: I7I5IG4VFL63R7ZY3ABLP4E3KAWY44NL X-Message-ID-Hash: I7I5IG4VFL63R7ZY3ABLP4E3KAWY44NL X-MailFrom: konrad.dybcio@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: SM6115 has a TX Macro, requiring an NPL clock, but not DCODEC. Document it. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/qcom,lpass-tx-macro.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml index 4156981fe02b..962701e9eb42 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml @@ -13,6 +13,7 @@ properties: compatible: enum: - qcom,sc7280-lpass-tx-macro + - qcom,sm6115-lpass-tx-macro - qcom,sm8250-lpass-tx-macro - qcom,sm8450-lpass-tx-macro - qcom,sm8550-lpass-tx-macro @@ -97,6 +98,23 @@ allOf: - const: dcodec - const: fsgen + - if: + properties: + compatible: + enum: + - qcom,sm6115-lpass-tx-macro + then: + properties: + clocks: + minItems: 4 + maxItems: 4 + clock-names: + items: + - const: mclk + - const: npl + - const: dcodec + - const: fsgen + - if: properties: compatible: From patchwork Fri Aug 25 17:23:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 716892 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85D57C3DA66 for ; Fri, 25 Aug 2023 17:27:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E244093A; Fri, 25 Aug 2023 19:26:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E244093A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1692984447; bh=+NN8XrEaFBygmo3q/e38Bu/eRF3y7vIEUdBDz81oARw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=d4GWY6gLFDbx8B/l7ikdieAL5T4ohyZugQY5ZYCHGGXDMrHaLnnt4ZKJuPrz5TSto EG8qN1kYkN43dhTYZ2rhIqHGNTaXozHQio1FN11yHvt8qEf53Isgz8sOharlaq5kVV lRFS8Q2qPDfnFrJ5gjAy3OHKV9mGDmw7jMaZKxpA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 36A6BF80557; Fri, 25 Aug 2023 19:25:46 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id DC4CAF80557; Fri, 25 Aug 2023 19:25:45 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7A1A8F800D1; Fri, 25 Aug 2023 19:23:37 +0200 (CEST) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BDA5CF800F5 for ; Fri, 25 Aug 2023 19:23:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BDA5CF800F5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GLVQRR0u Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so17768701fa.2 for ; Fri, 25 Aug 2023 10:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692984202; x=1693589002; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=zgZvHL8hFswLYwPF8AuRbBMK7oSEIDIwPQTcWj9HdOU=; b=GLVQRR0uqz7h3mQtbUDjl9KTg9wErpM6VkLfEbYi5c6RumHoQDQau59jJOZR/a72EL RbR7Tz7YcIWnHUtdHuF/Y47W01Kz2aYojHdPM7AInofd/QaNRKuXjrLG9ZutsVUenVCE 95QiaH6WtlpdnjqMTJpl4gfQ5KpVptXQ4RtHkooUTBK64il+bYztIx5gvR1Nr7L6zl6k of9RBaLaOZYy9qWKiYn+Zeg6ql0rop5CA9J6zzbUoyI8vKePJYvr2IViClxE8TsRLbnX 0K2F4IH0BCU8cu+X6nD2nDuPODM3Tu3RQYYHf0wghvgxsm/m3c8VBqIoEuRFiGHNZlRx 47eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692984202; x=1693589002; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zgZvHL8hFswLYwPF8AuRbBMK7oSEIDIwPQTcWj9HdOU=; b=ioFvmdzoecUd1SG+HDTFTc3s5E6VkR3iItB4t35gp9hYdmzvpxlbLVGLB+3dLCPcpN GPsyyVGpHt9oS1F0y2DpQRdu/5XTheAzvUeH7WFD8fHRJ0Wj1wzJCCDhbutQ1aSF/55G owO7HOu5FnGmQv/GoQtEBFWcP/sUQaahEsOTqD5f4w70vgkVe/xuE9XRAmPfp6d52fym eCFSn9g0PTO7ss7G23WUEvt1EALy/BNsGKI0S/8xpXB144xXNKEzjsUEsasEFnVuV1vX yFEBZ/+LsZksuC8p0V34XZ6em5XtXQeH7lxxb/nBfJZ2ToSmv5B5wPHfoMJiAB4akNms UUsA== X-Gm-Message-State: AOJu0YwEuZ8bOsBP7QFlq8MrEgmXoL+0uHbXI4yu47wK5pTWDpTRhZQM MTU/E8EPt5ycDw0i82TkjeCgVw== X-Google-Smtp-Source: AGHT+IGEWTWl4FE5/sIMoCZYj5tNQhpLyEV1B/4/UDUeu8WyCLiRwN1y6zdZ489KTOTHVvEld8lL/g== X-Received: by 2002:a2e:6a03:0:b0:2bc:d993:b7ba with SMTP id f3-20020a2e6a03000000b002bcd993b7bamr7286415ljc.27.1692984202704; Fri, 25 Aug 2023 10:23:22 -0700 (PDT) Received: from [192.168.1.101] (abxh59.neoplus.adsl.tpnet.pl. [83.9.1.59]) by smtp.gmail.com with ESMTPSA id n11-20020a2e904b000000b002bcb1e1322asm407647ljg.63.2023.08.25.10.23.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Aug 2023 10:23:22 -0700 (PDT) From: Konrad Dybcio Date: Fri, 25 Aug 2023 19:23:13 +0200 Subject: [PATCH 2/2] ASoC: codecs: lpass-tx-macro: Add SM6115 support MIME-Version: 1.0 Message-Id: <20230825-topic-6115tx-v1-2-ebed201ad54b@linaro.org> References: <20230825-topic-6115tx-v1-0-ebed201ad54b@linaro.org> In-Reply-To: <20230825-topic-6115tx-v1-0-ebed201ad54b@linaro.org> To: Srinivas Kandagatla , Banajit Goswami , Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai Cc: Marijn Suijten , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692984198; l=3082; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+NN8XrEaFBygmo3q/e38Bu/eRF3y7vIEUdBDz81oARw=; b=PU8ItgsZg+K3RccuAVuAqM2PAzOyCQhzUKWthiWh3L6UofpAK5W3bKNmtGaPMdLJoFiUUi6zf 3rLk7uFbnPtAvqytAVbHnLiVI7gkllxNwXze/kEeL6zDIkXc/aDdDGR X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Message-ID-Hash: NIZEK26KFOVCCR6FA6ZLOHS74ADCQIB4 X-Message-ID-Hash: NIZEK26KFOVCCR6FA6ZLOHS74ADCQIB4 X-MailFrom: konrad.dybcio@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: SM6115 has a TX macro, which surprisingly doesn't host a SWR master. Conditionally skip the SWR reset sequence on this platform. Signed-off-by: Konrad Dybcio --- sound/soc/codecs/lpass-macro-common.h | 2 ++ sound/soc/codecs/lpass-tx-macro.c | 22 +++++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/sound/soc/codecs/lpass-macro-common.h b/sound/soc/codecs/lpass-macro-common.h index 4eb886565ea3..d3684c7ab930 100644 --- a/sound/soc/codecs/lpass-macro-common.h +++ b/sound/soc/codecs/lpass-macro-common.h @@ -8,6 +8,8 @@ /* NPL clock is expected */ #define LPASS_MACRO_FLAG_HAS_NPL_CLOCK BIT(0) +/* The soundwire block should be internally reset at probe */ +#define LPASS_MACRO_FLAG_RESET_SWR BIT(1) struct lpass_macro { struct device *macro_pd; diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c index 3e33418898e8..82f9873ffada 100644 --- a/sound/soc/codecs/lpass-tx-macro.c +++ b/sound/soc/codecs/lpass-tx-macro.c @@ -2045,15 +2045,19 @@ static int tx_macro_probe(struct platform_device *pdev) if (ret) goto err_fsgen; + /* reset soundwire block */ - regmap_update_bits(tx->regmap, CDC_TX_CLK_RST_CTRL_SWR_CONTROL, - CDC_TX_SWR_RESET_MASK, CDC_TX_SWR_RESET_ENABLE); + if (flags & LPASS_MACRO_FLAG_RESET_SWR) + regmap_update_bits(tx->regmap, CDC_TX_CLK_RST_CTRL_SWR_CONTROL, + CDC_TX_SWR_RESET_MASK, CDC_TX_SWR_RESET_ENABLE); regmap_update_bits(tx->regmap, CDC_TX_CLK_RST_CTRL_SWR_CONTROL, CDC_TX_SWR_CLK_EN_MASK, CDC_TX_SWR_CLK_ENABLE); - regmap_update_bits(tx->regmap, CDC_TX_CLK_RST_CTRL_SWR_CONTROL, - CDC_TX_SWR_RESET_MASK, 0x0); + + if (flags & LPASS_MACRO_FLAG_RESET_SWR) + regmap_update_bits(tx->regmap, CDC_TX_CLK_RST_CTRL_SWR_CONTROL, + CDC_TX_SWR_RESET_MASK, 0x0); ret = devm_snd_soc_register_component(dev, &tx_macro_component_drv, tx_macro_dai, @@ -2158,18 +2162,22 @@ static const struct dev_pm_ops tx_macro_pm_ops = { static const struct of_device_id tx_macro_dt_match[] = { { .compatible = "qcom,sc7280-lpass-tx-macro", + .data = (void *)(LPASS_MACRO_FLAG_HAS_NPL_CLOCK | LPASS_MACRO_FLAG_RESET_SWR), + }, { + .compatible = "qcom,sm6115-lpass-tx-macro", .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK, }, { .compatible = "qcom,sm8250-lpass-tx-macro", - .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK, + .data = (void *)(LPASS_MACRO_FLAG_HAS_NPL_CLOCK | LPASS_MACRO_FLAG_RESET_SWR), }, { .compatible = "qcom,sm8450-lpass-tx-macro", - .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK, + .data = (void *)(LPASS_MACRO_FLAG_HAS_NPL_CLOCK | LPASS_MACRO_FLAG_RESET_SWR), }, { .compatible = "qcom,sm8550-lpass-tx-macro", + .data = (void *)LPASS_MACRO_FLAG_RESET_SWR, }, { .compatible = "qcom,sc8280xp-lpass-tx-macro", - .data = (void *)LPASS_MACRO_FLAG_HAS_NPL_CLOCK, + .data = (void *)(LPASS_MACRO_FLAG_HAS_NPL_CLOCK | LPASS_MACRO_FLAG_RESET_SWR), }, { } };