Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2392671pxb; Wed, 9 Feb 2022 18:06:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9TVqHtnJZ+Zgnot4MlZZOPnXj34bNFwuqyNWgArNn7Ty6/jT7P2kVI+Wj2Ebf/uHuKPuQ X-Received: by 2002:a62:a512:: with SMTP id v18mr5223124pfm.42.1644458783969; Wed, 09 Feb 2022 18:06:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644458783; cv=none; d=google.com; s=arc-20160816; b=kAi8H0bHyc85HDbx//UGDUKnd50iB3MjinrpJRn5v11PMMCixsPofeYwA3GIB38c9w 869QlKM3Y9kmmXHH9uowwhugpnmJgU8REvRJy8bpcdkqisvEWgwGl5TQiic2Zll3ykzz oOSYv/WXyDuikpjNxUU60QWGhKF1V5p9DvQ2LMtWs+qaiUgaVSciweDQRwMBL2UpB0f9 wnUTF7WEMaM//CsYe7ogyqfXyXijkZQfRNmEb0auMysC4nrsrxCOnn7aQWnN+mGC9Q8B pWoQYpsv/txOxhFVwCJrXEOOlOjN28GnNiFEjnbW0kaoB6XCxYHtRcLc2M48TgKS0M1d R6ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=dlJhRUB01qZhsIVXIk2dwYqihYxKbJJNnkUeg5WkvEQ=; b=LfSj8LY7gWy0qDG+iJfkrqjZh7UL5n00i27OMPaUj1o5s/pNxYtHSpEbg35e3DfOlX 24bLayxwVZEuVHDUeMxA0y2f8ZefsRx9MvDvdq3wi8Qt+3soofBF8hvyqFxz5fCX9fxq +fCERyWGWwrJuwylWolfFyasQ/ZtIIGL2+iaINfYimY7o5vA2VNlXjTe0qZV3MSeBuPZ 8WWiTq5xyXP4KKzr4KMV5JKfEXpVgrsiuC4B5ypqJ7pEKIdBv7tCJMiZHjtOieu5xcAt YCFavD7J/3YYMkwkjKB7RuKGAQATV/7PJHvfyVAOoxpcHLuWk45lXWwnBjIfKEpAVNEi Zo7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jqEM46I7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j193si17127000pge.367.2022.02.09.18.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 18:06:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jqEM46I7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D0C2F52; Wed, 9 Feb 2022 17:57:11 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233116AbiBJB46 (ORCPT + 99 others); Wed, 9 Feb 2022 20:56:58 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:33888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233410AbiBJB4I (ORCPT ); Wed, 9 Feb 2022 20:56:08 -0500 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46F282BB23 for ; Wed, 9 Feb 2022 17:52:34 -0800 (PST) Received: by mail-oi1-x236.google.com with SMTP id m10so4512312oie.2 for ; Wed, 09 Feb 2022 17:52:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=dlJhRUB01qZhsIVXIk2dwYqihYxKbJJNnkUeg5WkvEQ=; b=jqEM46I7RIpOv6Dkxw9TpDQEzfSMQUsHfWjfCF5R1hPNJotrhb4Hfvk9+dGhmfKApj +tj8cpWNtVh8qXkYopCvZcUdjJsZe3FyUvDPDzzCXvx+Oqb6TBj6gc/T9MGLB2oTBy5K rXt8rxgL2hjvC7PB90SynvANEC3ghpyWEBImk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=dlJhRUB01qZhsIVXIk2dwYqihYxKbJJNnkUeg5WkvEQ=; b=yuFyIetU9QzQefYs5Oom43/4dzdudntdVjVxnw9WS/T/7b7ogPHjGJ/3FXmXRfBXVK Kn1ibaVPh8Uods0ZQMeqkfks/m9BVshvG5ZZHMYAwCsfzW2guCKvsgo3grTVNYVdu8xJ eFPCz1P6qndVOkH8nkSRa1Wqx1ij654fIGCqPZz9bNcGwMktgTeqhoUYIKhEIbBXGwmk 98myAmcJiAWgchBJq4JjtlY3mRHEiXS8oddpsXqjHrHkvpl2ej7hUyL1P2rI13A9Z2/T 9W2axc0pwy8c6Ycw3nvZ7hm9sEo2BdFP8HTdEXofgTCY//QbfWJjn0JrsOi2a5HvA8XQ rhQA== X-Gm-Message-State: AOAM531/nZjx2Qg23XpmcvrzipD3gZykp1fX+wfh9K9PiMC51VcPfH8p UB9+VR4UJLRFms86MCVx3i+PIPk2SUzFD0DfLBTT5+DQO8k= X-Received: by 2002:aca:df82:: with SMTP id w124mr2220442oig.112.1644451553163; Wed, 09 Feb 2022 16:05:53 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 9 Feb 2022 16:05:52 -0800 MIME-Version: 1.0 In-Reply-To: References: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> <1644334454-16719-3-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Wed, 9 Feb 2022 16:05:52 -0800 Message-ID: Subject: Re: [PATCH v2 2/3] arm64: dts: qcom: sc7280: add lpass lpi pin controller node To: Srinivasa Rao Mandadapu , agross@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, dianders@chromium.org, judyhsiao@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org Cc: Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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.