Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2848587pxb; Thu, 10 Feb 2022 06:58:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIFlYtw3W5vfui+l9dOq/nwXfJrU8sPnGmBNqpdp3IWbe+7lmp8Nexkx39RTKmj80a/axB X-Received: by 2002:a17:907:6094:: with SMTP id ht20mr6709465ejc.628.1644505086375; Thu, 10 Feb 2022 06:58:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644505086; cv=none; d=google.com; s=arc-20160816; b=VooMfAOUNCRGpprgWes6od5cOcB+hJVSb+W8pbrGX4e6hadUlnDWK52wuP8EGdOOQi 9sJgMnaaroB+vjDsgAcqg0yRDuO3XD4aaIFLNqc7Rp+aUls/gxN6s8hie9Tj1ivJCM5G TsDAbQP4xGTorPaK3csxMeENxN57lihn2hZ2MTD4o+0cwwgiGq6n8vMpipWBGbMZerLE biKv3qgIJA4jQI8gSPViZ3Q09PXsLfsABh4BsZLEutu9hHGWBNOH4DUCkOA4K/5xcd7e PjMsbJc6URkbfap9Mc9FJNSa8V1y5BOsFgKbblBM8F3/O4e23gc0IRIUibtyQhFBT/Qd 7cRw== 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=+FTgaWtC/fbl/lpxIMMrwrFu+pXJ8EqWfUdrXRGQUgY=; b=Li8VgpVzfIjYoklS4dTuJyY4EDowQbXStCbBQeUyFg81LIqYU8K7p9oz9yB0pXBk6E 5VacSIJhEE8z+R1KbqkwCVQyV423ubfdoqVdt9etldysv5c6Tam8KHtwGti4uk+oFmNX 4w7iT2CqoanuCkPsRW+UU+EE+eXajV92DGnbdri35ZXeuSEuqi7db+SHkazsxEBgzNk3 QpkKbazl3dTB0fo9sxZRPLS9iMYdWXeXx/XohXPIrpRWx3K3c0fEFPcezr6cpjxxPdzB 4AnAEpHVPlCKTtfzKac0p3icd3rCIR0Q/pMO2lk4LHk65zTaJEHxaVdvG1BbKuIl5ayb y55w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="WuwaJBS/"; 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 sh11si9347528ejc.436.2022.02.10.06.57.41; Thu, 10 Feb 2022 06:58:06 -0800 (PST) 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="WuwaJBS/"; 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 S242939AbiBJO3w (ORCPT + 99 others); Thu, 10 Feb 2022 09:29:52 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242934AbiBJO3v (ORCPT ); Thu, 10 Feb 2022 09:29:51 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0708B398; Thu, 10 Feb 2022 06:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644503393; x=1676039393; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=+FTgaWtC/fbl/lpxIMMrwrFu+pXJ8EqWfUdrXRGQUgY=; b=WuwaJBS/8djrJIBZ/oD04w/hmfo2yGpn2ulCvSUl0DUu+5LXrEh9dJWw 4FYZ8z4g3gsYr5a9AcVmYqPJx5zYUUxMT2xJX1CkpuQ2wifYQI+2t011+ Lfgvbj3BHqZeFC5DGUpFqXDOoeZ9ifkXGCCvLqa8VsMDlLomO3i2cMKWK Q=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 10 Feb 2022 06:29:51 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 06:29:51 -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; Thu, 10 Feb 2022 06:29:50 -0800 Received: from [10.216.9.195] (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; Thu, 10 Feb 2022 06:29:47 -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: <7a5e55b9-058f-e143-0d78-7a6d57498a50@quicinc.com> Date: Thu, 10 Feb 2022 19:59:43 +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: nasanex01a.na.qualcomm.com (10.52.223.231) 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/10/2022 5:33 AM, Stephen Boyd wrote: Thanks for your time Stephen!!! > Quoting Srinivasa Rao Mandadapu (2022-02-09 06:26:58) >> On 2/9/2022 2:42 AM, Stephen Boyd wrote: >>> Quoting Srinivasa Rao Mandadapu (2022-02-08 07:34:14) >>> >>>> + 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?. > I'd expect the wcd938x codec device node to have a 'reset-gpios' > property like > > reset-gpios = <&tlmm 83 GPIO_ACTIVE_LOW> > > and then the driver to request that gpio via > > reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); > > so it gets the gpio during driver probe. Then the gpio can be deasserted > during suspend and reasserted on resume, if that's even important? Okay will remove it. Already wcd938x node has reset gpio. It seems these are redundant.