Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1986568pxb; Wed, 9 Feb 2022 08:35:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmh30hotQTpMK1bRANVVm5Y+9Hw48NjLwEdklAGky2lg/fEu6yndJ9FoI+N0kdMIe65iE+ X-Received: by 2002:a63:5a65:: with SMTP id k37mr2537078pgm.431.1644424515719; Wed, 09 Feb 2022 08:35:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644424515; cv=none; d=google.com; s=arc-20160816; b=Dr1za0AoNubuFEKl1iREa9Zhr4vHNmXbvL3/xlpa1C9VTTmPqDDnMrDpdgXHbS6rqi uQt11G0REjabzchcwofK4ygt75rUDzpXGaFXLo2dC3k5QlSn6tONodbksnpq/t5Taw6Y MVQ6z0wgn9fco26iXtixOh47G8sY03Ne+75RX1LxQhEFMXGoOEvm9N/NyhmoTQvdZ3S5 8zxZCQOsL1MLmG/Uqkh04NNLYpS4VE2nT/Y0vgGtqa8ONnjZl+JMKjHHbjca4uFJk0gy pJRZJiueeKHodJ6uzR2+gNaAhBUDu4JVksQ4b17S+WyGfYBKa00f3QwmvMsG4K5S4RIe NuCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=epGqPg8z8P+UPOQgQalxESfWXq7yaTif/iFh1nkz2mE=; b=mT0jN2scKByXP/Kz1R4XpZZbDGke/rgb00+gJ9KFNX3Wzaa5ZDuReJ3wTX0xiF/M54 xrBeIet7fQnfd4J9hPpOAVmfu1gpMhM7vDklFxyW9N+GgB4d5Fq8KFgmcjhgUpviueWQ 6lPaK5ue7xIZqZf+JoHsvhaVuTbaPU6PG0Yne+bxuz+6MSRHLV/MpZJQ9lGr1vB9YUSR oUc1SfGHZTwRfRHPRDrfGa+R0hAmWItClg0Gr86+vgkGtaO3fq4uo5r7Zak9TupClaTX 1UvVmT0d3Lm1kQJetstTUpqX8Sn70L0FyhkO43cOJsikD3vFPahIH/eV/LK7gVkCgzyC 3PBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=qbaHPlnp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si5243154pjv.5.2022.02.09.08.34.59; Wed, 09 Feb 2022 08:35:15 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=qbaHPlnp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234967AbiBIO1G (ORCPT + 99 others); Wed, 9 Feb 2022 09:27:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232334AbiBIO1D (ORCPT ); Wed, 9 Feb 2022 09:27:03 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 735D8C06157B; Wed, 9 Feb 2022 06:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644416826; x=1675952826; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=epGqPg8z8P+UPOQgQalxESfWXq7yaTif/iFh1nkz2mE=; b=qbaHPlnpcwUf8zu+vGsg2rXZCnGnmBYnqmfarQgNYFpdaPO3ORG2ToKc wuND/0gZpDadf92hxILVxlFae57KuVR4HYU9Zhcs19EoOD6w6gX3nFci3 33A26ifDC1KFPyQ6WOrK1sBxoWO1Mx4s1/dj1kzDeXmTh8MopKAlx3CoA k=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 09 Feb 2022 06:27:06 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 06:27:05 -0800 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.922.19; Wed, 9 Feb 2022 06:27:05 -0800 Received: from [10.216.41.35] (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.922.19; Wed, 9 Feb 2022 06:27:01 -0800 Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: sc7280: Add wcd9380 pinmux To: Stephen Boyd , , , , , , , , , , CC: Venkata Prasad Potturu References: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> <1644334454-16719-4-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm Message-ID: Date: Wed, 9 Feb 2022 19:56:58 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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,T_SCC_BODY_TEXT_LINE 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 2/9/2022 2:42 AM, Stephen Boyd wrote: Thanks for your time Stephen!!! > Quoting Srinivasa Rao Mandadapu (2022-02-08 07:34:14) >> Add pinmux to reset wcd codec, conneceted on SC7280 based platforms. >> >> Signed-off-by: Srinivasa Rao Mandadapu >> Co-developed-by: Venkata Prasad Potturu >> Signed-off-by: Venkata Prasad Potturu >> --- >> arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 15 +++++++++++++++ >> 1 file changed, 15 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> index 4704a93..6b38fa1 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> @@ -594,6 +594,21 @@ >> */ >> bias-pull-up; >> }; >> + >> + wcd938x_reset_active: wcd938x_reset_active { > No underscore in node names. Okay. will remove it. > >> + pins = "gpio83"; >> + function = "gpio"; >> + drive-strength = <16>; >> + output-high; >> + }; >> + >> + wcd938x_reset_sleep: wcd938x_reset_sleep { >> + pins = "gpio83"; >> + function = "gpio"; >> + drive-strength = <16>; >> + bias-disable; >> + output-low; > Why doesn't the device drive the reset gpio by requesting the gpio and > asserting and deasserting it? We shouldn't need to use pinctrl settings > to toggle reset gpios. Okay. Verified without these nodes and didn't see any impact. But similar way it's mentioned in sm8250-mtp.dts. Could You please suggest on it how to go ahead on this?.