Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30353490rwd; Thu, 6 Jul 2023 04:53:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlGwjNhUaEfjUx04Kj09fCTjFKnzqCTShijVRXmxovMNo3GWsvvp+Dul0ThDz3rYuCYJqJBs X-Received: by 2002:a17:902:d4ca:b0:1b8:936f:c346 with SMTP id o10-20020a170902d4ca00b001b8936fc346mr7471416plg.30.1688644411181; Thu, 06 Jul 2023 04:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688644411; cv=none; d=google.com; s=arc-20160816; b=M0WJzp/SfMQQ+QtTw5ASg57JlfNSRxHNK5icBX0jt6892nF79ytN+GjCwBWHsF64zH c1cg53c49cbeG5nH4SB8Fjlj+GAFvikBXxRNRAyR3zREg0WK0SLHL7u2nmN6Qg/UVQwk tXYczv254iJPJob4LtK2cJw9tANP2Nx+GY/Xw9NOHcbk18HRWbliVZMtOH8dXIwuem7S KDnlI0dAFr4FSJU03QCxJ3pbrogdimj2mqB5mbtUIqEXOs/iyaxXw5jIYlr9LEZLnz/y K6jMs6cZ/LWfLHRZsJx8OXnEG+Im9hEm0MuMkzVlibDEcq0VsIoPJL6260ex1o1zSzDQ y/5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=2TBZJkcS0xaN6VJinb4rdEWKvi8fXW3P7v3shc5NZsI=; fh=bYrYSZHjNMt3rR1mkx8LuAlSC8iog/m06R7fPJYgZ6w=; b=QuTrSSme4bjkpkLLmARpTJ30L2e2AEOycR6pE55LIqR4uIggEbaypEBltfgiqpow5f 3iIPcUqU8u+TAKdb3Z/ZBOL1h4FGwuKln0CdKcenYiIXW8oRmGDjokar3A9NptUx/bi/ oSfF7ALGbr/Jh1IHeCYdAB1RcUNclsF8spolrICI2FTu78Lwu+5zoQaEAxU6tCGTZW48 XThWqKUZ/0JTVxU8whY3lOa+5icJ0PqyGlyDKDWsuu8ISWAHPDA8OR7o00cSU0Dq3e+K Xn0JKIhC+n9Co6lj/F7ef7uP1TMdqoLlafPwaZq20DvoKr6lW6VQ6Wc0YEkqA1f5/UEk aOnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hcwgCj8V; 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 u30-20020a63471e000000b00553ce421356si1335717pga.56.2023.07.06.04.53.17; Thu, 06 Jul 2023 04:53:31 -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=@linaro.org header.s=google header.b=hcwgCj8V; 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 S231954AbjGFLSV (ORCPT + 99 others); Thu, 6 Jul 2023 07:18:21 -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-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 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 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 {