devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 5/5] arm64: dts: qcom: sdm845-mtp: enable PCIe support
Date: Sat, 26 Aug 2023 11:02:24 +0200	[thread overview]
Message-ID: <1b36a23d-801c-4f21-9c3f-164ba3e5f92d@linaro.org> (raw)
In-Reply-To: <20230825220854.1655162-5-dmitry.baryshkov@linaro.org>

On 26.08.2023 00:08, Dmitry Baryshkov wrote:
> Enable two PCIe hosts support on Qualcomm SDM845 MTP board.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 81 +++++++++++++++++++++++++
>  1 file changed, 81 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts
> index aec3f358d426..9fb41d2453c8 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts
> @@ -533,6 +533,36 @@ &mss_pil {
>  	firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mbn";
>  };
>  
> +&pcie0 {
> +	status = "okay";
last

> +	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
> +
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pcie0_default_state>;
flip

[...]

> +	pcie0_default_state: pcie0-default-state {
> +		clkreq-pins {
> +			pins = "gpio36";
> +			function = "pci_e0";
> +			bias-pull-up;
> +		};
> +
> +		perst-n-pins {
> +			pins = "gpio35";
> +			function = "gpio";
> +
> +			drive-strength = <2>;
drop newline

> +			output-low;
> +			bias-pull-down;
flip

Konrad

      reply	other threads:[~2023-08-26  9:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 22:08 [PATCH 1/5] arm64: dts: qcom: sdm845-mtp: fix WiFi configuration Dmitry Baryshkov
2023-08-25 22:08 ` [PATCH 2/5] arm64: dts: qcom: sdm845-mtp: specify wifi variant Dmitry Baryshkov
2023-08-25 22:08 ` [PATCH 3/5] arm64: dts: qcom: sdm845-mtp: switch to mbn firmware Dmitry Baryshkov
2023-08-26  9:00   ` Konrad Dybcio
2023-08-26 13:57     ` Dmitry Baryshkov
2023-08-26 14:01       ` Konrad Dybcio
2023-08-25 22:08 ` [PATCH 4/5] arm64: dts: qcom: sdm845-mtp: enable Vol-/reset button Dmitry Baryshkov
2023-08-26  9:01   ` Konrad Dybcio
2023-08-25 22:08 ` [PATCH 5/5] arm64: dts: qcom: sdm845-mtp: enable PCIe support Dmitry Baryshkov
2023-08-26  9:02   ` Konrad Dybcio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1b36a23d-801c-4f21-9c3f-164ba3e5f92d@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).