From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Rohit Agarwal <quic_rohiagar@quicinc.com>,
agross@kernel.org, andersson@kernel.org,
konrad.dybcio@linaro.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
Subject: Re: [PATCH 3/6] ARM: dts: qcom: sdx65: Add support for PCIe PHY
Date: Mon, 6 Mar 2023 10:41:12 +0200 [thread overview]
Message-ID: <302654ee-3ecb-2274-af1a-9b58f7d0f49d@linaro.org> (raw)
In-Reply-To: <1678080302-29691-4-git-send-email-quic_rohiagar@quicinc.com>
On 06/03/2023 07:24, Rohit Agarwal wrote:
> Add devicetree support for PCIe PHY used in SDX65 platform. This PHY is
> used by the PCIe EP controller.
>
> Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
> ---
> arch/arm/boot/dts/qcom-sdx65.dtsi | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi
> index b073e0c..246290d 100644
> --- a/arch/arm/boot/dts/qcom-sdx65.dtsi
> +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi
> @@ -292,6 +292,38 @@
> status = "disabled";
> };
>
> + pcie0_phy: phy@1c07000 {
> + compatible = "qcom,sdx65-qmp-pcie-phy";
> + reg = <0x01c07000 0x1e4>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> + clocks = <&gcc GCC_PCIE_AUX_PHY_CLK_SRC>,
> + <&gcc GCC_PCIE_CFG_AHB_CLK>,
> + <&gcc GCC_PCIE_0_CLKREF_EN>,
> + <&gcc GCC_PCIE_RCHNG_PHY_CLK>;
> + clock-names = "aux", "cfg_ahb", "ref", "refgen";
> +
> + resets = <&gcc GCC_PCIE_PHY_BCR>;
> + reset-names = "phy";
> + assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>;
> + assigned-clock-rates = <100000000>;
> + status = "disabled";
> +
> + pcie0_lane: lanes@1c06000 {
Please use new style bindings found in qcom,sc8280xp-qmp-pcie-phy.yaml
> + reg = <0x01c06000 0xf0>, /* tx0 */
> + <0x01c06200 0x2f0>, /* rx0 */
> + <0x01c07200 0x1e8>, /* pcs */
> + <0x01c06800 0xf0>, /* tx1 */
> + <0x01c06a00 0x2f0>, /* rx1 */
> + <0x01c07400 0xc00>; /* pcs_misc */
> + clocks = <&gcc GCC_PCIE_PIPE_CLK>;
> + clock-names = "pipe0";
> + #phy-cells = <0>;
> + clock-output-names = "pcie_pipe_clk";
> + };
> + };
> +
> tcsr_mutex: hwlock@1f40000 {
> compatible = "qcom,tcsr-mutex";
> reg = <0x01f40000 0x40000>;
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-03-06 8:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 5:24 [PATCH 0/6] Add PCIe EP support for SDX65 Rohit Agarwal
2023-03-06 5:24 ` [PATCH 1/6] dt-bindings: mfd: qcom,tcsr: Add compatible for sdx65 Rohit Agarwal
2023-03-06 7:23 ` Krzysztof Kozlowski
2023-03-06 5:24 ` [PATCH 2/6] dt-bindings: PCI: qcom: Add SDX65 SoC Rohit Agarwal
2023-03-06 7:24 ` Krzysztof Kozlowski
2023-03-06 5:24 ` [PATCH 3/6] ARM: dts: qcom: sdx65: Add support for PCIe PHY Rohit Agarwal
2023-03-06 8:41 ` Dmitry Baryshkov [this message]
2023-03-06 15:13 ` Rohit Agarwal
2023-03-06 5:25 ` [PATCH 4/6] ARM: dts: qcom: sdx65: Add support for PCIe EP Rohit Agarwal
2023-03-06 10:33 ` Konrad Dybcio
2023-03-06 5:25 ` [PATCH 5/6] ARM: dts: qcom: sdx65-mtp: Enable PCIE0 PHY Rohit Agarwal
2023-03-06 10:30 ` Konrad Dybcio
2023-03-06 15:14 ` Rohit Agarwal
2023-03-06 5:25 ` [PATCH 6/6] ARM: dts: qcom: sdx65-mtp: Enable PCIe EP Rohit Agarwal
2023-03-06 10:32 ` Konrad Dybcio
2023-03-06 15:16 ` Rohit Agarwal
2023-03-07 8:58 ` kernel test robot
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=302654ee-3ecb-2274-af1a-9b58f7d0f49d@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kw@linux.com \
--cc=lee@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=quic_rohiagar@quicinc.com \
--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