Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp571723imn; Thu, 28 Jul 2022 09:12:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHZ9Q/X1RGUbIc67xhTtlDkEPqx9uo/tSfBfqGRqlAqwQRdZz25NjBtyb+kGcAGkSXWjR/ X-Received: by 2002:a17:907:728d:b0:72f:38d0:b8ae with SMTP id dt13-20020a170907728d00b0072f38d0b8aemr22279294ejc.30.1659024770940; Thu, 28 Jul 2022 09:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659024770; cv=none; d=google.com; s=arc-20160816; b=r2kwBJPkbGbiU8CaFn5svlxJoQJoko2k+USuXoU5hQWjSwGxHSIdzIJTVnXLHjNNY/ 2cv3atOFgNcrae0N2ugQ3eW3NBOLb7jLb8HUWwPGlcWZXv8w/Uf44z2YY3/dZWUf/Ua6 3dAyAoCVY1ar7CipAZzmzjUGnqEL37sHgZV+iTi+SK9X8ZJoLSfXQJo/GJdZJ1gW5QN+ D5qRD4RST56eyhFS4D1q/cWeCwdNjqG63GWvbESKyLPWQ0bc2n83CwvzdovKhpmDaDxv A/Y7WNuT4rWKG9hpHXrYr/unMdAsADOMDck+zHUlgfkiAkHu4DeKNlRfY5CyGgaRVcY0 C5Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=X9/vv1OubhiRjvTagiSFmkEub0PKOyPJQmKKSarsRW0=; b=pB+gZ9/2UbXrlcQDp431UIu96D1uEZvL+nQZlpUnu6ifDy3rkHo731EU3IP9WHqzoZ VF77iDqWX5wKAhLxu1SBmiL9S494eACDDFJJhmQJXaynawlcdd+FsFTJBhzQ1zUCMISq yA9A5b+qsBcS0iVH/ONxOLdpuHy9b5MOTEIyaM/5n8vYx/mLvCe6WyZkgMklbHX3+wWC dsl5AlpUyfWqRsezlthz7a1cU2TEcaIUF7ysoek8toL6oApyX2w7OeshY3wcfsqg8Jeg VF2S4GtmMqjfXrXSm+7KqNGZhKDIjf2x1s6dfWbt8ZLApXkJuAgi4w8OxX0XqAVt9Cp3 h5bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=OnVB1ttL; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f39-20020a05640232a700b0043c1802a7b1si1001446eda.588.2022.07.28.09.12.25; Thu, 28 Jul 2022 09:12:50 -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=@quicinc.com header.s=qcdkim header.b=OnVB1ttL; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231205AbiG1QKM (ORCPT + 99 others); Thu, 28 Jul 2022 12:10:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiG1QKJ (ORCPT ); Thu, 28 Jul 2022 12:10:09 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E8CCD; Thu, 28 Jul 2022 09:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1659024606; x=1690560606; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=X9/vv1OubhiRjvTagiSFmkEub0PKOyPJQmKKSarsRW0=; b=OnVB1ttLWNXi/CcYLZ9o9y4qyXBLrvgPzkHNHX5T7g/A1jG2JSTNsvyT VPK/gAuGIG9bsjV4K1n/tB174iUS8bBOL8mJMhyAQSUGmIIezxYt0BExe jTpphGLRepwdy3vLcegVlYOj0OQAgba9Ntfy1DIsfAPYKgkQF720SG8iq M=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 28 Jul 2022 09:10:06 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 09:10:06 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Jul 2022 09:10:05 -0700 Received: from [10.216.19.102] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 28 Jul 2022 09:09:58 -0700 Message-ID: Date: Thu, 28 Jul 2022 21:39:55 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2] ASoC: qcom: SC7280: Add support for external DMIC bias supply Content-Language: en-US To: Mark Brown CC: , , , , , , , , , , , , , , , References: <1659016789-9933-1-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On 7/28/2022 7:52 PM, Mark Brown wrote: Thanks for your time Mark!!! > On Thu, Jul 28, 2022 at 07:29:49PM +0530, Srinivasa Rao Mandadapu wrote: >> Update SC7280 machine driver for enabling external dmic bias supply, >> which is required for villager evt boards. >> +++ b/sound/soc/qcom/sc7280.c >> @@ -356,6 +356,7 @@ static const struct snd_soc_ops sc7280_ops = { >> static const struct snd_soc_dapm_widget sc7280_snd_widgets[] = { >> SND_SOC_DAPM_HP("Headphone Jack", NULL), >> SND_SOC_DAPM_MIC("Headset Mic", NULL), >> + SND_SOC_DAPM_REGULATOR_SUPPLY("DMICVDD", 0, 0), >> }; >> >> static int sc7280_snd_platform_probe(struct platform_device *pdev) > Don't you want to connect this to something? This won't do anything > as-is. I can't see any references to DMICVDD which might be failing to > resolve in the current sound/soc/qcom. The connection is being done to "VA DMIC"through audio routing in board specific dts file. Will post the changes once the main dts patches are landed. Ex:- &sound {     DMICVDD-supply = <&pp1800_l2c>;     audio-routing =             "IN1_HPHL", "HPHL_OUT",             "IN2_HPHR", "HPHR_OUT",             "AMIC1", "MIC BIAS1",             "AMIC2", "MIC BIAS2",             "VA DMIC0", "DMICVDD",             "VA DMIC1", "DMICVDD",             "VA DMIC2", "DMICVDD",             "VA DMIC3", "DMICVDD",             .....             ..... };