Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1265466iob; Fri, 29 Apr 2022 01:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAcy9/9CqzXF5CzOGTVIY6EU3RfKAYWymyOxRAquo1+JLRD8t9ROLjQQn3PbVcLVSrNoOx X-Received: by 2002:a17:90b:35c1:b0:1db:e34a:6cd7 with SMTP id nb1-20020a17090b35c100b001dbe34a6cd7mr2581829pjb.38.1651219736271; Fri, 29 Apr 2022 01:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651219736; cv=none; d=google.com; s=arc-20160816; b=fvFGxCO1QRIk4uKrdAAAqP3GESgp46AZw3hL8FW7O6VMhQUPqzDvFeVJO1LDPbwNZe owHhSAFn6aFAYbI8o5pV+khn0wqZp9pJihvLzXBKtw5pkYvv1U+PzLHlmL1bXleIl9tu +npfObGuO0UBab+liWLOLzBhBWtvgGk0oMyKfUN57ryeAlQFRaVCIgpTRrhONthI+nte yBm5HmT79LlhcH8ruhnPUhErmuxEzc1MG5kQSikdXSLfT5l8z5kwsT7+sRq6SqUFluxi YIsPeFCHRXGkBCOth4oo0L0fg9cmF//hYQFQuLyfhf+9u8cA+AaKHWyNlg+Mrd3m6OcW z9tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DdpIeo8qDKopW17YMaGsDZHWirrUhQn+EdqCQKX/F4k=; b=0cAiuwCg+XK4tSacZdcm5sIynMzQPOSuHEkMp0Qhx6hBbsPFX3+5NKjhvXLehcuqGr F4EJkR6HtZG01eHZqYhIQC6UaqoGmt8l1OLYd9E8T8GO/TGRz6kd6+48fNNXqdf5Lf33 y4urQVd4d2y5afaSbbSKxrlOw5H9N8f+n32uVL8ZNaMC6Ek/TzfdC9RaHq0LKNKml2Ss DG2PPeRN8MOp4TmxzdV6JjwM3VpkyW9hwY/YF9jGUQrqRiC6hi0PjPej3nlBLz/QESR7 9imsCQfnveZYKTDe8Ib8H9SBP0G5YAH1xlpZETmNsyni4CkZf3H7VjnNOwb+BBPOTiHL KyKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BNy9maSp; 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 me15-20020a17090b17cf00b001dbe9fbaffesi2842323pjb.69.2022.04.29.01.08.35; Fri, 29 Apr 2022 01:08:56 -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=BNy9maSp; 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 S1348395AbiD2AFf (ORCPT + 99 others); Thu, 28 Apr 2022 20:05:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343984AbiD2AFe (ORCPT ); Thu, 28 Apr 2022 20:05:34 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2700A8BF0C for ; Thu, 28 Apr 2022 17:02:18 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id z21so5255930pgj.1 for ; Thu, 28 Apr 2022 17:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DdpIeo8qDKopW17YMaGsDZHWirrUhQn+EdqCQKX/F4k=; b=BNy9maSppmO/FsAEqCGLKcsJ/KWQmkD7l5ZkZrBA8xfFM1MNp2DS92V31mDrnU7QAS sNhze6l0Psf882dKi8FXTYIEoeRJsamv38Lm0qsnTbPNkv/Ik14cp2rY+nPIpvyrXFq+ oUjAftH1nynlCSPCa/41WBbze9CuCB9NOtPdg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DdpIeo8qDKopW17YMaGsDZHWirrUhQn+EdqCQKX/F4k=; b=HPikFPN2fdny1iLax0HzErbdm8pR2aB9pwXmlaWI/YEHiiIE3vdk4aV4W+shvwHvYY l+0p69QAjdwiYRkx/pBahVA0bMfLlsqI5Zl6mrSRi69B/++rXID+4BwXcL/31Zj1cQJH D3e+KHrtgV61M9VZkC6ryF7sq1lHzsOIjepsNgz4lVJUPQWILrAAXqMfzcxZVYVqU9oE DVOlfE+GTsdXXEoUmE8BaO2DslV+jtsc5FRyUWewIaJP7dhp/S2tuat28donVDv6aZaH PmDPV9c5x5VZV6mnrikKxsKZHqKN4gjAOOadFE+rZkIjTj52uDAfI5uaqNuJciXnZEf+ W+rg== X-Gm-Message-State: AOAM5306boSWU+2DK7RnBHoTGjnKg2crM3ZuR3JvMPa9oZxw5uASg6at 9XE2gEfQ2ysbPKpa3zf4a/WW/Q== X-Received: by 2002:a05:6a00:2181:b0:4f6:f1b1:1ba7 with SMTP id h1-20020a056a00218100b004f6f1b11ba7mr37393271pfi.73.1651190537681; Thu, 28 Apr 2022 17:02:17 -0700 (PDT) Received: from localhost ([2620:15c:202:201:7d14:5f45:9377:9b6a]) by smtp.gmail.com with UTF8SMTPSA id c5-20020a17090a1d0500b001cd4989ff69sm7686510pjd.48.2022.04.28.17.02.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Apr 2022 17:02:17 -0700 (PDT) Date: Thu, 28 Apr 2022 17:02:15 -0700 From: Matthias Kaehlcke To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_rohkumar@quicinc.com, srinivas.kandagatla@linaro.org, dianders@chromium.org, swboyd@chromium.org, judyhsiao@chromium.org, Venkata Prasad Potturu Subject: Re: [PATCH v12 4/4] arm64: dts: qcom: sc7280-herobrine: Add lpi pinmux properties for CRD 3.0/3.1 Message-ID: References: <1651079383-7665-1-git-send-email-quic_srivasam@quicinc.com> <1651079383-7665-5-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1651079383-7665-5-git-send-email-quic_srivasam@quicinc.com> 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=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 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>; > + }; > +}; > + > +&lpass_dmic01_sleep { > + clk { > + drive-strength = <2>; Does the drive strength really matter in the sleep state, is the SoC actively driving the pin? > + 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. > + }; > + > + data { > + pull-down; Same here, I think the pull-down will still be enabled after a switch from 'sleep' to 'default'. If I'm not mistaken then the rest of the pins also need to be reviewed. > + }; > +}; > + > +&lpass_dmic23 { > + clk { > + drive-strength = <8>; > + }; > +}; > + > +&lpass_dmic23_sleep { > + clk { > + drive-strength = <2>; > + bias-disable; > + }; > + > + data { > + pull-down; > + }; > +}; > + > +&lpass_rx_swr { > + clk { > + drive-strength = <2>; > + slew-rate = <1>; > + bias-disable; > + }; > + > + data { > + drive-strength = <2>; > + slew-rate = <1>; > + bias-bus-hold; > + }; > +}; > + > +&lpass_rx_swr_sleep { > + clk { > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + data { > + drive-strength = <2>; > + bias-pull-down; > + }; > +}; > + > +&lpass_tx_swr { > + clk { > + drive-strength = <2>; > + slew-rate = <1>; > + bias-disable; > + }; > + > + data { > + slew-rate = <1>; > + bias-bus-hold; > + }; > +}; > + > +&lpass_tx_swr_sleep { > + clk { > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + data { > + bias-bus-hold; > + }; > +}; > + > &mi2s1_data0 { > drive-strength = <6>; > bias-disable; > -- > 2.7.4 >