Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2405210pxb; Fri, 8 Oct 2021 07:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzu/aEwO3MsQFp+W3RjbtAqTKECT7uyl/s18CqE1mKbHqtEixwpOHce37psSWyMU6TPS5Qs X-Received: by 2002:a17:90b:1e4a:: with SMTP id pi10mr12200977pjb.142.1633702296321; Fri, 08 Oct 2021 07:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633702296; cv=none; d=google.com; s=arc-20160816; b=P6YNS1SqFwWWSll+75xeGsnfL11fbmUOzNwWHK7NU1mXSM1Ekm1dqkwT6DSaXevidp UW4nkEWqv1TyEUbWXjuuitG57PTUh5Ifjse+hTMy6msNTMPZf4eIOOey8umAnSMNuiwZ +eNpB2y8TyyZ4Ewxhys+LDAaQb026ZTHD+6dSmHUJn8TgxwrRS6P9xcCZ22Zq8di/8lz Z+Jb2W1aUTdDMzvjyJJbI4CmWevr1qKlD2GfrHvJz5iKR5QoaavMO6W566i9OvqB1OOd Aq2L2aY7oIJlMwecXMXELCT3wAOsp0//ooV13UGe0g/C9GBH/OsVM1gYEuyjl3BcgRH5 tDyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=SC92tqAiXIatevo8gHRyiE/+liMd326uh3pl6uyXGiE=; b=KOs+tXE+mFyKx1OiZeEdVBhuRB7Uj4EoazAE5CEUxhDumSk21wmIYNCw7PndcYOvh1 KVDftfAFaNzk9Hf6U+pJqPwDYDYg5bZ5fYDs76uLbA4F3kOKJ/7jBh+rT+cJBuQGngM1 KHPNNlcxkntgYuBhHZNNSMclI+RhZWzsvTE5RLqU+QgctVNW06qU095R7CluAoevD5h7 MOA7p5uVsLu+tIb8D0DZIgeAk+Av5a9SzMsd4Cdks7oTaP/6MqmFwR77ccqXwarEGEw0 5cUI9XY4GIxfPBCvvqCWEUfQS0B6ziP/UwuJb4h8nyaQ9ZzIbO6vqkyaEXGWADdNSh6H WdIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="Sx60XR/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si13650334pjk.111.2021.10.08.07.11.18; Fri, 08 Oct 2021 07:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="Sx60XR/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242095AbhJHOLy (ORCPT + 99 others); Fri, 8 Oct 2021 10:11:54 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:20990 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240847AbhJHOLu (ORCPT ); Fri, 8 Oct 2021 10:11:50 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1633702195; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=SC92tqAiXIatevo8gHRyiE/+liMd326uh3pl6uyXGiE=; b=Sx60XR/Jf2O4Xm67RYeAkjQDylPrKpnL5hUOorgQheFs8DIA7L/4ec9137JxjjNyb2/C4gqN Wql/ofkzAOQeO/a/SwkhJNX5sEQTaVUXusrLDVhS0824wU1DsHbHCyB/DwTj+qizdSN3GkhK GUpXpyoRlxvkQXODV1wdoK905ok= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 6160512403355859c8fc58a7 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 08 Oct 2021 14:09:40 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id ECB5CC43616; Fri, 8 Oct 2021 14:09:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hu-srivasam-hyd.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 83114C4360C; Fri, 8 Oct 2021 14:09:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 83114C4360C Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org Cc: Srinivasa Rao Mandadapu , Venkata Prasad Potturu Subject: [PATCH v3 3/5] ASoC: codecs: tx-macro: Enable tx top soundwire mic clock Date: Fri, 8 Oct 2021 19:39:02 +0530 Message-Id: <1633702144-19017-4-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633702144-19017-1-git-send-email-srivasam@codeaurora.org> References: <1633702144-19017-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable tx path soundwire mic0 and mic1 clock. Signed-off-by: Venkata Prasad Potturu Signed-off-by: Srinivasa Rao Mandadapu --- sound/soc/codecs/lpass-tx-macro.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c index 5dcae73..d472af1 100644 --- a/sound/soc/codecs/lpass-tx-macro.c +++ b/sound/soc/codecs/lpass-tx-macro.c @@ -1674,6 +1674,9 @@ static int tx_macro_component_probe(struct snd_soc_component *comp) snd_soc_component_update_bits(comp, CDC_TX0_TX_PATH_SEC7, 0x3F, 0x0A); + /* Enable swr mic0 and mic1 clock */ + snd_soc_component_update_bits(comp, CDC_TX_TOP_CSR_SWR_AMIC0_CTL, 0xFF, 0x00); + snd_soc_component_update_bits(comp, CDC_TX_TOP_CSR_SWR_AMIC1_CTL, 0xFF, 0x00); return 0; } -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.