From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EB9BC001B0 for ; Thu, 6 Jul 2023 11:18:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbjGFLSW (ORCPT ); Thu, 6 Jul 2023 07:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbjGFLST (ORCPT ); Thu, 6 Jul 2023 07:18:19 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BC171730 for ; Thu, 6 Jul 2023 04:18:18 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f76a0a19d4so734204e87.2 for ; Thu, 06 Jul 2023 04:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688642296; x=1691234296; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2TBZJkcS0xaN6VJinb4rdEWKvi8fXW3P7v3shc5NZsI=; b=hcwgCj8Vk/DA24xeSADs5QG5iUhOWDhL9BmAGOZ1OrucSLIE/d9A9OM7mWtY/++Igh 39gF/Ny+Q1laJgwaesi2S6ba8+Cv7cc5j3DaZDwOSVnXDAvrhnjvtKNA4uHOF5SAa13i p9B3zEFF6V7LDCH8VYvZ2jTNWy9JDAkz4oSp3sQ+WsMWL4vq5WHzGG4WUSgobuYKKVP4 RUVn8Zxke2oaJXtIchlcM8POmf3cr79z01Kx/ZSurpyr7bSW5eKh1YcsahpuDv8ymbnc rUwWwcLgXkJ66G++1kxcFhP0pJAUs+w4sP3mIYmVal0UpC1ukCg6xZNBoI1eyJvc+Dgu KJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688642296; x=1691234296; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2TBZJkcS0xaN6VJinb4rdEWKvi8fXW3P7v3shc5NZsI=; b=Ma/Uq+9M8fxr91Sk3nZfoXA/+ALdVAuXMKfEO1wG139wqUFcq20jSbgIa6sL+Zs67f qsp+0dvsLf7YCk+uEEQ4js1yT/NTUQYVc9F3iraiZLh4pf4qpy5UKpacxJpNDdImPIGL j7qpniDpz88uFCXiFb0P7UN58xhzM+tsDGWb2a5wXPN0z2R9+G1BJln1xrT+VDYZfxEx DBbhh7SYKOJRGcYuOCgYndHFo+gOquHnBl2CztfW11o6no6KDJrgRl9gRMovoVj88Pb8 by/zh/n4TnMmaAJdPhjgNSGQdjyhWaZdwc0loYdyzssoNdMny+Wz10i7B5YSJp/umX5u ZyCw== X-Gm-Message-State: ABy/qLYJariv615D8/V0e5Oyo+8MVSrzHA+O7KPcEMb8yBJIa/WUPeh2 iZVlCpqYyOS9D5td9FH6Yl+0Qg== X-Google-Smtp-Source: APBJJlEdV0G0y1a9Ie1Ud8CkuIhX4rGYpvbYdBYmnQe3S0XJ61PAyQlUCsBvEmEzaYesJ54UzAWjpQ== X-Received: by 2002:ac2:5e68:0:b0:4fb:845d:9e8f with SMTP id a8-20020ac25e68000000b004fb845d9e8fmr1114939lfr.53.1688642296658; Thu, 06 Jul 2023 04:18:16 -0700 (PDT) Received: from [192.168.1.101] (abyj26.neoplus.adsl.tpnet.pl. [83.9.29.26]) by smtp.gmail.com with ESMTPSA id er14-20020a05651248ce00b004fb844a03c7sm211188lfb.186.2023.07.06.04.18.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jul 2023 04:18:16 -0700 (PDT) Message-ID: Date: Thu, 6 Jul 2023 13:18:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 6/6] arm64: dts: qcom: sa8775p-ride: enable pcie nodes Content-Language: en-US To: Mrinmay Sarkar , agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mani@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Vinod Koul , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org References: <1688545032-17748-1-git-send-email-quic_msarkar@quicinc.com> <1688545032-17748-7-git-send-email-quic_msarkar@quicinc.com> From: Konrad Dybcio In-Reply-To: <1688545032-17748-7-git-send-email-quic_msarkar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5.07.2023 10:17, Mrinmay Sarkar wrote: > Enable pcie0, pcie1 nodes and their respective phy's. > > Signed-off-by: Mrinmay Sarkar > --- grep for '&[a-z0-9]\{' and please fix all missing spaces before the opening braces. Konrad > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 68 +++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > index ab767cfa51ff..4a39294259fe 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > @@ -443,6 +443,74 @@ qup_uart17_rx: qup0-uart17-rx-pins { > bias-pull-down; > }; > }; > + > + pcie0_default_state: pcie0-default { > + perst { > + pins = "gpio2"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + clkreq { > + pins = "gpio1"; > + function = "pcie0_clkreq"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + > + wake { > + pins = "gpio0"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + }; > + > + pcie1_default_state: pcie1-default { > + perst { > + pins = "gpio4"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + clkreq { > + pins = "gpio3"; > + function = "pcie1_clkreq"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + > + wake { > + pins = "gpio5"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + }; > +}; > + > +&pcie0{ > + status = "okay"; > +}; > + > +&pcie1{ > + status = "okay"; > +}; > + > +&pcie0_phy{ > + vdda-phy-supply = <&vreg_l5a>; > + vdda-pll-supply = <&vreg_l1c>; > + > + status = "okay"; > +}; > + > +&pcie1_phy{ > + vdda-phy-supply = <&vreg_l5a>; > + vdda-pll-supply = <&vreg_l1c>; > + > + status = "okay"; > }; > > &uart10 {