Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3285163pxb; Thu, 10 Feb 2022 17:25:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxZRUAOnFqDZ48lczdpalWCm06BWaaGJK7h36feA8aTcpsuk1LyEYPfx8dj/TS+Kznf/5R X-Received: by 2002:a65:6e0e:: with SMTP id bd14mr764749pgb.325.1644542750466; Thu, 10 Feb 2022 17:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644542750; cv=none; d=google.com; s=arc-20160816; b=tfsQXeZWo6bpvluyFXZ9W5ILvlWFQMj1NKWK85JM9AUF1tHJUWxsR6V25XdxkzSkge P7J+cHT5JssU/jKYJSQWqEh+kV3Va6RTsG9OTYBKDyYKVZi1/k7vO1b1ZDjOvaulP6/k CV2FzOtCoQjcJWKa0FpDJT+MyNWMBJlhustBU8kmpg5IUIR9r/YcSB/b0eLkXV3fFO1+ d8VOZCmR+GS9k1vIvPFgveDG82wZC2V3oaVL/52MmEgo0Qg45qPmNddnhowu1T2BQqjU ZcVfwFzEAKZEct6xeUBKf+Szo59oCnIWMYgo7vh6gSdLGxmsoiKB1LcLolaJj7BTYr/R 4Udg== 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=bqs2yU4FRtIKgztQwYdP5aUA/kaXzF+Ng5jdx6HVnAE=; b=AD7zAaQakPD1PYJZKq2ePC5fSWlr8gWwt1jFpYA+Gl3OThtpzrW1NzPS8sOtN/toOb qjvwlnhNmj0+gOgx75pQHOooPtw2nJX+jmEmVSb/LzXvfqHBW/SktwAmk/rd3MfZSrCA 8enRzvlS+G+kK7IN1PJoOITRZyUO3Q91Bpj9L0EHZ6uU8q8NNKcfWknzD36zhgJlAfVS pB1IlL9vX0RKcRC0URHHfI7qKTYhGW9yxZR8whw9frwvumcehxntr1bru0fstIw3sSKG vGSwtrlZNVYT9LaBAWeyxDBOSrQfZ1B/oz3DLoqiCXJ9VURAlXc5IhvgMT1Wy6VXTrou hWxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=v7OxZ1h0; 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 g24si19873380pfu.75.2022.02.10.17.25.39; Thu, 10 Feb 2022 17:25:50 -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=v7OxZ1h0; 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 S242785AbiBJO2C (ORCPT + 99 others); Thu, 10 Feb 2022 09:28:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242909AbiBJO14 (ORCPT ); Thu, 10 Feb 2022 09:27:56 -0500 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 CC2CD21C; Thu, 10 Feb 2022 06:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644503277; x=1676039277; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=bqs2yU4FRtIKgztQwYdP5aUA/kaXzF+Ng5jdx6HVnAE=; b=v7OxZ1h02y/sqYxcebX9u6kKI0tNSSe/xQnCJMgPvL19whCdWvK8Bqbd wHGOa0+3lJNgOhvJZlT9rUK3qwc/VaMQCSi0oSCcAJu5gU7r50njoRLC7 auY8ftOeAJQGMktVlEGi/pffmFiX7uahivlST3LDJ0LBK6ueEftRDQrAv Y=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-01.qualcomm.com with ESMTP; 10 Feb 2022 06:27:57 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 06:27:57 -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:27:56 -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:27:52 -0800 Subject: Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: add lpass lpi pin controller node To: Stephen Boyd , , , , , , , , , , CC: Venkata Prasad Potturu References: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> <1644334454-16719-3-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm Message-ID: <42e27aa2-afb6-656d-9b56-c822a8c510ad@quicinc.com> Date: Thu, 10 Feb 2022 19:57:49 +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:35 AM, Stephen Boyd wrote: Thanks for Your time Stephen!!! > Quoting Srinivasa Rao Mandadapu (2022-02-09 06:01:21) >> On 2/9/2022 2:41 AM, Stephen Boyd wrote: >>> Quoting Srinivasa Rao Mandadapu (2022-02-08 07:34:13) >>>> + data { >>>> + pins = "gpio7"; >>>> + function = "dmic1_data"; >>>> + drive-strength = <8>; >>>> + input-enable; >>>> + }; >>>> + }; >>>> + >>>> + dmic01_sleep: dmic01-sleep-pins { >>>> + clk { >>>> + pins = "gpio6"; >>>> + function = "dmic1_clk"; >>>> + drive-strength = <2>; >>>> + bias-disable; >>>> + output-low; >>>> + }; >>>> + >>>> + data { >>>> + pins = "gpio7"; >>>> + function = "dmic1_data"; >>>> + drive-strength = <2>; >>>> + pull-down; >>>> + input-enable; >>> Why does input-enable matter? It's not a gpio. >> Actually the same is fallowed in sm8250.dtsi. Verified without it and >> working fine. Need take call on it. > Is that because the pin is already an input by default? What does gpio > debugfs say for this pin? Does it also work if you make it > output-low/output-high here? I thought that the gpio itself isn't muxed > out to the pad unless the function is "gpio" so I hope the input/output > settings have no effect here. Pin is in by default. debugfs says gpio7 : in 1 8mA no pull verified in downstream code also. Same is followed there also.