Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp124408imn; Fri, 29 Jul 2022 01:43:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sof+A0WWw/nsE3+dwmuXFk9gBTqD6j5vFAfrwMMlwhBRlGGLtbyka3Mvg1p1VW8qH6fwkj X-Received: by 2002:a17:906:84f0:b0:72b:72b6:c7b2 with SMTP id zp16-20020a17090684f000b0072b72b6c7b2mr2054431ejb.642.1659084221927; Fri, 29 Jul 2022 01:43:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659084221; cv=none; d=google.com; s=arc-20160816; b=b7ruXQkhjdbzwQ6qfhs6nOZWfmvrbU5p1h7HptvTUzDycrJSZyBYRKTg3DF+726jR5 DgDszJPmm6fm0PfntjO6LH0xapddBo3TflH3v0tYZX6NHsad24QCf1mvCqDPjSgnR0ZY RlWtBxAM9IXABpk1n0mg+yxrIVfAodqWDKzHFFoCbtayGVpcfPyNpHEuR9Z5Gccl6+tS z2Ac8+3/HN+ukPNgdCApryeovOpty9qlznVPhUixNjS0SM0slOarp/rDP0Mtzgrpcn+D 68loB2jFkj6JlIIoDq7B2IsqNJARI8mn40/4xz77gob3F31WGWclnLPv/BdM0oXFygz/ 1RPw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yXWIEmrCvPhMUD5deMCakmb6B16F9IWiC7sXOX1uSM8=; b=w7kzrTL89HHjWpalw4pUG1zz9uWQxHQ6jDv1xzvX8vR1bF72FCTCKBsFpimd06PnKz xQWA3LhXZYxYsPtoRlMSFaYUNsz8+GynCJ6KULIiepeYx6XH3XUgs324sT9/B47oj1a3 51pgX3X0mjFJfyHNTvb53oOtuzVKo6ykHa1tfKioh9e0Vp5EBFWz3Bp5qdTvO0ShXCAA 4caSTnvaaNlsHk99qsIhW6ZZcy8DN0zLrVr6zI5YcHfixhR3IpXmIsrQ0STmBtIk0IQx OSnFUsQ8tTsqu46UT9DsJVDj6ecH0wd14CWEA+4qKEV4GvokfBXm5SqFptuqjvTYfjj9 FcXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sGbkLN5+; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm10-20020a0564020c8a00b0043a9e32bacbsi2372202edb.228.2022.07.29.01.43.17; Fri, 29 Jul 2022 01:43:41 -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=sGbkLN5+; 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 S235620AbiG2IkZ (ORCPT + 99 others); Fri, 29 Jul 2022 04:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235168AbiG2IkI (ORCPT ); Fri, 29 Jul 2022 04:40:08 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45FC684ECB for ; Fri, 29 Jul 2022 01:39:56 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id x23-20020a05600c179700b003a30e3e7989so2182860wmo.0 for ; Fri, 29 Jul 2022 01:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=yXWIEmrCvPhMUD5deMCakmb6B16F9IWiC7sXOX1uSM8=; b=sGbkLN5+s6l3Qj93D53goWriKE+GOP/8Mh1PBv+98Sjbugr4jUOrSJvm/o7RPKnYC1 DNJZ8/QaNC3Jl1Fq+R++CjrTLA4J9mb9KRMMbnlVYue+CEkxIHVvvOeJeXdyY9kKGZoa 7SnhpN3XW+wqZHS1cIij4veMYgj0fePhXbN1Ba0t8mLgkHHTp2nK122u291EwxZ2uf/e xAcufWhebU0rGplUh3YoLCjxHCKY/CM5p3AS845x6x6xx6VUDKxiS3Kby+JQ/o22VP2Q tfysop5bbymKo7+BoHyTkcvNUZHWivdSgNgy4U7YBDSfMiHWcKvl6lkjB53dbJ822oSV N4Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yXWIEmrCvPhMUD5deMCakmb6B16F9IWiC7sXOX1uSM8=; b=CJzDdRAdhMjf6BL7JrRn7ChlKWpDzPf2+lpWrUxJDsWG4fmYj+RjkFrf07SrQnk4i+ iDg5eFUyjpTXOxUGp4tqRmBAbs+VkyHMBQYtUGvv4zQbBYQlG0cyj4ZkvINMJUtWPXHS Ke1+X93rZcJvgE0ScGAEpC36/UG38sT2QYtuafGf8cOO5gIAC/PJmx1ZDbtkQmDI0GxN cSm3vFT0BXPk/JylgMxpO5P/EKeVrYw6VZXrmr8dVV8c+GqlUnekXS7f2xQO4yhMa+FQ IyconxZcB69WGc4IMS1/0iQs+T9TEIUbNFxrVP3EmU0FMt1iPwMHdpJbXulZrSRntxBA S1Vw== X-Gm-Message-State: AJIora+g6UL8UsI75DTq5ElE2bhgt6EvBuwXRJ3uDXDOS48mCI5J0uaY u4epBs3tHGlqcFfhfp7N2LAYrw== X-Received: by 2002:a05:600c:19c9:b0:3a3:469f:c1e7 with SMTP id u9-20020a05600c19c900b003a3469fc1e7mr1956536wmq.141.1659083994542; Fri, 29 Jul 2022 01:39:54 -0700 (PDT) Received: from [192.168.86.238] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id i3-20020a1c5403000000b003a02f957245sm7820574wmb.26.2022.07.29.01.39.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Jul 2022 01:39:53 -0700 (PDT) Message-ID: <278edf67-834b-b673-8d71-88213130d4c8@linaro.org> Date: Fri, 29 Jul 2022 09:39:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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: Srinivasa Rao Mandadapu , Mark Brown Cc: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org References: <1659016789-9933-1-git-send-email-quic_srivasam@quicinc.com> From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org On 28/07/2022 17:09, Srinivasa Rao Mandadapu wrote: > > 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", You should just use "vdd-micb" instead of DMICVDD. There is already a SUPPLY DAPM in lpass-va-macro codec. --srini >             ..... > >             ..... > > }; > >