Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp538935pxm; Wed, 2 Mar 2022 22:30:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9gXfIEJNRFE994uiJlzq1C0nZo5FwfXMrrLoO7s9cJL+ycw7NYtxSdMsQTyzXtSrx0X/i X-Received: by 2002:a17:906:2bc1:b0:6cf:d009:7f6b with SMTP id n1-20020a1709062bc100b006cfd0097f6bmr25753994ejg.17.1646289015325; Wed, 02 Mar 2022 22:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646289015; cv=none; d=google.com; s=arc-20160816; b=o2dviAvH0Cw3ZTxBBjlCELy+YB0r7Ev0lQYF9OYzHiW3EebDSiOnJkD/hhY3r3mGEp BnhJ0vdxJ0mW5kglHa+xZNN+NI7pFGae2jLw/sRsqqEUDdpcX1hLYRkiB5tHt2FSFnhU kqtlZPkWAgMNNKMtHd1F8DCREsCbQH2s0rGrSJivA/xatwWoSiBG5bfB+zI/2hRpoInf 5PonIZlAUnJIDYD88UMElRsK9Ch86FrAFwk+3rfdfslUed+TYYr1zFPogOzcWESFJkzc ze/NwYrReyDFKtDe+d7Gsiw/r8G5SJgt0irsHoy/W6rG+AJtLHqbVD6QCGqBzcm76Dd0 3EVw== 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=F72bStix4IAs331NpnLfcvSkp3vRgdYM9D6jVxCO3QM=; b=sInqpTcKAUXD181Clku3j2hy/Iq++6BpgufiFRkEco9nMfnrfxmII3n8QH2z9IJ4bt Y9zasaN/cMv2+UiHbCDBUECzUPfZzYRxwbaeVToVahYki12vMTlW3nZupk9+2ZBFRSqB y5CN+WR3K/yOeknDzQ//FSRtEqqrTHWC67F4dRcP2RH6jhXBaLp2QLFLiVdoLhrlCz/4 Uboxpj1YXPvCoAFGc07w9//ALgwgRSU58dO1Yb4jAVxlNMtX0Voxtx2vcz14DD9ZQpIA LOcKu+F7Hy974uEo9byrxSl+qfXeR0cAoy4085QPL+ds7LkdjfQmJ8atNdussHtND6kn tvFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mSmOEmxr; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb14-20020a1709077e8e00b006cf61b15bacsi789615ejc.717.2022.03.02.22.29.52; Wed, 02 Mar 2022 22:30:15 -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=@linaro.org header.s=google header.b=mSmOEmxr; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbiCCGKp (ORCPT + 99 others); Thu, 3 Mar 2022 01:10:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbiCCGKn (ORCPT ); Thu, 3 Mar 2022 01:10:43 -0500 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24D65164D3E for ; Wed, 2 Mar 2022 22:09:58 -0800 (PST) Received: by mail-oi1-x230.google.com with SMTP id j24so3875998oii.11 for ; Wed, 02 Mar 2022 22:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=F72bStix4IAs331NpnLfcvSkp3vRgdYM9D6jVxCO3QM=; b=mSmOEmxrWvorEYk7gtgGW3K4iwExNWCdjz0ETKAOYeEVbyg/cDPlngL2s7hEPx4/2P 1Dt9/loXa7MYg3XY39YIedYAdXyh2s6Hk4RCByvFFECGsnrOjiVGJm746faqn75T/tCI X8rLznuEa7mLlGd8AFgcWMzXYROccUbza3KAh4GXXEumgdBMSVHoGSMkl+kvg3mR0Ryh iEo8o0H/db4NyunEi7Jz2O4SqoTcpOG9Q/ZOkIdFY5ZtxwJqwEffbHD+weHSDd9jLpyr fps/FD6TN95wlMtVUiP7Xp+ghyc4DoM+drJSnhnp273OFM15OkQ1ydO4+BwAkJrpYO1R h+Gg== 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=F72bStix4IAs331NpnLfcvSkp3vRgdYM9D6jVxCO3QM=; b=s+wjyH50u9/YEHOUY4yz/CRPw3VhQYl3grlj51fTVr+tHYhnl51EAnhi4uk4wHM5BS u/zaRMqlAqvTS9fd2OkFkMOfny+lwmHv2gHs2qixngASX8PiBLCqQf/uiCyWhGkBsyUR //2UnUvkhjbE4xi/7l+i6Hlcjsf9rhyoMXdSzQ0QapOw++5JitE+Orlw5m3jpxQBuIR0 kO5hbYNijeTkD2u6a2WQBbfD46w2o9glXi0BlJehBVSx/nj5sHFTHe1ony62yh/ZwSLz ltSj84ktA1807wE6AKAZ95mZiOz7aVZtpNdt9nVWVvMJXMUUdkxv2fe9e19t4MZ1X/yn 4TSQ== X-Gm-Message-State: AOAM53260AxTC/G1MtxVkBZh9KJnFGx2P0yZzASyQN9thL3znMW0dse5 vwMy2fCwZ5ps40qPrLlDu+YvkmEeMSIW2DcefZaMbw== X-Received: by 2002:a54:4494:0:b0:2d7:652b:287 with SMTP id v20-20020a544494000000b002d7652b0287mr3236523oiv.126.1646287797432; Wed, 02 Mar 2022 22:09:57 -0800 (PST) MIME-Version: 1.0 References: <20220302203045.184500-1-bhupesh.sharma@linaro.org> <20220302203045.184500-8-bhupesh.sharma@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Thu, 3 Mar 2022 11:39:46 +0530 Message-ID: Subject: Re: [PATCH v3 7/7] arm64: dts: qcom: sa8155: Enable PCIe nodes To: Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, bhupesh.linux@gmail.com, lorenzo.pieralisi@arm.com, agross@kernel.org, bjorn.andersson@linaro.org, svarbanov@mm-sol.com, bhelgaas@google.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, Vinod Koul Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 Hi Dmitry, On Thu, 3 Mar 2022 at 02:29, Dmitry Baryshkov wrote: > > On Wed, 2 Mar 2022 at 23:31, Bhupesh Sharma wrote: > > > > SA8155p ADP board supports the PCIe0 controller in the RC > > mode (only). So add the support for the same. > > > > Cc: Bjorn Andersson > > Cc: Vinod Koul > > Cc: Rob Herring > > Signed-off-by: Bhupesh Sharma > > --- > > arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 42 ++++++++++++++++++++++++ > > 1 file changed, 42 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts > > index 8756c2b25c7e..3f6b3ee404f5 100644 > > --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts > > +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts > > @@ -387,9 +387,51 @@ &usb_2_qmpphy { > > vdda-pll-supply = <&vdda_usb_ss_dp_core_1>; > > }; > > > > +&pcie0 { > > + status = "okay"; > > +}; > > + > > +&pcie0_phy { > > + status = "okay"; > > + vdda-phy-supply = <&vreg_l18c_0p88>; > > + vdda-pll-supply = <&vreg_l8c_1p2>; > > +}; > > + > > +&pcie1_phy { > > + vdda-phy-supply = <&vreg_l18c_0p88>; > > + vdda-pll-supply = <&vreg_l8c_1p2>; > > +}; > > + > > &tlmm { > > gpio-reserved-ranges = <0 4>; > > > > + bt_en_default: bt_en_default { > > + mux { > > + pins = "gpio172"; > > + function = "gpio"; > > + }; > > + > > + config { > > + pins = "gpio172"; > > + drive-strength = <2>; > > + bias-pull-down; > > + }; > > + }; > > + > > + wlan_en_default: wlan_en_default { > > + mux { > > + pins = "gpio169"; > > + function = "gpio"; > > + }; > > + > > + config { > > + pins = "gpio169"; > > + drive-strength = <16>; > > + output-high; > > + bias-pull-up; > > + }; > > + }; > > + > > Not related to PCIe Hmm.. I have no strong personal opinion on this, so let's see what Bjorn thinks about the same. My reasoning for keeping it here was to just capture that we have 'bt_en' and 'wlan_en' related tlmm details here, so that when you send out the reworked QCAxxxx mfd series (see [1]) later, I can easily plug it in for SA8155p ADP dts as well with the 'bt' and 'wlan' constructs. [1]. https://lore.kernel.org/lkml/20210621223141.1638189-2-dmitry.baryshkov@linaro.org/T/ Regards. Bhupesh > > usb2phy_ac_en1_default: usb2phy_ac_en1_default { > > mux { > > pins = "gpio113"; > > -- > > 2.35.1 > > > > > -- > With best wishes > Dmitry