Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2062506iob; Fri, 29 Apr 2022 21:15:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzo5twWD+i3ucRtmPJEsdk3SM/3L40WLJBbJ3kV9Wou5KWnZDxtS/98oKU3i7usi9Esd+Im X-Received: by 2002:a05:6a00:1255:b0:50d:c755:b956 with SMTP id u21-20020a056a00125500b0050dc755b956mr1990621pfi.14.1651292142502; Fri, 29 Apr 2022 21:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651292142; cv=none; d=google.com; s=arc-20160816; b=EEUurVTdRnRHWw09+LO9Wr3gvsCg8Nd6mDp9o0Ja/dUUFSCt6vY+gjB8nhEEpuN4Zf EBdkuFNweXHAwLGDt9HK6jRq95fMv4kd40IJaYHsErdUXtFyY77uN0Blx2yW82rVv5Mo lNVAIjqgsWy2ySnGOWuPenO5+4RzAcUVOAeexgIzTve2rF4R7ALmXFq6FkNWpi8uAToO KlnGYkGqOLz1WZ6wotkv5CBgVt1i+lwN4A62IK6JViq8FlVOvKpQaVEWtW6UljR3I4g3 h2CIFaR5XwKCw0/tlqXXKJCqkzR9JVSygDg5WMPIVRx90m2IJFF4yPpaiCyBrya4gsaL xVDg== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=38G2yLvTesO/mAjiyLWZJ7vMR9eg3xKJsvKaGBhlj48=; b=wwXJb1tvrn+r0iCl5kIdSdnL0mEQAJvc/Iy1/IeA/9FNEIED/kD5vdBMZCk+MJV6GL FrjS7sjfNoLLRVYgGy3zwgfDOtA9iNh0dmjvOGxULNdYdTJPtAatdX2wWVkdU+a9X/gr Zm74Q2Z7U6x6fnxsV0ynIDkYPP+YabU3OueVzhoHsQj+H7EDaxslow7twj37NlUyJIPO HQG6X3/ySpna68mE4kiSRci5RwDBPJ4TU56/KYaqkwNtW9aHsb451hMkGLtRENnfpsj4 u4kOA6nVTVNad64mt1m4Uk/b/rBWpMS1d4xe6Y7OGRsIUnUkWhN7Eh9cESIbQgwTLChP TpmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Z6/QtEfe"; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u19-20020a656713000000b003aa127ddfc5si8655174pgf.664.2022.04.29.21.14.49; Fri, 29 Apr 2022 21:15:42 -0700 (PDT) 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=@chromium.org header.s=google header.b="Z6/QtEfe"; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239390AbiD2QNp (ORCPT + 99 others); Fri, 29 Apr 2022 12:13:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378889AbiD2QNk (ORCPT ); Fri, 29 Apr 2022 12:13:40 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F5BA3EBB3 for ; Fri, 29 Apr 2022 09:10:21 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id y3so16290668ejo.12 for ; Fri, 29 Apr 2022 09:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=38G2yLvTesO/mAjiyLWZJ7vMR9eg3xKJsvKaGBhlj48=; b=Z6/QtEfer9f+OTdeWiWLTDLQrtwaSk794Vgsbs8yANjijC/n6xI7dAdrszE6zXzZs3 eDk12zl2F8a46AyeYidW8tq2bsM7D0pA7biW1+/+uO/MCZkgqGi0OHA0fOrQzuzRKcVd w63F5C7NaCxtPl8jO7Bxi1shpsUpt6qi/ApdE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=38G2yLvTesO/mAjiyLWZJ7vMR9eg3xKJsvKaGBhlj48=; b=IFfEJSeKrD6EjkIzAX3BHvNgClHoD8UU7m3I3UNSWi0e8Ag3dz7S+hKnEoCurTlSri pd1XMiaW2JDVXij3BCJWRfwI2p4uY0utlzZhPNQxWELkv9YZGraGQNolhK9/T0zsvDT+ 15lmxDjDuDSDJEhVU/KT2yDTKiXFBM/78fqxADlOGo0e9eKT7rQQAV6uj/4/M+OZZMgL E560+7gTLNx2ZjSi23ocVtUOl4J6OP8Zm/gjQl3kYN7RFFj+RLVwxAYUifbVcQan9ePu opJTMH4fi9m6smGLQY8iEcrapBMhZvOWyoZ6gwIXg4stBBAQt3OxH2+T0615WHTkBrGl vbmw== X-Gm-Message-State: AOAM530tNZlMLB/9LEeiiNcQGjG0ginCOjE1eW9KSkxvxCR43058XmXZ Ia22Lio8s1gzR4uJYvJUyo1czEFoLUPGGKNa X-Received: by 2002:a17:907:3f02:b0:6f3:5c42:321a with SMTP id hq2-20020a1709073f0200b006f35c42321amr13715ejc.521.1651248620531; Fri, 29 Apr 2022 09:10:20 -0700 (PDT) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com. [209.85.221.45]) by smtp.gmail.com with ESMTPSA id qx16-20020a170907b59000b006f3ef214e60sm770061ejc.198.2022.04.29.09.10.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Apr 2022 09:10:20 -0700 (PDT) Received: by mail-wr1-f45.google.com with SMTP id x18so11452660wrc.0 for ; Fri, 29 Apr 2022 09:10:19 -0700 (PDT) X-Received: by 2002:adf:f50d:0:b0:20a:e096:ef with SMTP id q13-20020adff50d000000b0020ae09600efmr17925110wro.679.1651248619233; Fri, 29 Apr 2022 09:10:19 -0700 (PDT) MIME-Version: 1.0 References: <1651079383-7665-1-git-send-email-quic_srivasam@quicinc.com> <1651079383-7665-5-git-send-email-quic_srivasam@quicinc.com> In-Reply-To: From: Doug Anderson Date: Fri, 29 Apr 2022 09:10:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v12 4/4] arm64: dts: qcom: sc7280-herobrine: Add lpi pinmux properties for CRD 3.0/3.1 To: Matthias Kaehlcke , Bjorn Andersson Cc: Srinivasa Rao Mandadapu , Andy Gross , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , quic_rohkumar@quicinc.com, Srinivas Kandagatla , Stephen Boyd , Judy Hsiao , Venkata Prasad Potturu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Hi, On Thu, Apr 28, 2022 at 5:02 PM Matthias Kaehlcke wrote: > > On Wed, Apr 27, 2022 at 10:39:43PM +0530, Srinivasa Rao Mandadapu wrote: > > Add LPASS LPI pinctrl properties, which are required for Audio > > functionality on herobrine based platforms of rev5+ > > (aka CRD 3.0/3.1) boards. > > > > Signed-off-by: Srinivasa Rao Mandadapu > > Co-developed-by: Venkata Prasad Potturu > > Signed-off-by: Venkata Prasad Potturu > > I'm not super firm in pinctrl territory, a few maybe silly questions > below. > > > arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts | 84 +++++++++++++++++++++++ > > 1 file changed, 84 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > > index deaea3a..dfc42df 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > > +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > > @@ -111,6 +111,90 @@ ap_ts_pen_1v8: &i2c13 { > > * - If a pin is not hooked up on Qcard, it gets no name. > > */ > > > > +&lpass_dmic01 { > > + clk { > > + drive-strength = <8>; > > + }; Ugh, I've been distracted and I hadn't realized we were back to the two-level syntax. Definitely not my favorite for all the reasons I talked about [1]. I guess you took Bjorn's silence to my response to mean that you should switch back to this way? :( Bjorn: can you clarify? [1] https://lore.kernel.org/r/CAD=FV=VicFiX6QkBksZs1KLwJ5x4eCte6j5RWOBPN+WwiXm2Cw@mail.gmail.com/ > > +}; > > + > > +&lpass_dmic01_sleep { > > + clk { > > + drive-strength = <2>; > > Does the drive strength really matter in the sleep state, is the SoC actively > driving the pin? My understanding is that if a pin is left as an output in sleep state that there is a slight benefit to switching it to drive-strength 2. > > + bias-disable; > > What should this be in active/default state? If I understand correctly > after a transition from 'sleep' to 'default' this setting will remain, > since the default config doesn't specify a setting for bias. Your understanding matches mine but I haven't tested it and I remember sometimes being surprised in this corner of pinmux before. I think it's better to put the bias in the default state if it should be that way all the time, or have a bias in both the default and sleep state if they need to be different.