Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4384678rwl; Tue, 28 Mar 2023 06:33:14 -0700 (PDT) X-Google-Smtp-Source: AKy350ZA5YbLnKL/UprkTlGtVcfLxXj47psE2bVOLfRY6VKwxI1Wk5xsauU/pT3pIjzpgW4m8iw4 X-Received: by 2002:a17:906:da07:b0:931:6b2b:a671 with SMTP id fi7-20020a170906da0700b009316b2ba671mr16524106ejb.65.1680010394699; Tue, 28 Mar 2023 06:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680010394; cv=none; d=google.com; s=arc-20160816; b=FgWn9dSEmzxzOOAueSNgSlbDbCDE7V0mWRrAuoEAoii9mbtqb9QAwodceXHJM4Wjmz vJheqBw7tlYaTdpg4UMGawWBT4JkeLgiixxunnjjUdwW3nmCQjIY8KLmWkxVpoJxtTJR zEO8P5onlCRfVauBPapCLADvXXzZpvh9eW3H68d5cSCsCfIj/2ywX32oe7f46AZtppbq Eh9gksG52oyAmAorybruwbkIKjJgkg8MvkH4ispvRMsrbrNmB3Z84EUB2hmbU5UIYIsl zprbTOR5iIrXhCLvO5770ygnFa7+L7uDm1e22xuLc6uxggmOkHytisa88iA0AAQ+jAiP Zy2Q== 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=gg3lYt3KoE0McrcY8uu+tDhI/9yJmtbZP7QMSYflkEI=; b=fT8AfLsqKzw2izrNU2iuYOAgs0zjoHY5V01c9e1CTbVBHKCarlwiW4ujgUqCsATfVu po7pdQ5b9jxxjBJTBmY0uH5ZXU7Ea3krUcx1f5oKn4Rjob4brVqJ1AIRQPaUFUF9ma3o R2gtD96FARGFwqCnzcKkGxUXxcnQsKQkaph2WHfusDZ5txkhXrMcMwIr7rWVHEsIHTRt ivBl+wJ9yCUrT4tqMFLttAruaq6zeBdB8kBqmKH6jBmN/hjnMX6vS4UNIwuDKiVi8aiD T2kHNox4oW+b3ZT9d3GMeChUw7tD3g3rfX7CDEGWXpA8e7AGgqfO8kYx11AzWAwGg5Lj hfyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=neLigaJN; 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 d9-20020aa7ce09000000b004acc68db144si31364845edv.295.2023.03.28.06.32.49; Tue, 28 Mar 2023 06:33:14 -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=neLigaJN; 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 S233102AbjC1Nbp (ORCPT + 99 others); Tue, 28 Mar 2023 09:31:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233158AbjC1Nbd (ORCPT ); Tue, 28 Mar 2023 09:31:33 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 422E3C16A for ; Tue, 28 Mar 2023 06:30:57 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id o20so9641908ljp.3 for ; Tue, 28 Mar 2023 06:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680010252; 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=gg3lYt3KoE0McrcY8uu+tDhI/9yJmtbZP7QMSYflkEI=; b=neLigaJNs85v4HvccLAiYFw9i2EX7oanTtSYEnArUPiRtPWURytpUJEi/KgC0H/29s tIoxohaT5snQhHDmAD8EtUklkhTviBuCe0snughWBEZsdPchExAlvrK1StVKMdRu09tr weg0tMgGCSkqpoM0vose++I/9f21NiP+8VqeE0LmDfcO2gTC7+xlYJfp0J2U3XYwZSAU ZTcWY4+8dTpsr745bggmocREbA3MuGw1cgPVNEYRowkxbmv/whS4hHZEb2DrbZuUwOoL +j/w8YMVyTRRlbA0zajHsKA+HAn1S+1diuAWGT4MEoWVfsl97dY1E+tGp6rOySMlMMnj P/Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680010252; 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=gg3lYt3KoE0McrcY8uu+tDhI/9yJmtbZP7QMSYflkEI=; b=nmfO1NU93X6qbTGpvjbQa/fb9DoDR2jfEid4rFLgidyd5Dav//byE6tiwTDZpCjJEK eahFnjKx0nKaCj4vsev6iCE9rMpaHX1WMgC7Sj4RsBshU33Sh6jXmHL6VaZByjZq4TKM 1MzKFI44Z4ThKmQ7mcwEc29CD1GYMURpOq8b/HYgVex/bOYE021ifmNk1fvT+SSvHMXP coG19spIvpeey7nvMst4uUFxSVy6ma8GTKfVuJtFQKaDNp5x7zZ7h90W2fuiJylxHX5o +U8uzEmV3KDRPUWl+3A+spOGAV46nlExcxGzt/Foew4dxsKV28RVuox/mvkRLpEhlzdd /7Iw== X-Gm-Message-State: AAQBX9cJCrBD0Ao1/fu0ru+vXI6xii9xArZtZuw4kMtEBvS1XnUeFnHV 4JLLmCZ4f6xItpR8RrqSVHu9aQ== X-Received: by 2002:a2e:9e83:0:b0:293:52f5:2957 with SMTP id f3-20020a2e9e83000000b0029352f52957mr5142979ljk.5.1680010252658; Tue, 28 Mar 2023 06:30:52 -0700 (PDT) Received: from [192.168.1.101] (abxj225.neoplus.adsl.tpnet.pl. [83.9.3.225]) by smtp.gmail.com with ESMTPSA id c1-20020a2e6801000000b002a421ac8629sm1678069lja.49.2023.03.28.06.30.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 06:30:52 -0700 (PDT) Message-ID: Date: Tue, 28 Mar 2023 15:30:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v4 5/5] ARM: dts: qcom: sdx65-mtp: Enable PCIe EP Content-Language: en-US To: Rohit Agarwal , agross@kernel.org, andersson@kernel.org, lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mani@kernel.org, lpieralisi@kernel.org, kw@linux.com, bhelgaas@google.com, manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <1679036039-27157-1-git-send-email-quic_rohiagar@quicinc.com> <1679036039-27157-6-git-send-email-quic_rohiagar@quicinc.com> From: Konrad Dybcio In-Reply-To: <1679036039-27157-6-git-send-email-quic_rohiagar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 17.03.2023 07:53, Rohit Agarwal wrote: > Enable PCIe Endpoint controller on the SDX65 MTP board based > on Qualcomm SDX65 platform. > > Signed-off-by: Rohit Agarwal > --- > arch/arm/boot/dts/qcom-sdx65-mtp.dts | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-sdx65-mtp.dts b/arch/arm/boot/dts/qcom-sdx65-mtp.dts > index 70720e6..afe970a 100644 > --- a/arch/arm/boot/dts/qcom-sdx65-mtp.dts > +++ b/arch/arm/boot/dts/qcom-sdx65-mtp.dts > @@ -245,6 +245,17 @@ > status = "okay"; > }; > > +&pcie_ep { > + pinctrl-0 = <&pcie_ep_clkreq_default &pcie_ep_perst_default > + &pcie_ep_wake_default>; This seems misaligned, the &s should be one below another But other than that: Reviewed-by: Konrad Dybcio Konrad > + pinctrl-names = "default"; > + > + reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; > + wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; > + > + status = "okay"; > +}; > + > &pcie_phy { > vdda-phy-supply = <&vreg_l1b_1p2>; > vdda-pll-supply = <&vreg_l4b_0p88>; > @@ -277,6 +288,29 @@ > status = "okay"; > }; > > +&tlmm { > + pcie_ep_clkreq_default: pcie-ep-clkreq-default-state { > + pins = "gpio56"; > + function = "pcie_clkreq"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + pcie_ep_perst_default: pcie-ep-perst-default-state { > + pins = "gpio57"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + pcie_ep_wake_default: pcie-ep-wake-default-state { > + pins = "gpio53"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + }; > +}; > + > &usb { > status = "okay"; > };