Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1563112pxb; Tue, 8 Feb 2022 22:25:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxa/oPPngnBZNSX5rWQuoHHp5nxaDejvdJdk9IIEj1WXyEjOZb9xyuqdcqL1ne0AfJVNRZP X-Received: by 2002:aa7:8d83:: with SMTP id i3mr739087pfr.14.1644387911232; Tue, 08 Feb 2022 22:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644387911; cv=none; d=google.com; s=arc-20160816; b=QA9hXHfTQk4NrLIit7lwChXEosxiw+L91t9wxDg1R43pruCFOL3hlcbCcqXrFbBzDm NxzwMRRtZFYOwjJqQqvc5smVQxeyjS/z/DXoygnCNOlGLzBt4opwOSnKVcN6A0jB5F6n saIjQhY7XSwKOdxpQdMJ3eMqWuw8txRcjBYJMjSrXfB+h78aVtPDpgQKfBNZ4ZU/Mfyi 8qJRBA/Fvim9JSpJ3o4MTdx7+oZ20hpvedEq/4r9lfgcbgdds1RD0Dpln0+DHvPjnvAM TbY1QNG8v7YIjz9bkr/EGuw1Rc/SloAty9yvSiS1FePjnSSUl6k5IkB850FW3S86UAPU NzSQ== 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=LL/sflvxWaUAXAGdJC51C+uyHW63BSfpyz0nzMbF71k=; b=Ka+smmTx2j3Rp9bFqI384W/slPxNk5GMJdtqFBYYgelp/TiwrJyJT1UYrUdLXx4gri FGuadYhdu0EwQF6hCOL7pNP/bTTFLc/gxv2f2uApg5zFFt5DKJNcE7RYkG4NAjnLGfMT XENfDwUcXB+Um9x5QaQBB10mJYT9z9Ixdl5rRaILRy2hPW0I8LXZ6pRvxta4JiL/aOnE 752BYMxgeTySN0ce2tg/kuAZSmlzlJLrj4AixmbLIFsbKfc7UGYuepWkTArO9VjumEI2 xKXt7OsjwOPDSNiD7s2uEO2UjDXIbpgEB2A94EGHoy45D/TOg8hMBqkbJljBgQeL7oER o2wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CEBp4Xx8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id s2si1306705plg.489.2022.02.08.22.25.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:25:11 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=CEBp4Xx8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 71ECEE01CE6E; Tue, 8 Feb 2022 22:05:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387784AbiBHW3H (ORCPT + 99 others); Tue, 8 Feb 2022 17:29:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386796AbiBHVM4 (ORCPT ); Tue, 8 Feb 2022 16:12:56 -0500 Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F812C0612BC for ; Tue, 8 Feb 2022 13:12:55 -0800 (PST) Received: by mail-ot1-x32b.google.com with SMTP id g15-20020a9d6b0f000000b005a062b0dc12so159217otp.4 for ; Tue, 08 Feb 2022 13:12:55 -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=LL/sflvxWaUAXAGdJC51C+uyHW63BSfpyz0nzMbF71k=; b=CEBp4Xx8m8+Si17VtgJS4H6OHPFDA0zrEDV8RrC5debX5KP6YuoJZoHfsTZSGIGdn0 mCjGsM7KaQmRWwkNEkTxNj6lhcuNYXJ4TRFVZm/w2OjQZqurlvrEd+FsnXaBl2us/wgd tgVrgJ62dJmq+1AVM6QvyPpJtwLWNydDIsL9A= 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=LL/sflvxWaUAXAGdJC51C+uyHW63BSfpyz0nzMbF71k=; b=55sFIhu57v9gL5clM5jJPFIM1ClCFag3qMAmsRrgJ5M8YGGrtJZKzn8mfnILPm4tDK IThCDs7+FuaGmt/MGZtudGCJwQlrnwJ6fw4kvC61toiVFtXH2lT7ZYch30+DUGuFmicM cWbo/I7fSxX50ljRgOt+WbvPaSn9klpI1JENcbW7Zf0tpOKQz544tco45yw8MDXXDPil nn0aSywlx1jMD54MAR2H7zMJU8lG7iOGDkUfVhJf5k0o+6hP36Apq9TLYhxPX1daajsP abiVAc9Hyfq1utTFnmgY93DUccQaQJ4ir0jBGBeTVPnEhfy/6uxTC1J0jw37oXJXx/2p TpNA== X-Gm-Message-State: AOAM531TyiSEX+GRNqmrCP1j3tfMTD88THD7sCkQ3kK42tYe8ZIrXeoy zeL9NCx5Ht2veto1xr+f7gDNnfAWjez7CskkQrqJqQ== X-Received: by 2002:a05:6830:1d8f:: with SMTP id y15mr2602969oti.77.1644354774846; Tue, 08 Feb 2022 13:12:54 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 8 Feb 2022 13:12:54 -0800 MIME-Version: 1.0 In-Reply-To: <1644334454-16719-4-git-send-email-quic_srivasam@quicinc.com> References: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> <1644334454-16719-4-git-send-email-quic_srivasam@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Tue, 8 Feb 2022 13:12:54 -0800 Message-ID: Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: sc7280: Add wcd9380 pinmux 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=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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. > + 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.